diff --git a/international401/Dependencies.toml b/international401/Dependencies.toml index cd47817a..cac9a6fd 100644 --- a/international401/Dependencies.toml +++ b/international401/Dependencies.toml @@ -5,7 +5,7 @@ [ballerina] dependencies-toml-version = "2" -distribution-version = "2201.12.2" +distribution-version = "2201.12.8" [[package]] org = "ballerina" @@ -53,7 +53,7 @@ dependencies = [ [[package]] org = "ballerina" name = "data.jsondata" -version = "1.1.0" +version = "1.1.1" dependencies = [ {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "lang.object"} @@ -73,7 +73,7 @@ dependencies = [ [[package]] org = "ballerina" name = "http" -version = "2.14.2" +version = "2.14.5" dependencies = [ {org = "ballerina", name = "auth"}, {org = "ballerina", name = "cache"}, @@ -230,7 +230,7 @@ dependencies = [ [[package]] org = "ballerina" name = "oauth2" -version = "2.14.0" +version = "2.14.1" dependencies = [ {org = "ballerina", name = "cache"}, {org = "ballerina", name = "crypto"}, diff --git a/international401/Package.md b/international401/Package.md index b90d87f2..56f5c825 100644 --- a/international401/Package.md +++ b/international401/Package.md @@ -1,5 +1,5 @@ Ballerina package containing FHIR resource data models -compliant with http://hl7.org/fhir/ implementation guide. +compliant with http://hl7.org/fhir/R4/ implementation guide. # FHIR R4 International package @@ -8,7 +8,7 @@ compliant with http://hl7.org/fhir/ implementation guide. | | | |----------------------|----------------------| | FHIR version | R4 | -| Implementation Guide | http://hl7.org/fhir/ | +| Implementation Guide | http://hl7.org/fhir/R4/ | **Note:** @@ -38,33 +38,33 @@ compliant with http://hl7.org/fhir/ implementation guide. | 16). Medication | [[Definition]][s16] [[Ballerina Record]][m16] | | 17). Measure | [[Definition]][s17] [[Ballerina Record]][m17] | | 18). ResearchSubject | [[Definition]][s18] [[Ballerina Record]][m18] | -| 19). Family_member_history_for_genetics_analysis | [[Definition]][s19] [[Ballerina Record]][m19] | +| 19). Familymemberhistoryforgeneticsanalysis | [[Definition]][s19] [[Ballerina Record]][m19] | | 20). Subscription | [[Definition]][s20] [[Ballerina Record]][m20] | | 21). GraphDefinition | [[Definition]][s21] [[Ballerina Record]][m21] | | 22). DocumentReference | [[Definition]][s22] [[Ballerina Record]][m22] | -| 23). Shareable_Library | [[Definition]][s23] [[Ballerina Record]][m23] | +| 23). ShareableLibrary | [[Definition]][s23] [[Ballerina Record]][m23] | | 24). Parameters | [[Definition]][s24] [[Ballerina Record]][m24] | | 25). CoverageEligibilityResponse | [[Definition]][s25] [[Ballerina Record]][m25] | | 26). MeasureReport | [[Definition]][s26] [[Ballerina Record]][m26] | -| 27). Actual_Group | [[Definition]][s27] [[Ballerina Record]][m27] | +| 27). ActualGroup | [[Definition]][s27] [[Ballerina Record]][m27] | | 28). SubstanceReferenceInformation | [[Definition]][s28] [[Ballerina Record]][m28] | | 29). PractitionerRole | [[Definition]][s29] [[Ballerina Record]][m29] | | 30). RelatedPerson | [[Definition]][s30] [[Ballerina Record]][m30] | | 31). ServiceRequest | [[Definition]][s31] [[Ballerina Record]][m31] | | 32). SupplyRequest | [[Definition]][s32] [[Ballerina Record]][m32] | -| 33). Provenance_Relevant_History | [[Definition]][s33] [[Ballerina Record]][m33] | +| 33). ProvenanceRelevantHistory | [[Definition]][s33] [[Ballerina Record]][m33] | | 34). Practitioner | [[Definition]][s34] [[Ballerina Record]][m34] | | 35). VerificationResult | [[Definition]][s35] [[Ballerina Record]][m35] | -| 36). Group_Definition | [[Definition]][s36] [[Ballerina Record]][m36] | +| 36). GroupDefinition | [[Definition]][s36] [[Ballerina Record]][m36] | | 37). observation_bp | [[Definition]][s37] [[Ballerina Record]][m37] | | 38). SubstanceProtein | [[Definition]][s38] [[Ballerina Record]][m38] | | 39). BodyStructure | [[Definition]][s39] [[Ballerina Record]][m39] | -| 40). Shareable_PlanDefinition | [[Definition]][s40] [[Ballerina Record]][m40] | +| 40). ShareablePlanDefinition | [[Definition]][s40] [[Ballerina Record]][m40] | | 41). Slot | [[Definition]][s41] [[Ballerina Record]][m41] | | 42). Contract | [[Definition]][s42] [[Ballerina Record]][m42] | | 43). Person | [[Definition]][s43] [[Ballerina Record]][m43] | | 44). RiskAssessment | [[Definition]][s44] [[Ballerina Record]][m44] | -| 45). CDS_Hooks_Service_PlanDefinition | [[Definition]][s45] [[Ballerina Record]][m45] | +| 45). CDSHooksServicePlanDefinition | [[Definition]][s45] [[Ballerina Record]][m45] | | 46). Group | [[Definition]][s46] [[Ballerina Record]][m46] | | 47). ResearchDefinition | [[Definition]][s47] [[Ballerina Record]][m47] | | 48). PaymentNotice | [[Definition]][s48] [[Ballerina Record]][m48] | @@ -76,28 +76,28 @@ compliant with http://hl7.org/fhir/ implementation guide. | 54). ImagingStudy | [[Definition]][s54] [[Ballerina Record]][m54] | | 55). FamilyMemberHistory | [[Definition]][s55] [[Ballerina Record]][m55] | | 56). ChargeItem | [[Definition]][s56] [[Ballerina Record]][m56] | -| 57). EHRS_FM_Record_Lifecycle_Event___Audit_Event | [[Definition]][s57] [[Ballerina Record]][m57] | +| 57). EHRSFMRecordLifecycleEvent_AuditEvent | [[Definition]][s57] [[Ballerina Record]][m57] | | 58). ResearchElementDefinition | [[Definition]][s58] [[Ballerina Record]][m58] | | 59). ObservationDefinition | [[Definition]][s59] [[Ballerina Record]][m59] | | 60). ServiceRequest_Genetics | [[Definition]][s60] [[Ballerina Record]][m60] | | 61). SubstanceSpecification | [[Definition]][s61] [[Ballerina Record]][m61] | | 62). Encounter | [[Definition]][s62] [[Ballerina Record]][m62] | | 63). Substance | [[Definition]][s63] [[Ballerina Record]][m63] | -| 64). Shareable_ActivityDefinition | [[Definition]][s64] [[Ballerina Record]][m64] | +| 64). ShareableActivityDefinition | [[Definition]][s64] [[Ballerina Record]][m64] | | 65). SearchParameter | [[Definition]][s65] [[Ballerina Record]][m65] | -| 66). Profile_for_HLA_Genotyping_Results | [[Definition]][s66] [[Ballerina Record]][m66] | +| 66). ProfileforHLAGenotypingResults | [[Definition]][s66] [[Ballerina Record]][m66] | | 67). Communication | [[Definition]][s67] [[Ballerina Record]][m67] | | 68). InsurancePlan | [[Definition]][s68] [[Ballerina Record]][m68] | | 69). ActivityDefinition | [[Definition]][s69] [[Ballerina Record]][m69] | -| 70). Example_Lipid_Profile | [[Definition]][s70] [[Ballerina Record]][m70] | +| 70). ExampleLipidProfile | [[Definition]][s70] [[Ballerina Record]][m70] | | 71). Linkage | [[Definition]][s71] [[Ballerina Record]][m71] | -| 72). EHRS_FM_Record_Lifecycle_Event___Provenance | [[Definition]][s72] [[Ballerina Record]][m72] | +| 72). EHRSFMRecordLifecycleEvent_Provenance | [[Definition]][s72] [[Ballerina Record]][m72] | | 73). Observation_genetics | [[Definition]][s73] [[Ballerina Record]][m73] | | 74). SubstanceSourceMaterial | [[Definition]][s74] [[Ballerina Record]][m74] | | 75). ImmunizationEvaluation | [[Definition]][s75] [[Ballerina Record]][m75] | | 76). observation_bodytemp | [[Definition]][s76] [[Ballerina Record]][m76] | | 77). DeviceUseStatement | [[Definition]][s77] [[Ballerina Record]][m77] | -| 78). Evidence_Synthesis_Profile | [[Definition]][s78] [[Ballerina Record]][m78] | +| 78). EvidenceSynthesisProfile | [[Definition]][s78] [[Ballerina Record]][m78] | | 79). RequestGroup | [[Definition]][s79] [[Ballerina Record]][m79] | | 80). MessageHeader | [[Definition]][s80] [[Ballerina Record]][m80] | | 81). DeviceRequest | [[Definition]][s81] [[Ballerina Record]][m81] | @@ -106,8 +106,8 @@ compliant with http://hl7.org/fhir/ implementation guide. | 84). Task | [[Definition]][s84] [[Ballerina Record]][m84] | | 85). Provenance | [[Definition]][s85] [[Ballerina Record]][m85] | | 86). Questionnaire | [[Definition]][s86] [[Ballerina Record]][m86] | -| 87). PICO_Element_Profile | [[Definition]][s87] [[Ballerina Record]][m87] | -| 88). Computable_PlanDefinition | [[Definition]][s88] [[Ballerina Record]][m88] | +| 87). PICOElementProfile | [[Definition]][s87] [[Ballerina Record]][m87] | +| 88). ComputablePlanDefinition | [[Definition]][s88] [[Ballerina Record]][m88] | | 89). ExplanationOfBenefit | [[Definition]][s89] [[Ballerina Record]][m89] | | 90). MedicinalProductPharmaceutical | [[Definition]][s90] [[Ballerina Record]][m90] | | 91). ResearchStudy | [[Definition]][s91] [[Ballerina Record]][m91] | @@ -121,21 +121,21 @@ compliant with http://hl7.org/fhir/ implementation guide. | 99). Procedure | [[Definition]][s99] [[Ballerina Record]][m99] | | 100). List | [[Definition]][s100] [[Ballerina Record]][m100] | | 101). ConceptMap | [[Definition]][s101] [[Ballerina Record]][m101] | -| 102). CDS_Hooks_RequestGroup | [[Definition]][s102] [[Ballerina Record]][m102] | +| 102). CDSHooksRequestGroup | [[Definition]][s102] [[Ballerina Record]][m102] | | 103). OperationDefinition | [[Definition]][s103] [[Ballerina Record]][m103] | | 104). Immunization | [[Definition]][s104] [[Ballerina Record]][m104] | | 105). MedicationRequest | [[Definition]][s105] [[Ballerina Record]][m105] | | 106). EffectEvidenceSynthesis | [[Definition]][s106] [[Ballerina Record]][m106] | | 107). BiologicallyDerivedProduct | [[Definition]][s107] [[Ballerina Record]][m107] | | 108). Device | [[Definition]][s108] [[Ballerina Record]][m108] | -| 109). Shareable_Measure | [[Definition]][s109] [[Ballerina Record]][m109] | +| 109). ShareableMeasure | [[Definition]][s109] [[Ballerina Record]][m109] | | 110). VisionPrescription | [[Definition]][s110] [[Ballerina Record]][m110] | | 111). Media | [[Definition]][s111] [[Ballerina Record]][m111] | | 112). MedicinalProductContraindication | [[Definition]][s112] [[Ballerina Record]][m112] | | 113). MolecularSequence | [[Definition]][s113] [[Ballerina Record]][m113] | | 114). EvidenceVariable | [[Definition]][s114] [[Ballerina Record]][m114] | | 115). MedicinalProduct | [[Definition]][s115] [[Ballerina Record]][m115] | -| 116). Clinical_Document | [[Definition]][s116] [[Ballerina Record]][m116] | +| 116). ClinicalDocument | [[Definition]][s116] [[Ballerina Record]][m116] | | 117). DeviceMetric | [[Definition]][s117] [[Ballerina Record]][m117] | | 118). observation_headcircum | [[Definition]][s118] [[Ballerina Record]][m118] | | 119). Flag | [[Definition]][s119] [[Ballerina Record]][m119] | @@ -143,10 +143,10 @@ compliant with http://hl7.org/fhir/ implementation guide. | 121). RiskEvidenceSynthesis | [[Definition]][s121] [[Ballerina Record]][m121] | | 122). observation_vitalsigns | [[Definition]][s122] [[Ballerina Record]][m122] | | 123). AppointmentResponse | [[Definition]][s123] [[Ballerina Record]][m123] | -| 124). Device_Metric_Observation_Profile | [[Definition]][s124] [[Ballerina Record]][m124] | +| 124). DeviceMetricObservationProfile | [[Definition]][s124] [[Ballerina Record]][m124] | | 125). StructureMap | [[Definition]][s125] [[Ballerina Record]][m125] | | 126). AdverseEvent | [[Definition]][s126] [[Ballerina Record]][m126] | -| 127). CQL_Library | [[Definition]][s127] [[Ballerina Record]][m127] | +| 127). CQLLibrary | [[Definition]][s127] [[Ballerina Record]][m127] | | 128). GuidanceResponse | [[Definition]][s128] [[Ballerina Record]][m128] | | 129). DiagnosticReport_Genetics | [[Definition]][s129] [[Ballerina Record]][m129] | | 130). Observation | [[Definition]][s130] [[Ballerina Record]][m130] | @@ -168,10 +168,10 @@ compliant with http://hl7.org/fhir/ implementation guide. | 146). OrganizationAffiliation | [[Definition]][s146] [[Ballerina Record]][m146] | | 147). HealthcareService | [[Definition]][s147] [[Ballerina Record]][m147] | | 148). MedicinalProductIndication | [[Definition]][s148] [[Ballerina Record]][m148] | -| 149). Profile_for_Catalog | [[Definition]][s149] [[Ballerina Record]][m149] | +| 149). ProfileforCatalog | [[Definition]][s149] [[Ballerina Record]][m149] | | 150). NutritionOrder | [[Definition]][s150] [[Ballerina Record]][m150] | | 151). TerminologyCapabilities | [[Definition]][s151] [[Ballerina Record]][m151] | -| 152). CDS_Hooks_GuidanceResponse | [[Definition]][s152] [[Ballerina Record]][m152] | +| 152). CDSHooksGuidanceResponse | [[Definition]][s152] [[Ballerina Record]][m152] | | 153). Evidence | [[Definition]][s153] [[Ballerina Record]][m153] | | 154). AuditEvent | [[Definition]][s154] [[Ballerina Record]][m154] | | 155). PaymentReconciliation | [[Definition]][s155] [[Ballerina Record]][m155] | @@ -200,362 +200,362 @@ compliant with http://hl7.org/fhir/ implementation guide. | 178). Claim | [[Definition]][s178] [[Ballerina Record]][m178] | | 179). Location | [[Definition]][s179] [[Ballerina Record]][m179] | -[m1]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Appointment -[m2]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Account -[m3]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Invoice -[m4]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CatalogEntry -[m5]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_bodyheight -[m6]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EventDefinition -[m7]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_heartrate -[m8]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DocumentManifest -[m9]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MessageDefinition -[m10]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Goal -[m11]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductPackaged -[m12]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Endpoint -[m13]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EnrollmentRequest -[m14]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Consent -[m15]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CapabilityStatement -[m16]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Medication -[m17]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Measure -[m18]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ResearchSubject -[m19]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Family_member_history_for_genetics_analysis -[m20]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Subscription -[m21]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#GraphDefinition -[m22]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DocumentReference -[m23]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Shareable_Library -[m24]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Parameters -[m25]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CoverageEligibilityResponse -[m26]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MeasureReport -[m27]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Actual_Group -[m28]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SubstanceReferenceInformation -[m29]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#PractitionerRole -[m30]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#RelatedPerson -[m31]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ServiceRequest -[m32]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SupplyRequest -[m33]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Provenance_Relevant_History -[m34]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Practitioner -[m35]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#VerificationResult -[m36]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Group_Definition -[m37]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_bp -[m38]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SubstanceProtein -[m39]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#BodyStructure -[m40]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Shareable_PlanDefinition -[m41]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Slot -[m42]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Contract -[m43]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Person -[m44]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#RiskAssessment -[m45]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CDS_Hooks_Service_PlanDefinition -[m46]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Group -[m47]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ResearchDefinition -[m48]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#PaymentNotice -[m49]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductManufactured -[m50]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Organization -[m51]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ImplementationGuide -[m52]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CareTeam -[m53]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_vitalspanel -[m54]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ImagingStudy -[m55]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#FamilyMemberHistory -[m56]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ChargeItem -[m57]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EHRS_FM_Record_Lifecycle_Event___Audit_Event -[m58]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ResearchElementDefinition -[m59]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ObservationDefinition -[m60]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ServiceRequest_Genetics -[m61]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SubstanceSpecification -[m62]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Encounter -[m63]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Substance -[m64]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Shareable_ActivityDefinition -[m65]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SearchParameter -[m66]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Profile_for_HLA_Genotyping_Results -[m67]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Communication -[m68]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#InsurancePlan -[m69]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ActivityDefinition -[m70]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Example_Lipid_Profile -[m71]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Linkage -[m72]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EHRS_FM_Record_Lifecycle_Event___Provenance -[m73]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Observation_genetics -[m74]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SubstanceSourceMaterial -[m75]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ImmunizationEvaluation -[m76]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_bodytemp -[m77]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DeviceUseStatement -[m78]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Evidence_Synthesis_Profile -[m79]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#RequestGroup -[m80]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MessageHeader -[m81]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DeviceRequest -[m82]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ImmunizationRecommendation -[m83]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_oxygensat -[m84]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Task -[m85]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Provenance -[m86]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Questionnaire -[m87]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#PICO_Element_Profile -[m88]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Computable_PlanDefinition -[m89]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ExplanationOfBenefit -[m90]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductPharmaceutical -[m91]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ResearchStudy -[m92]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Specimen -[m93]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CarePlan -[m94]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#AllergyIntolerance -[m95]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#StructureDefinition -[m96]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ChargeItemDefinition -[m97]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EpisodeOfCare -[m98]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CQF_Questionnaire -[m99]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Procedure -[m100]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#List -[m101]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ConceptMap -[m102]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CDS_Hooks_RequestGroup -[m103]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#OperationDefinition -[m104]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Immunization -[m105]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicationRequest -[m106]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EffectEvidenceSynthesis -[m107]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#BiologicallyDerivedProduct -[m108]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Device -[m109]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Shareable_Measure -[m110]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#VisionPrescription -[m111]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Media -[m112]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductContraindication -[m113]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MolecularSequence -[m114]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EvidenceVariable -[m115]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProduct -[m116]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Clinical_Document -[m117]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DeviceMetric -[m118]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_headcircum -[m119]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Flag -[m120]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SubstanceNucleicAcid -[m121]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#RiskEvidenceSynthesis -[m122]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_vitalsigns -[m123]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#AppointmentResponse -[m124]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Device_Metric_Observation_Profile -[m125]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#StructureMap -[m126]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#AdverseEvent -[m127]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CQL_Library -[m128]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#GuidanceResponse -[m129]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DiagnosticReport_Genetics -[m130]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Observation -[m131]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicationAdministration -[m132]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EnrollmentResponse -[m133]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Library -[m134]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Binary -[m135]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductInteraction -[m136]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicationStatement -[m137]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CommunicationRequest -[m138]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#TestScript -[m139]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SubstancePolymer -[m140]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Basic -[m141]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#TestReport -[m142]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ClaimResponse -[m143]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicationDispense -[m144]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_bodyweight -[m145]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DiagnosticReport -[m146]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#OrganizationAffiliation -[m147]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#HealthcareService -[m148]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductIndication -[m149]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Profile_for_Catalog -[m150]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#NutritionOrder -[m151]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#TerminologyCapabilities -[m152]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CDS_Hooks_GuidanceResponse -[m153]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Evidence -[m154]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#AuditEvent -[m155]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#PaymentReconciliation -[m156]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Condition -[m157]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SpecimenDefinition -[m158]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Composition -[m159]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DetectedIssue -[m160]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CompartmentDefinition -[m161]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductIngredient -[m162]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicationKnowledge -[m163]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Patient -[m164]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Coverage -[m165]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#QuestionnaireResponse -[m166]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CoverageEligibilityRequest -[m167]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#NamingSystem -[m168]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductUndesirableEffect -[m169]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ExampleScenario -[m170]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_resprate -[m171]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SupplyDelivery -[m172]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Schedule -[m173]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DeviceDefinition -[m174]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ClinicalImpression -[m175]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#PlanDefinition -[m176]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductAuthorization -[m177]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_bmi -[m178]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Claim -[m179]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Location +[m1]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Appointment +[m2]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Account +[m3]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Invoice +[m4]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CatalogEntry +[m5]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_bodyheight +[m6]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EventDefinition +[m7]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_heartrate +[m8]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DocumentManifest +[m9]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MessageDefinition +[m10]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Goal +[m11]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductPackaged +[m12]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Endpoint +[m13]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EnrollmentRequest +[m14]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Consent +[m15]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CapabilityStatement +[m16]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Medication +[m17]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Measure +[m18]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ResearchSubject +[m19]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Familymemberhistoryforgeneticsanalysis +[m20]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Subscription +[m21]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#GraphDefinition +[m22]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DocumentReference +[m23]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ShareableLibrary +[m24]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Parameters +[m25]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CoverageEligibilityResponse +[m26]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MeasureReport +[m27]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ActualGroup +[m28]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SubstanceReferenceInformation +[m29]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#PractitionerRole +[m30]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#RelatedPerson +[m31]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ServiceRequest +[m32]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SupplyRequest +[m33]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ProvenanceRelevantHistory +[m34]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Practitioner +[m35]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#VerificationResult +[m36]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#GroupDefinition +[m37]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_bp +[m38]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SubstanceProtein +[m39]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#BodyStructure +[m40]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ShareablePlanDefinition +[m41]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Slot +[m42]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Contract +[m43]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Person +[m44]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#RiskAssessment +[m45]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CDSHooksServicePlanDefinition +[m46]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Group +[m47]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ResearchDefinition +[m48]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#PaymentNotice +[m49]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductManufactured +[m50]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Organization +[m51]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ImplementationGuide +[m52]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CareTeam +[m53]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_vitalspanel +[m54]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ImagingStudy +[m55]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#FamilyMemberHistory +[m56]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ChargeItem +[m57]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EHRSFMRecordLifecycleEvent_AuditEvent +[m58]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ResearchElementDefinition +[m59]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ObservationDefinition +[m60]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ServiceRequest_Genetics +[m61]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SubstanceSpecification +[m62]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Encounter +[m63]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Substance +[m64]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ShareableActivityDefinition +[m65]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SearchParameter +[m66]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ProfileforHLAGenotypingResults +[m67]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Communication +[m68]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#InsurancePlan +[m69]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ActivityDefinition +[m70]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ExampleLipidProfile +[m71]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Linkage +[m72]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EHRSFMRecordLifecycleEvent_Provenance +[m73]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Observation_genetics +[m74]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SubstanceSourceMaterial +[m75]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ImmunizationEvaluation +[m76]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_bodytemp +[m77]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DeviceUseStatement +[m78]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EvidenceSynthesisProfile +[m79]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#RequestGroup +[m80]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MessageHeader +[m81]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DeviceRequest +[m82]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ImmunizationRecommendation +[m83]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_oxygensat +[m84]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Task +[m85]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Provenance +[m86]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Questionnaire +[m87]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#PICOElementProfile +[m88]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ComputablePlanDefinition +[m89]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ExplanationOfBenefit +[m90]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductPharmaceutical +[m91]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ResearchStudy +[m92]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Specimen +[m93]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CarePlan +[m94]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#AllergyIntolerance +[m95]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#StructureDefinition +[m96]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ChargeItemDefinition +[m97]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EpisodeOfCare +[m98]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CQF_Questionnaire +[m99]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Procedure +[m100]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#List +[m101]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ConceptMap +[m102]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CDSHooksRequestGroup +[m103]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#OperationDefinition +[m104]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Immunization +[m105]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicationRequest +[m106]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EffectEvidenceSynthesis +[m107]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#BiologicallyDerivedProduct +[m108]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Device +[m109]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ShareableMeasure +[m110]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#VisionPrescription +[m111]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Media +[m112]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductContraindication +[m113]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MolecularSequence +[m114]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EvidenceVariable +[m115]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProduct +[m116]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ClinicalDocument +[m117]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DeviceMetric +[m118]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_headcircum +[m119]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Flag +[m120]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SubstanceNucleicAcid +[m121]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#RiskEvidenceSynthesis +[m122]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_vitalsigns +[m123]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#AppointmentResponse +[m124]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DeviceMetricObservationProfile +[m125]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#StructureMap +[m126]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#AdverseEvent +[m127]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CQLLibrary +[m128]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#GuidanceResponse +[m129]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DiagnosticReport_Genetics +[m130]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Observation +[m131]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicationAdministration +[m132]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EnrollmentResponse +[m133]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Library +[m134]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Binary +[m135]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductInteraction +[m136]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicationStatement +[m137]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CommunicationRequest +[m138]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#TestScript +[m139]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SubstancePolymer +[m140]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Basic +[m141]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#TestReport +[m142]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ClaimResponse +[m143]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicationDispense +[m144]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_bodyweight +[m145]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DiagnosticReport +[m146]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#OrganizationAffiliation +[m147]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#HealthcareService +[m148]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductIndication +[m149]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ProfileforCatalog +[m150]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#NutritionOrder +[m151]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#TerminologyCapabilities +[m152]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CDSHooksGuidanceResponse +[m153]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Evidence +[m154]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#AuditEvent +[m155]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#PaymentReconciliation +[m156]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Condition +[m157]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SpecimenDefinition +[m158]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Composition +[m159]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DetectedIssue +[m160]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CompartmentDefinition +[m161]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductIngredient +[m162]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicationKnowledge +[m163]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Patient +[m164]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Coverage +[m165]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#QuestionnaireResponse +[m166]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CoverageEligibilityRequest +[m167]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#NamingSystem +[m168]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductUndesirableEffect +[m169]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ExampleScenario +[m170]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_resprate +[m171]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SupplyDelivery +[m172]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Schedule +[m173]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DeviceDefinition +[m174]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ClinicalImpression +[m175]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#PlanDefinition +[m176]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductAuthorization +[m177]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_bmi +[m178]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Claim +[m179]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Location -[s1]: http://hl7.org/fhir/StructureDefinition/Appointment -[s2]: http://hl7.org/fhir/StructureDefinition/Account -[s3]: http://hl7.org/fhir/StructureDefinition/Invoice -[s4]: http://hl7.org/fhir/StructureDefinition/CatalogEntry -[s5]: http://hl7.org/fhir/StructureDefinition/bodyheight -[s6]: http://hl7.org/fhir/StructureDefinition/EventDefinition -[s7]: http://hl7.org/fhir/StructureDefinition/heartrate -[s8]: http://hl7.org/fhir/StructureDefinition/DocumentManifest -[s9]: http://hl7.org/fhir/StructureDefinition/MessageDefinition -[s10]: http://hl7.org/fhir/StructureDefinition/Goal -[s11]: http://hl7.org/fhir/StructureDefinition/MedicinalProductPackaged -[s12]: http://hl7.org/fhir/StructureDefinition/Endpoint -[s13]: http://hl7.org/fhir/StructureDefinition/EnrollmentRequest -[s14]: http://hl7.org/fhir/StructureDefinition/Consent -[s15]: http://hl7.org/fhir/StructureDefinition/CapabilityStatement -[s16]: http://hl7.org/fhir/StructureDefinition/Medication -[s17]: http://hl7.org/fhir/StructureDefinition/Measure -[s18]: http://hl7.org/fhir/StructureDefinition/ResearchSubject -[s19]: http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic -[s20]: http://hl7.org/fhir/StructureDefinition/Subscription -[s21]: http://hl7.org/fhir/StructureDefinition/GraphDefinition -[s22]: http://hl7.org/fhir/StructureDefinition/DocumentReference -[s23]: http://hl7.org/fhir/StructureDefinition/shareablelibrary -[s24]: http://hl7.org/fhir/StructureDefinition/Parameters -[s25]: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse -[s26]: http://hl7.org/fhir/StructureDefinition/MeasureReport -[s27]: http://hl7.org/fhir/StructureDefinition/actualgroup -[s28]: http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation -[s29]: http://hl7.org/fhir/StructureDefinition/PractitionerRole -[s30]: http://hl7.org/fhir/StructureDefinition/RelatedPerson -[s31]: http://hl7.org/fhir/StructureDefinition/ServiceRequest -[s32]: http://hl7.org/fhir/StructureDefinition/SupplyRequest -[s33]: http://hl7.org/fhir/StructureDefinition/provenance-relevant-history -[s34]: http://hl7.org/fhir/StructureDefinition/Practitioner -[s35]: http://hl7.org/fhir/StructureDefinition/VerificationResult -[s36]: http://hl7.org/fhir/StructureDefinition/groupdefinition -[s37]: http://hl7.org/fhir/StructureDefinition/bp -[s38]: http://hl7.org/fhir/StructureDefinition/SubstanceProtein -[s39]: http://hl7.org/fhir/StructureDefinition/BodyStructure -[s40]: http://hl7.org/fhir/StructureDefinition/shareableplandefinition -[s41]: http://hl7.org/fhir/StructureDefinition/Slot -[s42]: http://hl7.org/fhir/StructureDefinition/Contract -[s43]: http://hl7.org/fhir/StructureDefinition/Person -[s44]: http://hl7.org/fhir/StructureDefinition/RiskAssessment -[s45]: http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition -[s46]: http://hl7.org/fhir/StructureDefinition/Group -[s47]: http://hl7.org/fhir/StructureDefinition/ResearchDefinition -[s48]: http://hl7.org/fhir/StructureDefinition/PaymentNotice -[s49]: http://hl7.org/fhir/StructureDefinition/MedicinalProductManufactured -[s50]: http://hl7.org/fhir/StructureDefinition/Organization -[s51]: http://hl7.org/fhir/StructureDefinition/ImplementationGuide -[s52]: http://hl7.org/fhir/StructureDefinition/CareTeam -[s53]: http://hl7.org/fhir/StructureDefinition/vitalspanel -[s54]: http://hl7.org/fhir/StructureDefinition/ImagingStudy -[s55]: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory -[s56]: http://hl7.org/fhir/StructureDefinition/ChargeItem -[s57]: http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent -[s58]: http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition -[s59]: http://hl7.org/fhir/StructureDefinition/ObservationDefinition -[s60]: http://hl7.org/fhir/StructureDefinition/servicerequest-genetics -[s61]: http://hl7.org/fhir/StructureDefinition/SubstanceSpecification -[s62]: http://hl7.org/fhir/StructureDefinition/Encounter -[s63]: http://hl7.org/fhir/StructureDefinition/Substance -[s64]: http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition -[s65]: http://hl7.org/fhir/StructureDefinition/SearchParameter -[s66]: http://hl7.org/fhir/StructureDefinition/hlaresult -[s67]: http://hl7.org/fhir/StructureDefinition/Communication -[s68]: http://hl7.org/fhir/StructureDefinition/InsurancePlan -[s69]: http://hl7.org/fhir/StructureDefinition/ActivityDefinition -[s70]: http://hl7.org/fhir/StructureDefinition/lipidprofile -[s71]: http://hl7.org/fhir/StructureDefinition/Linkage -[s72]: http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance -[s73]: http://hl7.org/fhir/StructureDefinition/observation-genetics -[s74]: http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial -[s75]: http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation -[s76]: http://hl7.org/fhir/StructureDefinition/bodytemp -[s77]: http://hl7.org/fhir/StructureDefinition/DeviceUseStatement -[s78]: http://hl7.org/fhir/StructureDefinition/synthesis -[s79]: http://hl7.org/fhir/StructureDefinition/RequestGroup -[s80]: http://hl7.org/fhir/StructureDefinition/MessageHeader -[s81]: http://hl7.org/fhir/StructureDefinition/DeviceRequest -[s82]: http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation -[s83]: http://hl7.org/fhir/StructureDefinition/oxygensat -[s84]: http://hl7.org/fhir/StructureDefinition/Task -[s85]: http://hl7.org/fhir/StructureDefinition/Provenance -[s86]: http://hl7.org/fhir/StructureDefinition/Questionnaire -[s87]: http://hl7.org/fhir/StructureDefinition/picoelement -[s88]: http://hl7.org/fhir/StructureDefinition/computableplandefinition -[s89]: http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit -[s90]: http://hl7.org/fhir/StructureDefinition/MedicinalProductPharmaceutical -[s91]: http://hl7.org/fhir/StructureDefinition/ResearchStudy -[s92]: http://hl7.org/fhir/StructureDefinition/Specimen -[s93]: http://hl7.org/fhir/StructureDefinition/CarePlan -[s94]: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance -[s95]: http://hl7.org/fhir/StructureDefinition/StructureDefinition -[s96]: http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition -[s97]: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare -[s98]: http://hl7.org/fhir/StructureDefinition/cqf-questionnaire -[s99]: http://hl7.org/fhir/StructureDefinition/Procedure -[s100]: http://hl7.org/fhir/StructureDefinition/List -[s101]: http://hl7.org/fhir/StructureDefinition/ConceptMap -[s102]: http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup -[s103]: http://hl7.org/fhir/StructureDefinition/OperationDefinition -[s104]: http://hl7.org/fhir/StructureDefinition/Immunization -[s105]: http://hl7.org/fhir/StructureDefinition/MedicationRequest -[s106]: http://hl7.org/fhir/StructureDefinition/EffectEvidenceSynthesis -[s107]: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct -[s108]: http://hl7.org/fhir/StructureDefinition/Device -[s109]: http://hl7.org/fhir/StructureDefinition/shareablemeasure -[s110]: http://hl7.org/fhir/StructureDefinition/VisionPrescription -[s111]: http://hl7.org/fhir/StructureDefinition/Media -[s112]: http://hl7.org/fhir/StructureDefinition/MedicinalProductContraindication -[s113]: http://hl7.org/fhir/StructureDefinition/MolecularSequence -[s114]: http://hl7.org/fhir/StructureDefinition/EvidenceVariable -[s115]: http://hl7.org/fhir/StructureDefinition/MedicinalProduct -[s116]: http://hl7.org/fhir/StructureDefinition/clinicaldocument -[s117]: http://hl7.org/fhir/StructureDefinition/DeviceMetric -[s118]: http://hl7.org/fhir/StructureDefinition/headcircum -[s119]: http://hl7.org/fhir/StructureDefinition/Flag -[s120]: http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid -[s121]: http://hl7.org/fhir/StructureDefinition/RiskEvidenceSynthesis -[s122]: http://hl7.org/fhir/StructureDefinition/vitalsigns -[s123]: http://hl7.org/fhir/StructureDefinition/AppointmentResponse -[s124]: http://hl7.org/fhir/StructureDefinition/devicemetricobservation -[s125]: http://hl7.org/fhir/StructureDefinition/StructureMap -[s126]: http://hl7.org/fhir/StructureDefinition/AdverseEvent -[s127]: http://hl7.org/fhir/StructureDefinition/cqllibrary -[s128]: http://hl7.org/fhir/StructureDefinition/GuidanceResponse -[s129]: http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics -[s130]: http://hl7.org/fhir/StructureDefinition/Observation -[s131]: http://hl7.org/fhir/StructureDefinition/MedicationAdministration -[s132]: http://hl7.org/fhir/StructureDefinition/EnrollmentResponse -[s133]: http://hl7.org/fhir/StructureDefinition/Library -[s134]: http://hl7.org/fhir/StructureDefinition/Binary -[s135]: http://hl7.org/fhir/StructureDefinition/MedicinalProductInteraction -[s136]: http://hl7.org/fhir/StructureDefinition/MedicationStatement -[s137]: http://hl7.org/fhir/StructureDefinition/CommunicationRequest -[s138]: http://hl7.org/fhir/StructureDefinition/TestScript -[s139]: http://hl7.org/fhir/StructureDefinition/SubstancePolymer -[s140]: http://hl7.org/fhir/StructureDefinition/Basic -[s141]: http://hl7.org/fhir/StructureDefinition/TestReport -[s142]: http://hl7.org/fhir/StructureDefinition/ClaimResponse -[s143]: http://hl7.org/fhir/StructureDefinition/MedicationDispense -[s144]: http://hl7.org/fhir/StructureDefinition/bodyweight -[s145]: http://hl7.org/fhir/StructureDefinition/DiagnosticReport -[s146]: http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation -[s147]: http://hl7.org/fhir/StructureDefinition/HealthcareService -[s148]: http://hl7.org/fhir/StructureDefinition/MedicinalProductIndication -[s149]: http://hl7.org/fhir/StructureDefinition/catalog -[s150]: http://hl7.org/fhir/StructureDefinition/NutritionOrder -[s151]: http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities -[s152]: http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse -[s153]: http://hl7.org/fhir/StructureDefinition/Evidence -[s154]: http://hl7.org/fhir/StructureDefinition/AuditEvent -[s155]: http://hl7.org/fhir/StructureDefinition/PaymentReconciliation -[s156]: http://hl7.org/fhir/StructureDefinition/Condition -[s157]: http://hl7.org/fhir/StructureDefinition/SpecimenDefinition -[s158]: http://hl7.org/fhir/StructureDefinition/Composition -[s159]: http://hl7.org/fhir/StructureDefinition/DetectedIssue -[s160]: http://hl7.org/fhir/StructureDefinition/CompartmentDefinition -[s161]: http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient -[s162]: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge -[s163]: http://hl7.org/fhir/StructureDefinition/Patient -[s164]: http://hl7.org/fhir/StructureDefinition/Coverage -[s165]: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse -[s166]: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest -[s167]: http://hl7.org/fhir/StructureDefinition/NamingSystem -[s168]: http://hl7.org/fhir/StructureDefinition/MedicinalProductUndesirableEffect -[s169]: http://hl7.org/fhir/StructureDefinition/ExampleScenario -[s170]: http://hl7.org/fhir/StructureDefinition/resprate -[s171]: http://hl7.org/fhir/StructureDefinition/SupplyDelivery -[s172]: http://hl7.org/fhir/StructureDefinition/Schedule -[s173]: http://hl7.org/fhir/StructureDefinition/DeviceDefinition -[s174]: http://hl7.org/fhir/StructureDefinition/ClinicalImpression -[s175]: http://hl7.org/fhir/StructureDefinition/PlanDefinition -[s176]: http://hl7.org/fhir/StructureDefinition/MedicinalProductAuthorization -[s177]: http://hl7.org/fhir/StructureDefinition/bmi -[s178]: http://hl7.org/fhir/StructureDefinition/Claim -[s179]: http://hl7.org/fhir/StructureDefinition/Location +[s1]: http://hl7.org/fhir/R4/R4/StructureDefinition/Appointment +[s2]: http://hl7.org/fhir/R4/R4/StructureDefinition/Account +[s3]: http://hl7.org/fhir/R4/R4/StructureDefinition/Invoice +[s4]: http://hl7.org/fhir/R4/R4/StructureDefinition/CatalogEntry +[s5]: http://hl7.org/fhir/R4/R4/StructureDefinition/bodyheight +[s6]: http://hl7.org/fhir/R4/R4/StructureDefinition/EventDefinition +[s7]: http://hl7.org/fhir/R4/R4/StructureDefinition/heartrate +[s8]: http://hl7.org/fhir/R4/R4/StructureDefinition/DocumentManifest +[s9]: http://hl7.org/fhir/R4/R4/StructureDefinition/MessageDefinition +[s10]: http://hl7.org/fhir/R4/StructureDefinition/Goal +[s11]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductPackaged +[s12]: http://hl7.org/fhir/R4/StructureDefinition/Endpoint +[s13]: http://hl7.org/fhir/R4/StructureDefinition/EnrollmentRequest +[s14]: http://hl7.org/fhir/R4/StructureDefinition/Consent +[s15]: http://hl7.org/fhir/R4/StructureDefinition/CapabilityStatement +[s16]: http://hl7.org/fhir/R4/StructureDefinition/Medication +[s17]: http://hl7.org/fhir/R4/StructureDefinition/Measure +[s18]: http://hl7.org/fhir/R4/StructureDefinition/ResearchSubject +[s19]: http://hl7.org/fhir/R4/StructureDefinition/familymemberhistory-genetic +[s20]: http://hl7.org/fhir/R4/StructureDefinition/Subscription +[s21]: http://hl7.org/fhir/R4/StructureDefinition/GraphDefinition +[s22]: http://hl7.org/fhir/R4/StructureDefinition/DocumentReference +[s23]: http://hl7.org/fhir/R4/StructureDefinition/shareablelibrary +[s24]: http://hl7.org/fhir/R4/StructureDefinition/Parameters +[s25]: http://hl7.org/fhir/R4/StructureDefinition/CoverageEligibilityResponse +[s26]: http://hl7.org/fhir/R4/StructureDefinition/MeasureReport +[s27]: http://hl7.org/fhir/R4/StructureDefinition/actualgroup +[s28]: http://hl7.org/fhir/R4/StructureDefinition/SubstanceReferenceInformation +[s29]: http://hl7.org/fhir/R4/StructureDefinition/PractitionerRole +[s30]: http://hl7.org/fhir/R4/StructureDefinition/RelatedPerson +[s31]: http://hl7.org/fhir/R4/StructureDefinition/ServiceRequest +[s32]: http://hl7.org/fhir/R4/StructureDefinition/SupplyRequest +[s33]: http://hl7.org/fhir/R4/StructureDefinition/provenance-relevant-history +[s34]: http://hl7.org/fhir/R4/StructureDefinition/Practitioner +[s35]: http://hl7.org/fhir/R4/StructureDefinition/VerificationResult +[s36]: http://hl7.org/fhir/R4/StructureDefinition/groupdefinition +[s37]: http://hl7.org/fhir/R4/StructureDefinition/bp +[s38]: http://hl7.org/fhir/R4/StructureDefinition/SubstanceProtein +[s39]: http://hl7.org/fhir/R4/StructureDefinition/BodyStructure +[s40]: http://hl7.org/fhir/R4/StructureDefinition/shareableplandefinition +[s41]: http://hl7.org/fhir/R4/StructureDefinition/Slot +[s42]: http://hl7.org/fhir/R4/StructureDefinition/Contract +[s43]: http://hl7.org/fhir/R4/StructureDefinition/Person +[s44]: http://hl7.org/fhir/R4/StructureDefinition/RiskAssessment +[s45]: http://hl7.org/fhir/R4/StructureDefinition/cdshooksserviceplandefinition +[s46]: http://hl7.org/fhir/R4/StructureDefinition/Group +[s47]: http://hl7.org/fhir/R4/StructureDefinition/ResearchDefinition +[s48]: http://hl7.org/fhir/R4/StructureDefinition/PaymentNotice +[s49]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductManufactured +[s50]: http://hl7.org/fhir/R4/StructureDefinition/Organization +[s51]: http://hl7.org/fhir/R4/StructureDefinition/ImplementationGuide +[s52]: http://hl7.org/fhir/R4/StructureDefinition/CareTeam +[s53]: http://hl7.org/fhir/R4/StructureDefinition/vitalspanel +[s54]: http://hl7.org/fhir/R4/StructureDefinition/ImagingStudy +[s55]: http://hl7.org/fhir/R4/StructureDefinition/FamilyMemberHistory +[s56]: http://hl7.org/fhir/R4/StructureDefinition/ChargeItem +[s57]: http://hl7.org/fhir/R4/StructureDefinition/ehrsrle-auditevent +[s58]: http://hl7.org/fhir/R4/StructureDefinition/ResearchElementDefinition +[s59]: http://hl7.org/fhir/R4/StructureDefinition/ObservationDefinition +[s60]: http://hl7.org/fhir/R4/StructureDefinition/servicerequest-genetics +[s61]: http://hl7.org/fhir/R4/StructureDefinition/SubstanceSpecification +[s62]: http://hl7.org/fhir/R4/StructureDefinition/Encounter +[s63]: http://hl7.org/fhir/R4/StructureDefinition/Substance +[s64]: http://hl7.org/fhir/R4/StructureDefinition/shareableactivitydefinition +[s65]: http://hl7.org/fhir/R4/StructureDefinition/SearchParameter +[s66]: http://hl7.org/fhir/R4/StructureDefinition/hlaresult +[s67]: http://hl7.org/fhir/R4/StructureDefinition/Communication +[s68]: http://hl7.org/fhir/R4/StructureDefinition/InsurancePlan +[s69]: http://hl7.org/fhir/R4/StructureDefinition/ActivityDefinition +[s70]: http://hl7.org/fhir/R4/StructureDefinition/lipidprofile +[s71]: http://hl7.org/fhir/R4/StructureDefinition/Linkage +[s72]: http://hl7.org/fhir/R4/StructureDefinition/ehrsrle-provenance +[s73]: http://hl7.org/fhir/R4/StructureDefinition/observation-genetics +[s74]: http://hl7.org/fhir/R4/StructureDefinition/SubstanceSourceMaterial +[s75]: http://hl7.org/fhir/R4/StructureDefinition/ImmunizationEvaluation +[s76]: http://hl7.org/fhir/R4/StructureDefinition/bodytemp +[s77]: http://hl7.org/fhir/R4/StructureDefinition/DeviceUseStatement +[s78]: http://hl7.org/fhir/R4/StructureDefinition/synthesis +[s79]: http://hl7.org/fhir/R4/StructureDefinition/RequestGroup +[s80]: http://hl7.org/fhir/R4/StructureDefinition/MessageHeader +[s81]: http://hl7.org/fhir/R4/StructureDefinition/DeviceRequest +[s82]: http://hl7.org/fhir/R4/StructureDefinition/ImmunizationRecommendation +[s83]: http://hl7.org/fhir/R4/StructureDefinition/oxygensat +[s84]: http://hl7.org/fhir/R4/StructureDefinition/Task +[s85]: http://hl7.org/fhir/R4/StructureDefinition/Provenance +[s86]: http://hl7.org/fhir/R4/StructureDefinition/Questionnaire +[s87]: http://hl7.org/fhir/R4/StructureDefinition/picoelement +[s88]: http://hl7.org/fhir/R4/StructureDefinition/computableplandefinition +[s89]: http://hl7.org/fhir/R4/StructureDefinition/ExplanationOfBenefit +[s90]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductPharmaceutical +[s91]: http://hl7.org/fhir/R4/StructureDefinition/ResearchStudy +[s92]: http://hl7.org/fhir/R4/StructureDefinition/Specimen +[s93]: http://hl7.org/fhir/R4/StructureDefinition/CarePlan +[s94]: http://hl7.org/fhir/R4/StructureDefinition/AllergyIntolerance +[s95]: http://hl7.org/fhir/R4/StructureDefinition/StructureDefinition +[s96]: http://hl7.org/fhir/R4/StructureDefinition/ChargeItemDefinition +[s97]: http://hl7.org/fhir/R4/StructureDefinition/EpisodeOfCare +[s98]: http://hl7.org/fhir/R4/StructureDefinition/cqf-questionnaire +[s99]: http://hl7.org/fhir/R4/StructureDefinition/Procedure +[s100]: http://hl7.org/fhir/R4/StructureDefinition/List +[s101]: http://hl7.org/fhir/R4/StructureDefinition/ConceptMap +[s102]: http://hl7.org/fhir/R4/StructureDefinition/cdshooksrequestgroup +[s103]: http://hl7.org/fhir/R4/StructureDefinition/OperationDefinition +[s104]: http://hl7.org/fhir/R4/StructureDefinition/Immunization +[s105]: http://hl7.org/fhir/R4/StructureDefinition/MedicationRequest +[s106]: http://hl7.org/fhir/R4/StructureDefinition/EffectEvidenceSynthesis +[s107]: http://hl7.org/fhir/R4/StructureDefinition/BiologicallyDerivedProduct +[s108]: http://hl7.org/fhir/R4/StructureDefinition/Device +[s109]: http://hl7.org/fhir/R4/StructureDefinition/shareablemeasure +[s110]: http://hl7.org/fhir/R4/StructureDefinition/VisionPrescription +[s111]: http://hl7.org/fhir/R4/StructureDefinition/Media +[s112]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductContraindication +[s113]: http://hl7.org/fhir/R4/StructureDefinition/MolecularSequence +[s114]: http://hl7.org/fhir/R4/StructureDefinition/EvidenceVariable +[s115]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProduct +[s116]: http://hl7.org/fhir/R4/StructureDefinition/clinicaldocument +[s117]: http://hl7.org/fhir/R4/StructureDefinition/DeviceMetric +[s118]: http://hl7.org/fhir/R4/StructureDefinition/headcircum +[s119]: http://hl7.org/fhir/R4/StructureDefinition/Flag +[s120]: http://hl7.org/fhir/R4/StructureDefinition/SubstanceNucleicAcid +[s121]: http://hl7.org/fhir/R4/StructureDefinition/RiskEvidenceSynthesis +[s122]: http://hl7.org/fhir/R4/StructureDefinition/vitalsigns +[s123]: http://hl7.org/fhir/R4/StructureDefinition/AppointmentResponse +[s124]: http://hl7.org/fhir/R4/StructureDefinition/devicemetricobservation +[s125]: http://hl7.org/fhir/R4/StructureDefinition/StructureMap +[s126]: http://hl7.org/fhir/R4/StructureDefinition/AdverseEvent +[s127]: http://hl7.org/fhir/R4/StructureDefinition/cqllibrary +[s128]: http://hl7.org/fhir/R4/StructureDefinition/GuidanceResponse +[s129]: http://hl7.org/fhir/R4/StructureDefinition/diagnosticreport-genetics +[s130]: http://hl7.org/fhir/R4/StructureDefinition/Observation +[s131]: http://hl7.org/fhir/R4/StructureDefinition/MedicationAdministration +[s132]: http://hl7.org/fhir/R4/StructureDefinition/EnrollmentResponse +[s133]: http://hl7.org/fhir/R4/StructureDefinition/Library +[s134]: http://hl7.org/fhir/R4/StructureDefinition/Binary +[s135]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductInteraction +[s136]: http://hl7.org/fhir/R4/StructureDefinition/MedicationStatement +[s137]: http://hl7.org/fhir/R4/StructureDefinition/CommunicationRequest +[s138]: http://hl7.org/fhir/R4/StructureDefinition/TestScript +[s139]: http://hl7.org/fhir/R4/StructureDefinition/SubstancePolymer +[s140]: http://hl7.org/fhir/R4/StructureDefinition/Basic +[s141]: http://hl7.org/fhir/R4/StructureDefinition/TestReport +[s142]: http://hl7.org/fhir/R4/StructureDefinition/ClaimResponse +[s143]: http://hl7.org/fhir/R4/StructureDefinition/MedicationDispense +[s144]: http://hl7.org/fhir/R4/StructureDefinition/bodyweight +[s145]: http://hl7.org/fhir/R4/StructureDefinition/DiagnosticReport +[s146]: http://hl7.org/fhir/R4/StructureDefinition/OrganizationAffiliation +[s147]: http://hl7.org/fhir/R4/StructureDefinition/HealthcareService +[s148]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductIndication +[s149]: http://hl7.org/fhir/R4/StructureDefinition/catalog +[s150]: http://hl7.org/fhir/R4/StructureDefinition/NutritionOrder +[s151]: http://hl7.org/fhir/R4/StructureDefinition/TerminologyCapabilities +[s152]: http://hl7.org/fhir/R4/StructureDefinition/cdshooksguidanceresponse +[s153]: http://hl7.org/fhir/R4/StructureDefinition/Evidence +[s154]: http://hl7.org/fhir/R4/StructureDefinition/AuditEvent +[s155]: http://hl7.org/fhir/R4/StructureDefinition/PaymentReconciliation +[s156]: http://hl7.org/fhir/R4/StructureDefinition/Condition +[s157]: http://hl7.org/fhir/R4/StructureDefinition/SpecimenDefinition +[s158]: http://hl7.org/fhir/R4/StructureDefinition/Composition +[s159]: http://hl7.org/fhir/R4/StructureDefinition/DetectedIssue +[s160]: http://hl7.org/fhir/R4/StructureDefinition/CompartmentDefinition +[s161]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductIngredient +[s162]: http://hl7.org/fhir/R4/StructureDefinition/MedicationKnowledge +[s163]: http://hl7.org/fhir/R4/StructureDefinition/Patient +[s164]: http://hl7.org/fhir/R4/StructureDefinition/Coverage +[s165]: http://hl7.org/fhir/R4/StructureDefinition/QuestionnaireResponse +[s166]: http://hl7.org/fhir/R4/StructureDefinition/CoverageEligibilityRequest +[s167]: http://hl7.org/fhir/R4/StructureDefinition/NamingSystem +[s168]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductUndesirableEffect +[s169]: http://hl7.org/fhir/R4/StructureDefinition/ExampleScenario +[s170]: http://hl7.org/fhir/R4/StructureDefinition/resprate +[s171]: http://hl7.org/fhir/R4/StructureDefinition/SupplyDelivery +[s172]: http://hl7.org/fhir/R4/StructureDefinition/Schedule +[s173]: http://hl7.org/fhir/R4/StructureDefinition/DeviceDefinition +[s174]: http://hl7.org/fhir/R4/StructureDefinition/ClinicalImpression +[s175]: http://hl7.org/fhir/R4/StructureDefinition/PlanDefinition +[s176]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductAuthorization +[s177]: http://hl7.org/fhir/R4/StructureDefinition/bmi +[s178]: http://hl7.org/fhir/R4/StructureDefinition/Claim +[s179]: http://hl7.org/fhir/R4/StructureDefinition/Location diff --git a/international401/README.md b/international401/README.md index b90d87f2..56f5c825 100644 --- a/international401/README.md +++ b/international401/README.md @@ -1,5 +1,5 @@ Ballerina package containing FHIR resource data models -compliant with http://hl7.org/fhir/ implementation guide. +compliant with http://hl7.org/fhir/R4/ implementation guide. # FHIR R4 International package @@ -8,7 +8,7 @@ compliant with http://hl7.org/fhir/ implementation guide. | | | |----------------------|----------------------| | FHIR version | R4 | -| Implementation Guide | http://hl7.org/fhir/ | +| Implementation Guide | http://hl7.org/fhir/R4/ | **Note:** @@ -38,33 +38,33 @@ compliant with http://hl7.org/fhir/ implementation guide. | 16). Medication | [[Definition]][s16] [[Ballerina Record]][m16] | | 17). Measure | [[Definition]][s17] [[Ballerina Record]][m17] | | 18). ResearchSubject | [[Definition]][s18] [[Ballerina Record]][m18] | -| 19). Family_member_history_for_genetics_analysis | [[Definition]][s19] [[Ballerina Record]][m19] | +| 19). Familymemberhistoryforgeneticsanalysis | [[Definition]][s19] [[Ballerina Record]][m19] | | 20). Subscription | [[Definition]][s20] [[Ballerina Record]][m20] | | 21). GraphDefinition | [[Definition]][s21] [[Ballerina Record]][m21] | | 22). DocumentReference | [[Definition]][s22] [[Ballerina Record]][m22] | -| 23). Shareable_Library | [[Definition]][s23] [[Ballerina Record]][m23] | +| 23). ShareableLibrary | [[Definition]][s23] [[Ballerina Record]][m23] | | 24). Parameters | [[Definition]][s24] [[Ballerina Record]][m24] | | 25). CoverageEligibilityResponse | [[Definition]][s25] [[Ballerina Record]][m25] | | 26). MeasureReport | [[Definition]][s26] [[Ballerina Record]][m26] | -| 27). Actual_Group | [[Definition]][s27] [[Ballerina Record]][m27] | +| 27). ActualGroup | [[Definition]][s27] [[Ballerina Record]][m27] | | 28). SubstanceReferenceInformation | [[Definition]][s28] [[Ballerina Record]][m28] | | 29). PractitionerRole | [[Definition]][s29] [[Ballerina Record]][m29] | | 30). RelatedPerson | [[Definition]][s30] [[Ballerina Record]][m30] | | 31). ServiceRequest | [[Definition]][s31] [[Ballerina Record]][m31] | | 32). SupplyRequest | [[Definition]][s32] [[Ballerina Record]][m32] | -| 33). Provenance_Relevant_History | [[Definition]][s33] [[Ballerina Record]][m33] | +| 33). ProvenanceRelevantHistory | [[Definition]][s33] [[Ballerina Record]][m33] | | 34). Practitioner | [[Definition]][s34] [[Ballerina Record]][m34] | | 35). VerificationResult | [[Definition]][s35] [[Ballerina Record]][m35] | -| 36). Group_Definition | [[Definition]][s36] [[Ballerina Record]][m36] | +| 36). GroupDefinition | [[Definition]][s36] [[Ballerina Record]][m36] | | 37). observation_bp | [[Definition]][s37] [[Ballerina Record]][m37] | | 38). SubstanceProtein | [[Definition]][s38] [[Ballerina Record]][m38] | | 39). BodyStructure | [[Definition]][s39] [[Ballerina Record]][m39] | -| 40). Shareable_PlanDefinition | [[Definition]][s40] [[Ballerina Record]][m40] | +| 40). ShareablePlanDefinition | [[Definition]][s40] [[Ballerina Record]][m40] | | 41). Slot | [[Definition]][s41] [[Ballerina Record]][m41] | | 42). Contract | [[Definition]][s42] [[Ballerina Record]][m42] | | 43). Person | [[Definition]][s43] [[Ballerina Record]][m43] | | 44). RiskAssessment | [[Definition]][s44] [[Ballerina Record]][m44] | -| 45). CDS_Hooks_Service_PlanDefinition | [[Definition]][s45] [[Ballerina Record]][m45] | +| 45). CDSHooksServicePlanDefinition | [[Definition]][s45] [[Ballerina Record]][m45] | | 46). Group | [[Definition]][s46] [[Ballerina Record]][m46] | | 47). ResearchDefinition | [[Definition]][s47] [[Ballerina Record]][m47] | | 48). PaymentNotice | [[Definition]][s48] [[Ballerina Record]][m48] | @@ -76,28 +76,28 @@ compliant with http://hl7.org/fhir/ implementation guide. | 54). ImagingStudy | [[Definition]][s54] [[Ballerina Record]][m54] | | 55). FamilyMemberHistory | [[Definition]][s55] [[Ballerina Record]][m55] | | 56). ChargeItem | [[Definition]][s56] [[Ballerina Record]][m56] | -| 57). EHRS_FM_Record_Lifecycle_Event___Audit_Event | [[Definition]][s57] [[Ballerina Record]][m57] | +| 57). EHRSFMRecordLifecycleEvent_AuditEvent | [[Definition]][s57] [[Ballerina Record]][m57] | | 58). ResearchElementDefinition | [[Definition]][s58] [[Ballerina Record]][m58] | | 59). ObservationDefinition | [[Definition]][s59] [[Ballerina Record]][m59] | | 60). ServiceRequest_Genetics | [[Definition]][s60] [[Ballerina Record]][m60] | | 61). SubstanceSpecification | [[Definition]][s61] [[Ballerina Record]][m61] | | 62). Encounter | [[Definition]][s62] [[Ballerina Record]][m62] | | 63). Substance | [[Definition]][s63] [[Ballerina Record]][m63] | -| 64). Shareable_ActivityDefinition | [[Definition]][s64] [[Ballerina Record]][m64] | +| 64). ShareableActivityDefinition | [[Definition]][s64] [[Ballerina Record]][m64] | | 65). SearchParameter | [[Definition]][s65] [[Ballerina Record]][m65] | -| 66). Profile_for_HLA_Genotyping_Results | [[Definition]][s66] [[Ballerina Record]][m66] | +| 66). ProfileforHLAGenotypingResults | [[Definition]][s66] [[Ballerina Record]][m66] | | 67). Communication | [[Definition]][s67] [[Ballerina Record]][m67] | | 68). InsurancePlan | [[Definition]][s68] [[Ballerina Record]][m68] | | 69). ActivityDefinition | [[Definition]][s69] [[Ballerina Record]][m69] | -| 70). Example_Lipid_Profile | [[Definition]][s70] [[Ballerina Record]][m70] | +| 70). ExampleLipidProfile | [[Definition]][s70] [[Ballerina Record]][m70] | | 71). Linkage | [[Definition]][s71] [[Ballerina Record]][m71] | -| 72). EHRS_FM_Record_Lifecycle_Event___Provenance | [[Definition]][s72] [[Ballerina Record]][m72] | +| 72). EHRSFMRecordLifecycleEvent_Provenance | [[Definition]][s72] [[Ballerina Record]][m72] | | 73). Observation_genetics | [[Definition]][s73] [[Ballerina Record]][m73] | | 74). SubstanceSourceMaterial | [[Definition]][s74] [[Ballerina Record]][m74] | | 75). ImmunizationEvaluation | [[Definition]][s75] [[Ballerina Record]][m75] | | 76). observation_bodytemp | [[Definition]][s76] [[Ballerina Record]][m76] | | 77). DeviceUseStatement | [[Definition]][s77] [[Ballerina Record]][m77] | -| 78). Evidence_Synthesis_Profile | [[Definition]][s78] [[Ballerina Record]][m78] | +| 78). EvidenceSynthesisProfile | [[Definition]][s78] [[Ballerina Record]][m78] | | 79). RequestGroup | [[Definition]][s79] [[Ballerina Record]][m79] | | 80). MessageHeader | [[Definition]][s80] [[Ballerina Record]][m80] | | 81). DeviceRequest | [[Definition]][s81] [[Ballerina Record]][m81] | @@ -106,8 +106,8 @@ compliant with http://hl7.org/fhir/ implementation guide. | 84). Task | [[Definition]][s84] [[Ballerina Record]][m84] | | 85). Provenance | [[Definition]][s85] [[Ballerina Record]][m85] | | 86). Questionnaire | [[Definition]][s86] [[Ballerina Record]][m86] | -| 87). PICO_Element_Profile | [[Definition]][s87] [[Ballerina Record]][m87] | -| 88). Computable_PlanDefinition | [[Definition]][s88] [[Ballerina Record]][m88] | +| 87). PICOElementProfile | [[Definition]][s87] [[Ballerina Record]][m87] | +| 88). ComputablePlanDefinition | [[Definition]][s88] [[Ballerina Record]][m88] | | 89). ExplanationOfBenefit | [[Definition]][s89] [[Ballerina Record]][m89] | | 90). MedicinalProductPharmaceutical | [[Definition]][s90] [[Ballerina Record]][m90] | | 91). ResearchStudy | [[Definition]][s91] [[Ballerina Record]][m91] | @@ -121,21 +121,21 @@ compliant with http://hl7.org/fhir/ implementation guide. | 99). Procedure | [[Definition]][s99] [[Ballerina Record]][m99] | | 100). List | [[Definition]][s100] [[Ballerina Record]][m100] | | 101). ConceptMap | [[Definition]][s101] [[Ballerina Record]][m101] | -| 102). CDS_Hooks_RequestGroup | [[Definition]][s102] [[Ballerina Record]][m102] | +| 102). CDSHooksRequestGroup | [[Definition]][s102] [[Ballerina Record]][m102] | | 103). OperationDefinition | [[Definition]][s103] [[Ballerina Record]][m103] | | 104). Immunization | [[Definition]][s104] [[Ballerina Record]][m104] | | 105). MedicationRequest | [[Definition]][s105] [[Ballerina Record]][m105] | | 106). EffectEvidenceSynthesis | [[Definition]][s106] [[Ballerina Record]][m106] | | 107). BiologicallyDerivedProduct | [[Definition]][s107] [[Ballerina Record]][m107] | | 108). Device | [[Definition]][s108] [[Ballerina Record]][m108] | -| 109). Shareable_Measure | [[Definition]][s109] [[Ballerina Record]][m109] | +| 109). ShareableMeasure | [[Definition]][s109] [[Ballerina Record]][m109] | | 110). VisionPrescription | [[Definition]][s110] [[Ballerina Record]][m110] | | 111). Media | [[Definition]][s111] [[Ballerina Record]][m111] | | 112). MedicinalProductContraindication | [[Definition]][s112] [[Ballerina Record]][m112] | | 113). MolecularSequence | [[Definition]][s113] [[Ballerina Record]][m113] | | 114). EvidenceVariable | [[Definition]][s114] [[Ballerina Record]][m114] | | 115). MedicinalProduct | [[Definition]][s115] [[Ballerina Record]][m115] | -| 116). Clinical_Document | [[Definition]][s116] [[Ballerina Record]][m116] | +| 116). ClinicalDocument | [[Definition]][s116] [[Ballerina Record]][m116] | | 117). DeviceMetric | [[Definition]][s117] [[Ballerina Record]][m117] | | 118). observation_headcircum | [[Definition]][s118] [[Ballerina Record]][m118] | | 119). Flag | [[Definition]][s119] [[Ballerina Record]][m119] | @@ -143,10 +143,10 @@ compliant with http://hl7.org/fhir/ implementation guide. | 121). RiskEvidenceSynthesis | [[Definition]][s121] [[Ballerina Record]][m121] | | 122). observation_vitalsigns | [[Definition]][s122] [[Ballerina Record]][m122] | | 123). AppointmentResponse | [[Definition]][s123] [[Ballerina Record]][m123] | -| 124). Device_Metric_Observation_Profile | [[Definition]][s124] [[Ballerina Record]][m124] | +| 124). DeviceMetricObservationProfile | [[Definition]][s124] [[Ballerina Record]][m124] | | 125). StructureMap | [[Definition]][s125] [[Ballerina Record]][m125] | | 126). AdverseEvent | [[Definition]][s126] [[Ballerina Record]][m126] | -| 127). CQL_Library | [[Definition]][s127] [[Ballerina Record]][m127] | +| 127). CQLLibrary | [[Definition]][s127] [[Ballerina Record]][m127] | | 128). GuidanceResponse | [[Definition]][s128] [[Ballerina Record]][m128] | | 129). DiagnosticReport_Genetics | [[Definition]][s129] [[Ballerina Record]][m129] | | 130). Observation | [[Definition]][s130] [[Ballerina Record]][m130] | @@ -168,10 +168,10 @@ compliant with http://hl7.org/fhir/ implementation guide. | 146). OrganizationAffiliation | [[Definition]][s146] [[Ballerina Record]][m146] | | 147). HealthcareService | [[Definition]][s147] [[Ballerina Record]][m147] | | 148). MedicinalProductIndication | [[Definition]][s148] [[Ballerina Record]][m148] | -| 149). Profile_for_Catalog | [[Definition]][s149] [[Ballerina Record]][m149] | +| 149). ProfileforCatalog | [[Definition]][s149] [[Ballerina Record]][m149] | | 150). NutritionOrder | [[Definition]][s150] [[Ballerina Record]][m150] | | 151). TerminologyCapabilities | [[Definition]][s151] [[Ballerina Record]][m151] | -| 152). CDS_Hooks_GuidanceResponse | [[Definition]][s152] [[Ballerina Record]][m152] | +| 152). CDSHooksGuidanceResponse | [[Definition]][s152] [[Ballerina Record]][m152] | | 153). Evidence | [[Definition]][s153] [[Ballerina Record]][m153] | | 154). AuditEvent | [[Definition]][s154] [[Ballerina Record]][m154] | | 155). PaymentReconciliation | [[Definition]][s155] [[Ballerina Record]][m155] | @@ -200,362 +200,362 @@ compliant with http://hl7.org/fhir/ implementation guide. | 178). Claim | [[Definition]][s178] [[Ballerina Record]][m178] | | 179). Location | [[Definition]][s179] [[Ballerina Record]][m179] | -[m1]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Appointment -[m2]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Account -[m3]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Invoice -[m4]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CatalogEntry -[m5]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_bodyheight -[m6]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EventDefinition -[m7]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_heartrate -[m8]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DocumentManifest -[m9]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MessageDefinition -[m10]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Goal -[m11]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductPackaged -[m12]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Endpoint -[m13]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EnrollmentRequest -[m14]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Consent -[m15]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CapabilityStatement -[m16]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Medication -[m17]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Measure -[m18]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ResearchSubject -[m19]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Family_member_history_for_genetics_analysis -[m20]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Subscription -[m21]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#GraphDefinition -[m22]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DocumentReference -[m23]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Shareable_Library -[m24]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Parameters -[m25]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CoverageEligibilityResponse -[m26]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MeasureReport -[m27]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Actual_Group -[m28]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SubstanceReferenceInformation -[m29]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#PractitionerRole -[m30]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#RelatedPerson -[m31]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ServiceRequest -[m32]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SupplyRequest -[m33]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Provenance_Relevant_History -[m34]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Practitioner -[m35]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#VerificationResult -[m36]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Group_Definition -[m37]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_bp -[m38]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SubstanceProtein -[m39]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#BodyStructure -[m40]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Shareable_PlanDefinition -[m41]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Slot -[m42]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Contract -[m43]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Person -[m44]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#RiskAssessment -[m45]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CDS_Hooks_Service_PlanDefinition -[m46]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Group -[m47]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ResearchDefinition -[m48]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#PaymentNotice -[m49]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductManufactured -[m50]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Organization -[m51]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ImplementationGuide -[m52]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CareTeam -[m53]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_vitalspanel -[m54]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ImagingStudy -[m55]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#FamilyMemberHistory -[m56]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ChargeItem -[m57]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EHRS_FM_Record_Lifecycle_Event___Audit_Event -[m58]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ResearchElementDefinition -[m59]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ObservationDefinition -[m60]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ServiceRequest_Genetics -[m61]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SubstanceSpecification -[m62]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Encounter -[m63]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Substance -[m64]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Shareable_ActivityDefinition -[m65]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SearchParameter -[m66]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Profile_for_HLA_Genotyping_Results -[m67]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Communication -[m68]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#InsurancePlan -[m69]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ActivityDefinition -[m70]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Example_Lipid_Profile -[m71]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Linkage -[m72]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EHRS_FM_Record_Lifecycle_Event___Provenance -[m73]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Observation_genetics -[m74]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SubstanceSourceMaterial -[m75]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ImmunizationEvaluation -[m76]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_bodytemp -[m77]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DeviceUseStatement -[m78]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Evidence_Synthesis_Profile -[m79]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#RequestGroup -[m80]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MessageHeader -[m81]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DeviceRequest -[m82]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ImmunizationRecommendation -[m83]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_oxygensat -[m84]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Task -[m85]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Provenance -[m86]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Questionnaire -[m87]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#PICO_Element_Profile -[m88]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Computable_PlanDefinition -[m89]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ExplanationOfBenefit -[m90]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductPharmaceutical -[m91]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ResearchStudy -[m92]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Specimen -[m93]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CarePlan -[m94]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#AllergyIntolerance -[m95]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#StructureDefinition -[m96]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ChargeItemDefinition -[m97]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EpisodeOfCare -[m98]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CQF_Questionnaire -[m99]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Procedure -[m100]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#List -[m101]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ConceptMap -[m102]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CDS_Hooks_RequestGroup -[m103]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#OperationDefinition -[m104]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Immunization -[m105]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicationRequest -[m106]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EffectEvidenceSynthesis -[m107]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#BiologicallyDerivedProduct -[m108]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Device -[m109]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Shareable_Measure -[m110]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#VisionPrescription -[m111]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Media -[m112]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductContraindication -[m113]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MolecularSequence -[m114]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EvidenceVariable -[m115]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProduct -[m116]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Clinical_Document -[m117]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DeviceMetric -[m118]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_headcircum -[m119]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Flag -[m120]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SubstanceNucleicAcid -[m121]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#RiskEvidenceSynthesis -[m122]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_vitalsigns -[m123]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#AppointmentResponse -[m124]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Device_Metric_Observation_Profile -[m125]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#StructureMap -[m126]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#AdverseEvent -[m127]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CQL_Library -[m128]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#GuidanceResponse -[m129]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DiagnosticReport_Genetics -[m130]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Observation -[m131]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicationAdministration -[m132]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#EnrollmentResponse -[m133]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Library -[m134]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Binary -[m135]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductInteraction -[m136]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicationStatement -[m137]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CommunicationRequest -[m138]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#TestScript -[m139]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SubstancePolymer -[m140]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Basic -[m141]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#TestReport -[m142]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ClaimResponse -[m143]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicationDispense -[m144]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_bodyweight -[m145]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DiagnosticReport -[m146]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#OrganizationAffiliation -[m147]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#HealthcareService -[m148]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductIndication -[m149]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Profile_for_Catalog -[m150]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#NutritionOrder -[m151]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#TerminologyCapabilities -[m152]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CDS_Hooks_GuidanceResponse -[m153]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Evidence -[m154]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#AuditEvent -[m155]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#PaymentReconciliation -[m156]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Condition -[m157]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SpecimenDefinition -[m158]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Composition -[m159]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DetectedIssue -[m160]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CompartmentDefinition -[m161]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductIngredient -[m162]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicationKnowledge -[m163]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Patient -[m164]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Coverage -[m165]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#QuestionnaireResponse -[m166]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#CoverageEligibilityRequest -[m167]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#NamingSystem -[m168]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductUndesirableEffect -[m169]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ExampleScenario -[m170]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_resprate -[m171]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#SupplyDelivery -[m172]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Schedule -[m173]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#DeviceDefinition -[m174]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#ClinicalImpression -[m175]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#PlanDefinition -[m176]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#MedicinalProductAuthorization -[m177]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#observation_bmi -[m178]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Claim -[m179]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international/1.2.0#Location +[m1]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Appointment +[m2]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Account +[m3]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Invoice +[m4]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CatalogEntry +[m5]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_bodyheight +[m6]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EventDefinition +[m7]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_heartrate +[m8]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DocumentManifest +[m9]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MessageDefinition +[m10]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Goal +[m11]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductPackaged +[m12]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Endpoint +[m13]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EnrollmentRequest +[m14]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Consent +[m15]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CapabilityStatement +[m16]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Medication +[m17]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Measure +[m18]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ResearchSubject +[m19]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Familymemberhistoryforgeneticsanalysis +[m20]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Subscription +[m21]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#GraphDefinition +[m22]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DocumentReference +[m23]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ShareableLibrary +[m24]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Parameters +[m25]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CoverageEligibilityResponse +[m26]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MeasureReport +[m27]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ActualGroup +[m28]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SubstanceReferenceInformation +[m29]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#PractitionerRole +[m30]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#RelatedPerson +[m31]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ServiceRequest +[m32]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SupplyRequest +[m33]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ProvenanceRelevantHistory +[m34]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Practitioner +[m35]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#VerificationResult +[m36]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#GroupDefinition +[m37]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_bp +[m38]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SubstanceProtein +[m39]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#BodyStructure +[m40]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ShareablePlanDefinition +[m41]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Slot +[m42]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Contract +[m43]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Person +[m44]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#RiskAssessment +[m45]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CDSHooksServicePlanDefinition +[m46]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Group +[m47]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ResearchDefinition +[m48]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#PaymentNotice +[m49]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductManufactured +[m50]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Organization +[m51]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ImplementationGuide +[m52]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CareTeam +[m53]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_vitalspanel +[m54]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ImagingStudy +[m55]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#FamilyMemberHistory +[m56]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ChargeItem +[m57]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EHRSFMRecordLifecycleEvent_AuditEvent +[m58]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ResearchElementDefinition +[m59]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ObservationDefinition +[m60]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ServiceRequest_Genetics +[m61]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SubstanceSpecification +[m62]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Encounter +[m63]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Substance +[m64]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ShareableActivityDefinition +[m65]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SearchParameter +[m66]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ProfileforHLAGenotypingResults +[m67]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Communication +[m68]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#InsurancePlan +[m69]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ActivityDefinition +[m70]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ExampleLipidProfile +[m71]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Linkage +[m72]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EHRSFMRecordLifecycleEvent_Provenance +[m73]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Observation_genetics +[m74]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SubstanceSourceMaterial +[m75]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ImmunizationEvaluation +[m76]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_bodytemp +[m77]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DeviceUseStatement +[m78]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EvidenceSynthesisProfile +[m79]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#RequestGroup +[m80]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MessageHeader +[m81]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DeviceRequest +[m82]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ImmunizationRecommendation +[m83]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_oxygensat +[m84]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Task +[m85]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Provenance +[m86]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Questionnaire +[m87]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#PICOElementProfile +[m88]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ComputablePlanDefinition +[m89]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ExplanationOfBenefit +[m90]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductPharmaceutical +[m91]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ResearchStudy +[m92]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Specimen +[m93]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CarePlan +[m94]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#AllergyIntolerance +[m95]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#StructureDefinition +[m96]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ChargeItemDefinition +[m97]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EpisodeOfCare +[m98]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CQF_Questionnaire +[m99]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Procedure +[m100]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#List +[m101]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ConceptMap +[m102]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CDSHooksRequestGroup +[m103]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#OperationDefinition +[m104]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Immunization +[m105]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicationRequest +[m106]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EffectEvidenceSynthesis +[m107]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#BiologicallyDerivedProduct +[m108]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Device +[m109]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ShareableMeasure +[m110]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#VisionPrescription +[m111]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Media +[m112]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductContraindication +[m113]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MolecularSequence +[m114]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EvidenceVariable +[m115]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProduct +[m116]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ClinicalDocument +[m117]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DeviceMetric +[m118]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_headcircum +[m119]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Flag +[m120]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SubstanceNucleicAcid +[m121]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#RiskEvidenceSynthesis +[m122]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_vitalsigns +[m123]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#AppointmentResponse +[m124]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DeviceMetricObservationProfile +[m125]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#StructureMap +[m126]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#AdverseEvent +[m127]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CQLLibrary +[m128]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#GuidanceResponse +[m129]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DiagnosticReport_Genetics +[m130]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Observation +[m131]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicationAdministration +[m132]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#EnrollmentResponse +[m133]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Library +[m134]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Binary +[m135]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductInteraction +[m136]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicationStatement +[m137]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CommunicationRequest +[m138]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#TestScript +[m139]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SubstancePolymer +[m140]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Basic +[m141]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#TestReport +[m142]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ClaimResponse +[m143]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicationDispense +[m144]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_bodyweight +[m145]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DiagnosticReport +[m146]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#OrganizationAffiliation +[m147]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#HealthcareService +[m148]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductIndication +[m149]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ProfileforCatalog +[m150]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#NutritionOrder +[m151]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#TerminologyCapabilities +[m152]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CDSHooksGuidanceResponse +[m153]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Evidence +[m154]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#AuditEvent +[m155]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#PaymentReconciliation +[m156]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Condition +[m157]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SpecimenDefinition +[m158]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Composition +[m159]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DetectedIssue +[m160]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CompartmentDefinition +[m161]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductIngredient +[m162]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicationKnowledge +[m163]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Patient +[m164]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Coverage +[m165]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#QuestionnaireResponse +[m166]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#CoverageEligibilityRequest +[m167]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#NamingSystem +[m168]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductUndesirableEffect +[m169]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ExampleScenario +[m170]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_resprate +[m171]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#SupplyDelivery +[m172]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Schedule +[m173]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#DeviceDefinition +[m174]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#ClinicalImpression +[m175]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#PlanDefinition +[m176]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#MedicinalProductAuthorization +[m177]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#observation_bmi +[m178]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Claim +[m179]: https://lib.ballerina.io/ballerinax/health.fhir.r4.international401/4.0.0#Location -[s1]: http://hl7.org/fhir/StructureDefinition/Appointment -[s2]: http://hl7.org/fhir/StructureDefinition/Account -[s3]: http://hl7.org/fhir/StructureDefinition/Invoice -[s4]: http://hl7.org/fhir/StructureDefinition/CatalogEntry -[s5]: http://hl7.org/fhir/StructureDefinition/bodyheight -[s6]: http://hl7.org/fhir/StructureDefinition/EventDefinition -[s7]: http://hl7.org/fhir/StructureDefinition/heartrate -[s8]: http://hl7.org/fhir/StructureDefinition/DocumentManifest -[s9]: http://hl7.org/fhir/StructureDefinition/MessageDefinition -[s10]: http://hl7.org/fhir/StructureDefinition/Goal -[s11]: http://hl7.org/fhir/StructureDefinition/MedicinalProductPackaged -[s12]: http://hl7.org/fhir/StructureDefinition/Endpoint -[s13]: http://hl7.org/fhir/StructureDefinition/EnrollmentRequest -[s14]: http://hl7.org/fhir/StructureDefinition/Consent -[s15]: http://hl7.org/fhir/StructureDefinition/CapabilityStatement -[s16]: http://hl7.org/fhir/StructureDefinition/Medication -[s17]: http://hl7.org/fhir/StructureDefinition/Measure -[s18]: http://hl7.org/fhir/StructureDefinition/ResearchSubject -[s19]: http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic -[s20]: http://hl7.org/fhir/StructureDefinition/Subscription -[s21]: http://hl7.org/fhir/StructureDefinition/GraphDefinition -[s22]: http://hl7.org/fhir/StructureDefinition/DocumentReference -[s23]: http://hl7.org/fhir/StructureDefinition/shareablelibrary -[s24]: http://hl7.org/fhir/StructureDefinition/Parameters -[s25]: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse -[s26]: http://hl7.org/fhir/StructureDefinition/MeasureReport -[s27]: http://hl7.org/fhir/StructureDefinition/actualgroup -[s28]: http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation -[s29]: http://hl7.org/fhir/StructureDefinition/PractitionerRole -[s30]: http://hl7.org/fhir/StructureDefinition/RelatedPerson -[s31]: http://hl7.org/fhir/StructureDefinition/ServiceRequest -[s32]: http://hl7.org/fhir/StructureDefinition/SupplyRequest -[s33]: http://hl7.org/fhir/StructureDefinition/provenance-relevant-history -[s34]: http://hl7.org/fhir/StructureDefinition/Practitioner -[s35]: http://hl7.org/fhir/StructureDefinition/VerificationResult -[s36]: http://hl7.org/fhir/StructureDefinition/groupdefinition -[s37]: http://hl7.org/fhir/StructureDefinition/bp -[s38]: http://hl7.org/fhir/StructureDefinition/SubstanceProtein -[s39]: http://hl7.org/fhir/StructureDefinition/BodyStructure -[s40]: http://hl7.org/fhir/StructureDefinition/shareableplandefinition -[s41]: http://hl7.org/fhir/StructureDefinition/Slot -[s42]: http://hl7.org/fhir/StructureDefinition/Contract -[s43]: http://hl7.org/fhir/StructureDefinition/Person -[s44]: http://hl7.org/fhir/StructureDefinition/RiskAssessment -[s45]: http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition -[s46]: http://hl7.org/fhir/StructureDefinition/Group -[s47]: http://hl7.org/fhir/StructureDefinition/ResearchDefinition -[s48]: http://hl7.org/fhir/StructureDefinition/PaymentNotice -[s49]: http://hl7.org/fhir/StructureDefinition/MedicinalProductManufactured -[s50]: http://hl7.org/fhir/StructureDefinition/Organization -[s51]: http://hl7.org/fhir/StructureDefinition/ImplementationGuide -[s52]: http://hl7.org/fhir/StructureDefinition/CareTeam -[s53]: http://hl7.org/fhir/StructureDefinition/vitalspanel -[s54]: http://hl7.org/fhir/StructureDefinition/ImagingStudy -[s55]: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory -[s56]: http://hl7.org/fhir/StructureDefinition/ChargeItem -[s57]: http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent -[s58]: http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition -[s59]: http://hl7.org/fhir/StructureDefinition/ObservationDefinition -[s60]: http://hl7.org/fhir/StructureDefinition/servicerequest-genetics -[s61]: http://hl7.org/fhir/StructureDefinition/SubstanceSpecification -[s62]: http://hl7.org/fhir/StructureDefinition/Encounter -[s63]: http://hl7.org/fhir/StructureDefinition/Substance -[s64]: http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition -[s65]: http://hl7.org/fhir/StructureDefinition/SearchParameter -[s66]: http://hl7.org/fhir/StructureDefinition/hlaresult -[s67]: http://hl7.org/fhir/StructureDefinition/Communication -[s68]: http://hl7.org/fhir/StructureDefinition/InsurancePlan -[s69]: http://hl7.org/fhir/StructureDefinition/ActivityDefinition -[s70]: http://hl7.org/fhir/StructureDefinition/lipidprofile -[s71]: http://hl7.org/fhir/StructureDefinition/Linkage -[s72]: http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance -[s73]: http://hl7.org/fhir/StructureDefinition/observation-genetics -[s74]: http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial -[s75]: http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation -[s76]: http://hl7.org/fhir/StructureDefinition/bodytemp -[s77]: http://hl7.org/fhir/StructureDefinition/DeviceUseStatement -[s78]: http://hl7.org/fhir/StructureDefinition/synthesis -[s79]: http://hl7.org/fhir/StructureDefinition/RequestGroup -[s80]: http://hl7.org/fhir/StructureDefinition/MessageHeader -[s81]: http://hl7.org/fhir/StructureDefinition/DeviceRequest -[s82]: http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation -[s83]: http://hl7.org/fhir/StructureDefinition/oxygensat -[s84]: http://hl7.org/fhir/StructureDefinition/Task -[s85]: http://hl7.org/fhir/StructureDefinition/Provenance -[s86]: http://hl7.org/fhir/StructureDefinition/Questionnaire -[s87]: http://hl7.org/fhir/StructureDefinition/picoelement -[s88]: http://hl7.org/fhir/StructureDefinition/computableplandefinition -[s89]: http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit -[s90]: http://hl7.org/fhir/StructureDefinition/MedicinalProductPharmaceutical -[s91]: http://hl7.org/fhir/StructureDefinition/ResearchStudy -[s92]: http://hl7.org/fhir/StructureDefinition/Specimen -[s93]: http://hl7.org/fhir/StructureDefinition/CarePlan -[s94]: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance -[s95]: http://hl7.org/fhir/StructureDefinition/StructureDefinition -[s96]: http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition -[s97]: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare -[s98]: http://hl7.org/fhir/StructureDefinition/cqf-questionnaire -[s99]: http://hl7.org/fhir/StructureDefinition/Procedure -[s100]: http://hl7.org/fhir/StructureDefinition/List -[s101]: http://hl7.org/fhir/StructureDefinition/ConceptMap -[s102]: http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup -[s103]: http://hl7.org/fhir/StructureDefinition/OperationDefinition -[s104]: http://hl7.org/fhir/StructureDefinition/Immunization -[s105]: http://hl7.org/fhir/StructureDefinition/MedicationRequest -[s106]: http://hl7.org/fhir/StructureDefinition/EffectEvidenceSynthesis -[s107]: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct -[s108]: http://hl7.org/fhir/StructureDefinition/Device -[s109]: http://hl7.org/fhir/StructureDefinition/shareablemeasure -[s110]: http://hl7.org/fhir/StructureDefinition/VisionPrescription -[s111]: http://hl7.org/fhir/StructureDefinition/Media -[s112]: http://hl7.org/fhir/StructureDefinition/MedicinalProductContraindication -[s113]: http://hl7.org/fhir/StructureDefinition/MolecularSequence -[s114]: http://hl7.org/fhir/StructureDefinition/EvidenceVariable -[s115]: http://hl7.org/fhir/StructureDefinition/MedicinalProduct -[s116]: http://hl7.org/fhir/StructureDefinition/clinicaldocument -[s117]: http://hl7.org/fhir/StructureDefinition/DeviceMetric -[s118]: http://hl7.org/fhir/StructureDefinition/headcircum -[s119]: http://hl7.org/fhir/StructureDefinition/Flag -[s120]: http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid -[s121]: http://hl7.org/fhir/StructureDefinition/RiskEvidenceSynthesis -[s122]: http://hl7.org/fhir/StructureDefinition/vitalsigns -[s123]: http://hl7.org/fhir/StructureDefinition/AppointmentResponse -[s124]: http://hl7.org/fhir/StructureDefinition/devicemetricobservation -[s125]: http://hl7.org/fhir/StructureDefinition/StructureMap -[s126]: http://hl7.org/fhir/StructureDefinition/AdverseEvent -[s127]: http://hl7.org/fhir/StructureDefinition/cqllibrary -[s128]: http://hl7.org/fhir/StructureDefinition/GuidanceResponse -[s129]: http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics -[s130]: http://hl7.org/fhir/StructureDefinition/Observation -[s131]: http://hl7.org/fhir/StructureDefinition/MedicationAdministration -[s132]: http://hl7.org/fhir/StructureDefinition/EnrollmentResponse -[s133]: http://hl7.org/fhir/StructureDefinition/Library -[s134]: http://hl7.org/fhir/StructureDefinition/Binary -[s135]: http://hl7.org/fhir/StructureDefinition/MedicinalProductInteraction -[s136]: http://hl7.org/fhir/StructureDefinition/MedicationStatement -[s137]: http://hl7.org/fhir/StructureDefinition/CommunicationRequest -[s138]: http://hl7.org/fhir/StructureDefinition/TestScript -[s139]: http://hl7.org/fhir/StructureDefinition/SubstancePolymer -[s140]: http://hl7.org/fhir/StructureDefinition/Basic -[s141]: http://hl7.org/fhir/StructureDefinition/TestReport -[s142]: http://hl7.org/fhir/StructureDefinition/ClaimResponse -[s143]: http://hl7.org/fhir/StructureDefinition/MedicationDispense -[s144]: http://hl7.org/fhir/StructureDefinition/bodyweight -[s145]: http://hl7.org/fhir/StructureDefinition/DiagnosticReport -[s146]: http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation -[s147]: http://hl7.org/fhir/StructureDefinition/HealthcareService -[s148]: http://hl7.org/fhir/StructureDefinition/MedicinalProductIndication -[s149]: http://hl7.org/fhir/StructureDefinition/catalog -[s150]: http://hl7.org/fhir/StructureDefinition/NutritionOrder -[s151]: http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities -[s152]: http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse -[s153]: http://hl7.org/fhir/StructureDefinition/Evidence -[s154]: http://hl7.org/fhir/StructureDefinition/AuditEvent -[s155]: http://hl7.org/fhir/StructureDefinition/PaymentReconciliation -[s156]: http://hl7.org/fhir/StructureDefinition/Condition -[s157]: http://hl7.org/fhir/StructureDefinition/SpecimenDefinition -[s158]: http://hl7.org/fhir/StructureDefinition/Composition -[s159]: http://hl7.org/fhir/StructureDefinition/DetectedIssue -[s160]: http://hl7.org/fhir/StructureDefinition/CompartmentDefinition -[s161]: http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient -[s162]: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge -[s163]: http://hl7.org/fhir/StructureDefinition/Patient -[s164]: http://hl7.org/fhir/StructureDefinition/Coverage -[s165]: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse -[s166]: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest -[s167]: http://hl7.org/fhir/StructureDefinition/NamingSystem -[s168]: http://hl7.org/fhir/StructureDefinition/MedicinalProductUndesirableEffect -[s169]: http://hl7.org/fhir/StructureDefinition/ExampleScenario -[s170]: http://hl7.org/fhir/StructureDefinition/resprate -[s171]: http://hl7.org/fhir/StructureDefinition/SupplyDelivery -[s172]: http://hl7.org/fhir/StructureDefinition/Schedule -[s173]: http://hl7.org/fhir/StructureDefinition/DeviceDefinition -[s174]: http://hl7.org/fhir/StructureDefinition/ClinicalImpression -[s175]: http://hl7.org/fhir/StructureDefinition/PlanDefinition -[s176]: http://hl7.org/fhir/StructureDefinition/MedicinalProductAuthorization -[s177]: http://hl7.org/fhir/StructureDefinition/bmi -[s178]: http://hl7.org/fhir/StructureDefinition/Claim -[s179]: http://hl7.org/fhir/StructureDefinition/Location +[s1]: http://hl7.org/fhir/R4/R4/StructureDefinition/Appointment +[s2]: http://hl7.org/fhir/R4/R4/StructureDefinition/Account +[s3]: http://hl7.org/fhir/R4/R4/StructureDefinition/Invoice +[s4]: http://hl7.org/fhir/R4/R4/StructureDefinition/CatalogEntry +[s5]: http://hl7.org/fhir/R4/R4/StructureDefinition/bodyheight +[s6]: http://hl7.org/fhir/R4/R4/StructureDefinition/EventDefinition +[s7]: http://hl7.org/fhir/R4/R4/StructureDefinition/heartrate +[s8]: http://hl7.org/fhir/R4/R4/StructureDefinition/DocumentManifest +[s9]: http://hl7.org/fhir/R4/R4/StructureDefinition/MessageDefinition +[s10]: http://hl7.org/fhir/R4/StructureDefinition/Goal +[s11]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductPackaged +[s12]: http://hl7.org/fhir/R4/StructureDefinition/Endpoint +[s13]: http://hl7.org/fhir/R4/StructureDefinition/EnrollmentRequest +[s14]: http://hl7.org/fhir/R4/StructureDefinition/Consent +[s15]: http://hl7.org/fhir/R4/StructureDefinition/CapabilityStatement +[s16]: http://hl7.org/fhir/R4/StructureDefinition/Medication +[s17]: http://hl7.org/fhir/R4/StructureDefinition/Measure +[s18]: http://hl7.org/fhir/R4/StructureDefinition/ResearchSubject +[s19]: http://hl7.org/fhir/R4/StructureDefinition/familymemberhistory-genetic +[s20]: http://hl7.org/fhir/R4/StructureDefinition/Subscription +[s21]: http://hl7.org/fhir/R4/StructureDefinition/GraphDefinition +[s22]: http://hl7.org/fhir/R4/StructureDefinition/DocumentReference +[s23]: http://hl7.org/fhir/R4/StructureDefinition/shareablelibrary +[s24]: http://hl7.org/fhir/R4/StructureDefinition/Parameters +[s25]: http://hl7.org/fhir/R4/StructureDefinition/CoverageEligibilityResponse +[s26]: http://hl7.org/fhir/R4/StructureDefinition/MeasureReport +[s27]: http://hl7.org/fhir/R4/StructureDefinition/actualgroup +[s28]: http://hl7.org/fhir/R4/StructureDefinition/SubstanceReferenceInformation +[s29]: http://hl7.org/fhir/R4/StructureDefinition/PractitionerRole +[s30]: http://hl7.org/fhir/R4/StructureDefinition/RelatedPerson +[s31]: http://hl7.org/fhir/R4/StructureDefinition/ServiceRequest +[s32]: http://hl7.org/fhir/R4/StructureDefinition/SupplyRequest +[s33]: http://hl7.org/fhir/R4/StructureDefinition/provenance-relevant-history +[s34]: http://hl7.org/fhir/R4/StructureDefinition/Practitioner +[s35]: http://hl7.org/fhir/R4/StructureDefinition/VerificationResult +[s36]: http://hl7.org/fhir/R4/StructureDefinition/groupdefinition +[s37]: http://hl7.org/fhir/R4/StructureDefinition/bp +[s38]: http://hl7.org/fhir/R4/StructureDefinition/SubstanceProtein +[s39]: http://hl7.org/fhir/R4/StructureDefinition/BodyStructure +[s40]: http://hl7.org/fhir/R4/StructureDefinition/shareableplandefinition +[s41]: http://hl7.org/fhir/R4/StructureDefinition/Slot +[s42]: http://hl7.org/fhir/R4/StructureDefinition/Contract +[s43]: http://hl7.org/fhir/R4/StructureDefinition/Person +[s44]: http://hl7.org/fhir/R4/StructureDefinition/RiskAssessment +[s45]: http://hl7.org/fhir/R4/StructureDefinition/cdshooksserviceplandefinition +[s46]: http://hl7.org/fhir/R4/StructureDefinition/Group +[s47]: http://hl7.org/fhir/R4/StructureDefinition/ResearchDefinition +[s48]: http://hl7.org/fhir/R4/StructureDefinition/PaymentNotice +[s49]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductManufactured +[s50]: http://hl7.org/fhir/R4/StructureDefinition/Organization +[s51]: http://hl7.org/fhir/R4/StructureDefinition/ImplementationGuide +[s52]: http://hl7.org/fhir/R4/StructureDefinition/CareTeam +[s53]: http://hl7.org/fhir/R4/StructureDefinition/vitalspanel +[s54]: http://hl7.org/fhir/R4/StructureDefinition/ImagingStudy +[s55]: http://hl7.org/fhir/R4/StructureDefinition/FamilyMemberHistory +[s56]: http://hl7.org/fhir/R4/StructureDefinition/ChargeItem +[s57]: http://hl7.org/fhir/R4/StructureDefinition/ehrsrle-auditevent +[s58]: http://hl7.org/fhir/R4/StructureDefinition/ResearchElementDefinition +[s59]: http://hl7.org/fhir/R4/StructureDefinition/ObservationDefinition +[s60]: http://hl7.org/fhir/R4/StructureDefinition/servicerequest-genetics +[s61]: http://hl7.org/fhir/R4/StructureDefinition/SubstanceSpecification +[s62]: http://hl7.org/fhir/R4/StructureDefinition/Encounter +[s63]: http://hl7.org/fhir/R4/StructureDefinition/Substance +[s64]: http://hl7.org/fhir/R4/StructureDefinition/shareableactivitydefinition +[s65]: http://hl7.org/fhir/R4/StructureDefinition/SearchParameter +[s66]: http://hl7.org/fhir/R4/StructureDefinition/hlaresult +[s67]: http://hl7.org/fhir/R4/StructureDefinition/Communication +[s68]: http://hl7.org/fhir/R4/StructureDefinition/InsurancePlan +[s69]: http://hl7.org/fhir/R4/StructureDefinition/ActivityDefinition +[s70]: http://hl7.org/fhir/R4/StructureDefinition/lipidprofile +[s71]: http://hl7.org/fhir/R4/StructureDefinition/Linkage +[s72]: http://hl7.org/fhir/R4/StructureDefinition/ehrsrle-provenance +[s73]: http://hl7.org/fhir/R4/StructureDefinition/observation-genetics +[s74]: http://hl7.org/fhir/R4/StructureDefinition/SubstanceSourceMaterial +[s75]: http://hl7.org/fhir/R4/StructureDefinition/ImmunizationEvaluation +[s76]: http://hl7.org/fhir/R4/StructureDefinition/bodytemp +[s77]: http://hl7.org/fhir/R4/StructureDefinition/DeviceUseStatement +[s78]: http://hl7.org/fhir/R4/StructureDefinition/synthesis +[s79]: http://hl7.org/fhir/R4/StructureDefinition/RequestGroup +[s80]: http://hl7.org/fhir/R4/StructureDefinition/MessageHeader +[s81]: http://hl7.org/fhir/R4/StructureDefinition/DeviceRequest +[s82]: http://hl7.org/fhir/R4/StructureDefinition/ImmunizationRecommendation +[s83]: http://hl7.org/fhir/R4/StructureDefinition/oxygensat +[s84]: http://hl7.org/fhir/R4/StructureDefinition/Task +[s85]: http://hl7.org/fhir/R4/StructureDefinition/Provenance +[s86]: http://hl7.org/fhir/R4/StructureDefinition/Questionnaire +[s87]: http://hl7.org/fhir/R4/StructureDefinition/picoelement +[s88]: http://hl7.org/fhir/R4/StructureDefinition/computableplandefinition +[s89]: http://hl7.org/fhir/R4/StructureDefinition/ExplanationOfBenefit +[s90]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductPharmaceutical +[s91]: http://hl7.org/fhir/R4/StructureDefinition/ResearchStudy +[s92]: http://hl7.org/fhir/R4/StructureDefinition/Specimen +[s93]: http://hl7.org/fhir/R4/StructureDefinition/CarePlan +[s94]: http://hl7.org/fhir/R4/StructureDefinition/AllergyIntolerance +[s95]: http://hl7.org/fhir/R4/StructureDefinition/StructureDefinition +[s96]: http://hl7.org/fhir/R4/StructureDefinition/ChargeItemDefinition +[s97]: http://hl7.org/fhir/R4/StructureDefinition/EpisodeOfCare +[s98]: http://hl7.org/fhir/R4/StructureDefinition/cqf-questionnaire +[s99]: http://hl7.org/fhir/R4/StructureDefinition/Procedure +[s100]: http://hl7.org/fhir/R4/StructureDefinition/List +[s101]: http://hl7.org/fhir/R4/StructureDefinition/ConceptMap +[s102]: http://hl7.org/fhir/R4/StructureDefinition/cdshooksrequestgroup +[s103]: http://hl7.org/fhir/R4/StructureDefinition/OperationDefinition +[s104]: http://hl7.org/fhir/R4/StructureDefinition/Immunization +[s105]: http://hl7.org/fhir/R4/StructureDefinition/MedicationRequest +[s106]: http://hl7.org/fhir/R4/StructureDefinition/EffectEvidenceSynthesis +[s107]: http://hl7.org/fhir/R4/StructureDefinition/BiologicallyDerivedProduct +[s108]: http://hl7.org/fhir/R4/StructureDefinition/Device +[s109]: http://hl7.org/fhir/R4/StructureDefinition/shareablemeasure +[s110]: http://hl7.org/fhir/R4/StructureDefinition/VisionPrescription +[s111]: http://hl7.org/fhir/R4/StructureDefinition/Media +[s112]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductContraindication +[s113]: http://hl7.org/fhir/R4/StructureDefinition/MolecularSequence +[s114]: http://hl7.org/fhir/R4/StructureDefinition/EvidenceVariable +[s115]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProduct +[s116]: http://hl7.org/fhir/R4/StructureDefinition/clinicaldocument +[s117]: http://hl7.org/fhir/R4/StructureDefinition/DeviceMetric +[s118]: http://hl7.org/fhir/R4/StructureDefinition/headcircum +[s119]: http://hl7.org/fhir/R4/StructureDefinition/Flag +[s120]: http://hl7.org/fhir/R4/StructureDefinition/SubstanceNucleicAcid +[s121]: http://hl7.org/fhir/R4/StructureDefinition/RiskEvidenceSynthesis +[s122]: http://hl7.org/fhir/R4/StructureDefinition/vitalsigns +[s123]: http://hl7.org/fhir/R4/StructureDefinition/AppointmentResponse +[s124]: http://hl7.org/fhir/R4/StructureDefinition/devicemetricobservation +[s125]: http://hl7.org/fhir/R4/StructureDefinition/StructureMap +[s126]: http://hl7.org/fhir/R4/StructureDefinition/AdverseEvent +[s127]: http://hl7.org/fhir/R4/StructureDefinition/cqllibrary +[s128]: http://hl7.org/fhir/R4/StructureDefinition/GuidanceResponse +[s129]: http://hl7.org/fhir/R4/StructureDefinition/diagnosticreport-genetics +[s130]: http://hl7.org/fhir/R4/StructureDefinition/Observation +[s131]: http://hl7.org/fhir/R4/StructureDefinition/MedicationAdministration +[s132]: http://hl7.org/fhir/R4/StructureDefinition/EnrollmentResponse +[s133]: http://hl7.org/fhir/R4/StructureDefinition/Library +[s134]: http://hl7.org/fhir/R4/StructureDefinition/Binary +[s135]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductInteraction +[s136]: http://hl7.org/fhir/R4/StructureDefinition/MedicationStatement +[s137]: http://hl7.org/fhir/R4/StructureDefinition/CommunicationRequest +[s138]: http://hl7.org/fhir/R4/StructureDefinition/TestScript +[s139]: http://hl7.org/fhir/R4/StructureDefinition/SubstancePolymer +[s140]: http://hl7.org/fhir/R4/StructureDefinition/Basic +[s141]: http://hl7.org/fhir/R4/StructureDefinition/TestReport +[s142]: http://hl7.org/fhir/R4/StructureDefinition/ClaimResponse +[s143]: http://hl7.org/fhir/R4/StructureDefinition/MedicationDispense +[s144]: http://hl7.org/fhir/R4/StructureDefinition/bodyweight +[s145]: http://hl7.org/fhir/R4/StructureDefinition/DiagnosticReport +[s146]: http://hl7.org/fhir/R4/StructureDefinition/OrganizationAffiliation +[s147]: http://hl7.org/fhir/R4/StructureDefinition/HealthcareService +[s148]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductIndication +[s149]: http://hl7.org/fhir/R4/StructureDefinition/catalog +[s150]: http://hl7.org/fhir/R4/StructureDefinition/NutritionOrder +[s151]: http://hl7.org/fhir/R4/StructureDefinition/TerminologyCapabilities +[s152]: http://hl7.org/fhir/R4/StructureDefinition/cdshooksguidanceresponse +[s153]: http://hl7.org/fhir/R4/StructureDefinition/Evidence +[s154]: http://hl7.org/fhir/R4/StructureDefinition/AuditEvent +[s155]: http://hl7.org/fhir/R4/StructureDefinition/PaymentReconciliation +[s156]: http://hl7.org/fhir/R4/StructureDefinition/Condition +[s157]: http://hl7.org/fhir/R4/StructureDefinition/SpecimenDefinition +[s158]: http://hl7.org/fhir/R4/StructureDefinition/Composition +[s159]: http://hl7.org/fhir/R4/StructureDefinition/DetectedIssue +[s160]: http://hl7.org/fhir/R4/StructureDefinition/CompartmentDefinition +[s161]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductIngredient +[s162]: http://hl7.org/fhir/R4/StructureDefinition/MedicationKnowledge +[s163]: http://hl7.org/fhir/R4/StructureDefinition/Patient +[s164]: http://hl7.org/fhir/R4/StructureDefinition/Coverage +[s165]: http://hl7.org/fhir/R4/StructureDefinition/QuestionnaireResponse +[s166]: http://hl7.org/fhir/R4/StructureDefinition/CoverageEligibilityRequest +[s167]: http://hl7.org/fhir/R4/StructureDefinition/NamingSystem +[s168]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductUndesirableEffect +[s169]: http://hl7.org/fhir/R4/StructureDefinition/ExampleScenario +[s170]: http://hl7.org/fhir/R4/StructureDefinition/resprate +[s171]: http://hl7.org/fhir/R4/StructureDefinition/SupplyDelivery +[s172]: http://hl7.org/fhir/R4/StructureDefinition/Schedule +[s173]: http://hl7.org/fhir/R4/StructureDefinition/DeviceDefinition +[s174]: http://hl7.org/fhir/R4/StructureDefinition/ClinicalImpression +[s175]: http://hl7.org/fhir/R4/StructureDefinition/PlanDefinition +[s176]: http://hl7.org/fhir/R4/StructureDefinition/MedicinalProductAuthorization +[s177]: http://hl7.org/fhir/R4/StructureDefinition/bmi +[s178]: http://hl7.org/fhir/R4/StructureDefinition/Claim +[s179]: http://hl7.org/fhir/R4/StructureDefinition/Location diff --git a/international401/datatypes.bal b/international401/datatypes.bal index 5f8f2b26..131c3bc5 100644 --- a/international401/datatypes.bal +++ b/international401/datatypes.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -20,17142 +20,201 @@ import ballerinax/health.fhir.r4; @r4:DataTypeDefinition { - name: "Interpretation", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationGeneticsInterpretation record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "questionnaireRequest", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ServicerequestQuestionnaireRequest record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "management", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OpenEHRManagement record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "duration", - baseType: (), - elements: { - - "valueDuration": { - name: "valueDuration", - dataType: r4:Duration, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type AllergyintoleranceDuration record {| - *r4:DurationExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Duration valueDuration; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "exposureDate", - baseType: (), - elements: { - - "valueDateTime": { - name: "valueDateTime", - dataType: r4:dateTime, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OpenEHRExposureDate record {| - *r4:DateTimeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:dateTime valueDateTime; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "styleSensitive", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type RenderingStyleSensitive record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "conceptOrder", - baseType: (), - elements: { - - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetConceptOrder record {| - *r4:IntegerExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "GenomicSourceClass", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationGeneticsGenomicSourceClass record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "method", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type HlaGenotypingResultsMethod record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "displayCategory", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireDisplayCategory record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "sibling", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type FamilyMemberHistoryGeneticsSibling record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - r4:Reference valueReference; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "AminoAcidChange", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationGeneticsAminoAcidChange record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "birthPlace", - baseType: (), - elements: { - - "valueAddress": { - name: "valueAddress", - dataType: r4:Address, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientBirthPlace record {| - *r4:AddressExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Address valueAddress; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-streetName", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPStreetName record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "preferredContact", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OrganizationPreferredContact record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "bestpractice-explanation", - baseType: (), - elements: { - - "valueMarkdown": { - name: "valueMarkdown", - dataType: r4:markdown, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionBestpracticeExplanation record {| - *r4:MarkdownExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:markdown valueMarkdown; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "References", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type DiagnosticReportGeneticsReferences record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string valueString; - r4:uri valueUri; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "Human Language", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Language record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "objectClassProperty", - baseType: (), - elements: { - - "valueCoding": { - name: "valueCoding", - dataType: r4:Coding, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObjectClassProperty record {| - *r4:CodingExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Coding valueCoding; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-postBox", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPPostBox record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "expression", - baseType: (), - elements: { - - "valueExpression": { - name: "valueExpression", - dataType: r4:Expression, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetExpression record {| - *r4:ExpressionExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Expression valueExpression; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "summaryOf", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type DiagnosticReportSummaryOf record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "supportLink", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireSupportLink record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "author", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireresponseAuthor record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "expand-group", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetExpandGroup record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - r4:code valueCode; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-houseNumber", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPHouseNumber record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "proficiency", - baseType: (), - elements: { - - "valueCoding": { - name: "valueCoding", - dataType: r4:Coding, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientProficiency record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Coding valueCoding; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "TEL-address", - baseType: (), - elements: { - - "valueUrl": { - name: "valueUrl", - dataType: r4:urlType, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoTELAddress record {| - *r4:UrlExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:urlType valueUrl; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Original Text", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OriginalText record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "template-status", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionTemplateStatus record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "sequelTo", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationSequelTo record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "MPPS", - baseType: (), - elements: { - - "valueIdentifier": { - name: "valueIdentifier", - dataType: r4:Identifier, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type AuditeventMPPS record {| - *r4:IdentifierExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Identifier valueIdentifier; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "administration", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OpenEHRAdministration record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "replaces", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type TaskReplaces record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "interpreterRequired", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientInterpreterRequired record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "replaces", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationReplaces record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "primaryInd", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OrganizationaffiliationPrimaryInd record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "exposureDuration", - baseType: (), - elements: { - - "valueDuration": { - name: "valueDuration", - dataType: r4:Duration, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OpenEHRExposureDuration record {| - *r4:DurationExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Duration valueDuration; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "approachBodyStructure", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ProcedureApproachBodyStructure record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "group", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type UsagecontextGroup record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "markdown", - baseType: (), - elements: { - - "valueMarkdown": { - name: "valueMarkdown", - dataType: r4:markdown, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type RenderingMarkdown record {| - *r4:MarkdownExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:markdown valueMarkdown; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "episodeOfCare", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type WorkflowEpisodeOfCare record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "lastReviewDate", - baseType: (), - elements: { - - "valueDate": { - name: "valueDate", - dataType: r4:date, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ResourceLastReviewDate record {| - *r4:DateExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:date valueDate; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "isCommonBinding", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionIsCommonBinding record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "partner-prefix", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type HumannamePartnerPrefix record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "security-category", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionSecurityCategory record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "warning", - baseType: (), - elements: { - - "valueMarkdown": { - name: "valueMarkdown", - dataType: r4:markdown, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemWarning record {| - *r4:MarkdownExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:markdown valueMarkdown; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "eventHistory", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type EventEventHistory record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "mothersMaidenName", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientMothersMaidenName record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "reasonRejected", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type GoalReasonRejected record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "directedBy", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ProcedureDirectedBy record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "signatureRequired", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireSignatureRequired record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "doNotPerform", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type RequestDoNotPerform record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "statusReason", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type RequestStatusReason record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-precinct", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPPrecinct record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "alternate", - baseType: (), - elements: { - - "valueCoding": { - name: "valueCoding", - dataType: r4:Coding, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemAlternate record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Coding valueCoding; - r4:code valueCode; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "style", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type RenderingStyle record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "fathers-family", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type HumannameFathersFamily record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "equivalence", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionEquivalence record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "uncertaintyType", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoUncertaintyType record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "assembly-order", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type HumannameAssemblyOrder record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "referenceFilter", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireReferenceFilter record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "reasonCode", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type WorkflowReasonCode record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "label", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetLabel record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "completionMode", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireresponseCompletionMode record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "fhirType", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireFhirType record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "question", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionQuestion record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "regex", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Regex record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "insurance", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type RequestInsurance record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "optionExclusive", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireOptionExclusive record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "qualityOfEvidence", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfQualityOfEvidence record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Transcriber", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ConsentTranscriber record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "workflowStatus", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemWorkflowStatus record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-careOf", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPCareOf record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-deliveryModeIdentifier", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPDeliveryModeIdentifier record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "targetBodyStructure", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ProcedureTargetBodyStructure record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Gene", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationGeneticsGene record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "precision", - baseType: (), - elements: { - - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuantityPrecision record {| - *r4:IntegerExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "sliderStepValue", - baseType: (), - elements: { - - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireSliderStepValue record {| - *r4:IntegerExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "DataElement constraint on ElementDefinition data type", - baseType: (), - elements: { - - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "ElementDefinition.modifierExtension" - }, - "ElementdefinitionDeSlicingDiscriminatorType": { - name: "ElementdefinitionDeSlicingDiscriminatorType", - dataType: ElementdefinitionDeSlicingDiscriminatorType, - min: 1, - max: 1, - isArray: false, - description: "How the element value is interpreted when discrimination is evaluated.", - path: "ElementDefinition.slicing.discriminator.type" - }, - "binding": { - name: "binding", - dataType: r4:ElementBinding, - min: 0, - max: 1, - isArray: false, - description: "Binds to a value set if this element is coded (code, Coding, CodeableConcept, Quantity), or the data types (string, uri).", - path: "ElementDefinition.binding" - }, - "ElementdefinitionDeTypeAggregation": { - name: "ElementdefinitionDeTypeAggregation", - dataType: ElementdefinitionDeTypeAggregation, - min: 0, - max: 0, - isArray: false, - description: "If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle.", - path: "ElementDefinition.type.aggregation" - }, - "language": { - name: "language", - dataType: r4:code, - min: 0, - max: 1, - isArray: false, - description: "Identifies the computable language in which mapping.map is expressed.", - path: "ElementDefinition.mapping.language" - }, - "path": { - name: "path", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [StructureDefinition](http://hl7.org/fhir/structuredefinition.html#) without a StructureDefinition.base.", - path: "ElementDefinition.base.path" - }, - "fixedBase64Binary": { - name: "fixedBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Specifies a value that SHALL be exactly the value for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing.", - path: "ElementDefinition.fixed[x]" - }, - "'source": { - name: "'source", - dataType: r4:canonical, - min: 0, - max: 1, - isArray: false, - description: "A reference to the original source of the constraint, for traceability purposes.", - path: "ElementDefinition.constraint.source" - }, - "defaultValueBase64Binary": { - name: "defaultValueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 1, - isArray: false, - description: "The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false').", - path: "ElementDefinition.defaultValue[x]" - }, - "mapping": { - name: "mapping", - dataType: r4:ElementMapping, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Identifies a concept from an external specification that roughly corresponds to this element.", - path: "ElementDefinition.mapping" - }, - "isModifier": { - name: "isModifier", - dataType: boolean, - min: 0, - max: 0, - isArray: false, - description: "If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system.", - path: "ElementDefinition.isModifier" - }, - "profile": { - name: "profile", - dataType: r4:canonical, - min: 0, - max: 0, - isArray: false, - description: "Identifies a profile structure or implementation Guide that applies to the datatype this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the type SHALL conform to at least one profile defined in the implementation guide.", - path: "ElementDefinition.type.profile" - }, - "ElementdefinitionDeConstraintSeverity": { - name: "ElementdefinitionDeConstraintSeverity", - dataType: ElementdefinitionDeConstraintSeverity, - min: 1, - max: 1, - isArray: false, - description: "Identifies the impact constraint violation has on the conformance of the instance.", - path: "ElementDefinition.constraint.severity" - }, - "isSummary": { - name: "isSummary", - dataType: boolean, - min: 0, - max: 0, - isArray: false, - description: "Whether the element should be included if a client requests a search with the parameter _summary=true.", - path: "ElementDefinition.isSummary" - }, - "condition": { - name: "condition", - dataType: r4:id, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "A reference to an invariant that may make additional statements about the cardinality or value in the instance.", - path: "ElementDefinition.condition" - }, - "patternBase64Binary": { - name: "patternBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example. When pattern[x] is used to constrain a primitive, it means that the value provided in the pattern[x] must match the instance value exactly. When pattern[x] is used to constrain an array, it means that each element provided in the pattern[x] array must (recursively) match at least one element from the instance array. When pattern[x] is used to constrain a complex object, it means that each property in the pattern must be present in the complex object, and its value must recursively match -- i.e., 1. If primitive: it must match exactly the pattern value 2. If a complex object: it must match (recursively) the pattern value 3. If an array: it must match (recursively) the pattern value.", - path: "ElementDefinition.pattern[x]" - }, - "ElementdefinitionDeBindingStrength": { - name: "ElementdefinitionDeBindingStrength", - dataType: ElementdefinitionDeBindingStrength, - min: 1, - max: 1, - isArray: false, - description: "Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances.", - path: "ElementDefinition.binding.strength" - }, - "orderMeaning": { - name: "orderMeaning", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "If present, indicates that the order of the repeating element has meaning and describes what that meaning is. If absent, it means that the order of the element has no meaning.", - path: "ElementDefinition.orderMeaning" - }, - "targetProfile": { - name: "targetProfile", - dataType: r4:canonical, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Used when the type is 'Reference' or 'canonical', and identifies a profile structure or implementation Guide that applies to the target of the reference this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide.", - path: "ElementDefinition.type.targetProfile" - }, - "meaningWhenMissing": { - name: "meaningWhenMissing", - dataType: r4:markdown, - min: 0, - max: 1, - isArray: false, - description: "The Implicit meaning that is to be understood when this element is missing (e.g. 'when this element is missing, the period is ongoing').", - path: "ElementDefinition.meaningWhenMissing" - }, - "'type": { - name: "'type", - dataType: r4:ElementType, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "The data type or resource that the value of this element is permitted to be.", - path: "ElementDefinition.type" - }, - "isModifierReason": { - name: "isModifierReason", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Explains how that element affects the interpretation of the resource or element that contains it.", - path: "ElementDefinition.isModifierReason" - }, - "maxLength": { - name: "maxLength", - dataType: r4:integer, - min: 0, - max: 1, - isArray: false, - description: "Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element.", - path: "ElementDefinition.maxLength" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 1, - max: 1, - isArray: false, - description: "The actual value for the element, which must be one of the types allowed for this element.", - path: "ElementDefinition.example.value[x]" - }, - "code": { - name: "code", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "URL of Data type or Resource that is a(or the) type used for this element. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition e.g. 'string' is a reference to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are only allowed in logical models.", - path: "ElementDefinition.type.code" - }, - "valueSet": { - name: "valueSet", - dataType: r4:canonical, - min: 0, - max: 1, - isArray: false, - description: "Refers to the value set that identifies the set of codes the binding refers to.", - path: "ElementDefinition.binding.valueSet" - }, - "maxValueDate": { - name: "maxValueDate", - dataType: r4:date, - min: 0, - max: 1, - isArray: false, - description: "The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.", - path: "ElementDefinition.maxValue[x]" - }, - "ElementdefinitionDeTypeVersioning": { - name: "ElementdefinitionDeTypeVersioning", - dataType: ElementdefinitionDeTypeVersioning, - min: 0, - max: 1, - isArray: false, - description: "Whether this reference needs to be version specific or version independent, or whether either can be used.", - path: "ElementDefinition.type.versioning" - }, - "'map": { - name: "'map", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Expresses what part of the target specification corresponds to this element.", - path: "ElementDefinition.mapping.map" - }, - "description": { - name: "description", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Describes the intended use of this particular set of codes.", - path: "ElementDefinition.binding.description" - }, - "ElementdefinitionDeSlicingRules": { - name: "ElementdefinitionDeSlicingRules", - dataType: ElementdefinitionDeSlicingRules, - min: 1, - max: 1, - isArray: false, - description: "Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end.", - path: "ElementDefinition.slicing.rules" - }, - "minValueDate": { - name: "minValueDate", - dataType: r4:date, - min: 0, - max: 1, - isArray: false, - description: "The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.", - path: "ElementDefinition.minValue[x]" - }, - "example": { - name: "example", - dataType: r4:ElementExample, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "A sample value for this element demonstrating the type of information that would typically be found in the element.", - path: "ElementDefinition.example" - }, - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "ElementDefinition.extension.value[x]" - }, - "xpath": { - name: "xpath", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "An XPath expression of constraint that can be executed to see if this constraint is met.", - path: "ElementDefinition.constraint.xpath" - }, - "min": { - name: "min", - dataType: r4:unsignedInt, - min: 1, - max: 1, - isArray: false, - description: "Minimum cardinality of the base element identified by the path.", - path: "ElementDefinition.base.min" - }, - "identity": { - name: "identity", - dataType: r4:id, - min: 1, - max: 1, - isArray: false, - description: "An internal reference to the definition of a mapping.", - path: "ElementDefinition.mapping.identity" - }, - "alias": { - name: "alias", - dataType: string, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Identifies additional names by which this element might also be known.", - path: "ElementDefinition.alias" - }, - "definition": { - name: "definition", - dataType: r4:markdown, - min: 0, - max: 1, - isArray: false, - description: "Provides a complete explanation of the meaning of the data element for human readability. For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource. (Note: The text you are reading is specified in ElementDefinition.definition).", - path: "ElementDefinition.definition" - }, - "human": { - name: "human", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Text that can be used to describe the constraint in messages identifying that the constraint has been violated.", - path: "ElementDefinition.constraint.human" - }, - "sliceIsConstraining": { - name: "sliceIsConstraining", - dataType: boolean, - min: 0, - max: 1, - isArray: false, - description: "If true, indicates that this slice definition is constraining a slice definition with the same name in an inherited profile. If false, the slice is not overriding any slice in an inherited profile. If missing, the slice might or might not be overriding a slice in an inherited profile, depending on the sliceName.", - path: "ElementDefinition.sliceIsConstraining" - }, - "key": { - name: "key", - dataType: r4:id, - min: 1, - max: 1, - isArray: false, - description: "Allows identification of which elements have their cardinalities impacted by the constraint. Will not be referenced for constraints that do not affect cardinality.", - path: "ElementDefinition.constraint.key" - }, - "slicing": { - name: "slicing", - dataType: r4:ElementSlicing, - min: 0, - max: 0, - isArray: false, - description: "Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set).", - path: "ElementDefinition.slicing" - }, - "ordered": { - name: "ordered", - dataType: boolean, - min: 0, - max: 1, - isArray: false, - description: "If the matching elements have to occur in the same order as defined in the profile.", - path: "ElementDefinition.slicing.ordered" - }, - "requirements": { - name: "requirements", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Description of why this constraint is necessary or appropriate.", - path: "ElementDefinition.constraint.requirements" - }, - "expression": { - name: "expression", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "A [FHIRPath](http://hl7.org/fhir/fhirpath.html) expression of constraint that can be executed to see if this constraint is met.", - path: "ElementDefinition.constraint.expression" - }, - "mustSupport": { - name: "mustSupport", - dataType: boolean, - min: 0, - max: 1, - isArray: false, - description: "If true, implementations that produce or consume resources SHALL provide 'support' for the element in some meaningful way. If false, the element may be ignored and not supported. If false, whether to populate or use the data element in any way is at the discretion of the implementation.", - path: "ElementDefinition.mustSupport" - }, - "max": { - name: "max", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Maximum cardinality of the base element identified by the path.", - path: "ElementDefinition.base.max" - }, - "ElementdefinitionDeRepresentation": { - name: "ElementdefinitionDeRepresentation", - dataType: ElementdefinitionDeRepresentation, - min: 0, - max: 0, - isArray: false, - description: "Codes that define how this element is represented in instances, when the deviation varies from the normal case.", - path: "ElementDefinition.representation" - }, - "label": { - name: "label", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Describes the purpose of this example amoung the set of examples.", - path: "ElementDefinition.example.label" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "ElementDefinition.extension.url" - }, - "discriminator": { - name: "discriminator", - dataType: r4:ElementDiscriminator, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices.", - path: "ElementDefinition.slicing.discriminator" - }, - "sliceName": { - name: "sliceName", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "The name of this element definition slice, when slicing is working. The name must be a token with no dots or spaces. This is a unique name referring to a specific set of constraints applied to this element, used to provide a name to different slices of the same element.", - path: "ElementDefinition.sliceName" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "ElementDefinition.extension.value[x]" - }, - "contentReference": { - name: "contentReference", - dataType: r4:uri, - min: 0, - max: 0, - isArray: false, - description: "Identifies an element defined elsewhere in the definition whose content rules should be applied to the current element. ContentReferences bring across all the rules that are in the ElementDefinition for the element, including definitions, cardinality constraints, bindings, invariants etc.", - path: "ElementDefinition.contentReference" - }, - "short": { - name: "short", - dataType: string, - min: 0, - max: 0, - isArray: false, - description: "A concise description of what this element means (e.g. for use in autogenerated summaries).", - path: "ElementDefinition.short" - }, - "comment": { - name: "comment", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Comments that provide information about the mapping or its use.", - path: "ElementDefinition.mapping.comment" - }, - "constraint": { - name: "constraint", - dataType: r4:ElementConstraint, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance.", - path: "ElementDefinition.constraint" - }, - "base": { - name: "base", - dataType: r4:ElementBase, - min: 0, - max: 1, - isArray: false, - description: "Information about the base definition of the element, provided to make it unnecessary for tools to trace the deviation of the element through the derived and related profiles. When the element definition is not the original definition of an element - i.g. either in a constraint on another type, or for elements from a super type in a snap shot - then the information in provided in the element definition may be different to the base definition. On the original definition of the element, it will be same.", - path: "ElementDefinition.base" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionDe record {| - *r4:ElementDefinition; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Extension[] modifierExtension?; - ElementdefinitionDeSlicingDiscriminatorType ElementdefinitionDeSlicingDiscriminatorType; - r4:ElementBinding binding?; - r4:code language?; - string path; - r4:canonical 'source?; - r4:base64Binary defaultValueBase64Binary?; - r4:ElementMapping[] mapping?; - ElementdefinitionDeConstraintSeverity ElementdefinitionDeConstraintSeverity; - r4:id[] condition?; - ElementdefinitionDeBindingStrength ElementdefinitionDeBindingStrength; - string orderMeaning?; - r4:canonical[] targetProfile?; - r4:markdown meaningWhenMissing?; - r4:ElementType[] 'type?; - string isModifierReason?; - r4:integer maxLength?; - r4:base64Binary valueBase64Binary; - r4:Coding[] code?; - r4:canonical valueSet?; - r4:date maxValueDate?; - ElementdefinitionDeTypeVersioning ElementdefinitionDeTypeVersioning?; - string 'map; - string description?; - ElementdefinitionDeSlicingRules ElementdefinitionDeSlicingRules; - r4:date minValueDate?; - r4:ElementExample[] example?; - r4:CodeableConcept valueCodeableConcept; - string xpath?; - r4:unsignedInt min?; - r4:id identity; - string[] alias?; - r4:markdown definition?; - string human; - boolean sliceIsConstraining?; - r4:id key; - boolean ordered?; - r4:markdown requirements?; - string expression?; - boolean mustSupport?; - string max?; - string label?; - string url; - r4:ElementDiscriminator[] discriminator?; - string sliceName?; - string valueString; - r4:markdown comment?; - r4:ElementConstraint[] constraint?; - r4:ElementBase base?; -|}; - -public enum ElementdefinitionDeBindingStrength { - CODE_ELEMENTDEFINITIONDEBINDINGSTRENGTH_EXTENSIBLE = "extensible", - CODE_ELEMENTDEFINITIONDEBINDINGSTRENGTH_REQUIRED = "required", - CODE_ELEMENTDEFINITIONDEBINDINGSTRENGTH_PREFERRED = "preferred", - CODE_ELEMENTDEFINITIONDEBINDINGSTRENGTH_EXAMPLE = "example" -}; - -public enum ElementdefinitionDeTypeVersioning { - CODE_ELEMENTDEFINITIONDETYPEVERSIONING_EITHER = "either", - CODE_ELEMENTDEFINITIONDETYPEVERSIONING_INDEPENDENT = "independent", - CODE_ELEMENTDEFINITIONDETYPEVERSIONING_SPECIFIC = "specific" -}; - -public enum ElementdefinitionDeSlicingDiscriminatorType { - CODE_ELEMENTDEFINITIONDESLICINGDISCRIMINATORTYPE_PROFILE = "profile", - CODE_ELEMENTDEFINITIONDESLICINGDISCRIMINATORTYPE_PATTERN = "pattern", - CODE_ELEMENTDEFINITIONDESLICINGDISCRIMINATORTYPE_EXISTS = "exists", - CODE_ELEMENTDEFINITIONDESLICINGDISCRIMINATORTYPE_TYPE = "type", - CODE_ELEMENTDEFINITIONDESLICINGDISCRIMINATORTYPE_VALUE = "value" -}; - -public enum ElementdefinitionDeRepresentation { - CODE_ELEMENTDEFINITIONDEREPRESENTATION_XMLTEXT = "xmlText", - CODE_ELEMENTDEFINITIONDEREPRESENTATION_CDATEXT = "cdaText", - CODE_ELEMENTDEFINITIONDEREPRESENTATION_XMLATTR = "xmlAttr", - CODE_ELEMENTDEFINITIONDEREPRESENTATION_TYPEATTR = "typeAttr", - CODE_ELEMENTDEFINITIONDEREPRESENTATION_XHTML = "xhtml" -}; - -public enum ElementdefinitionDeTypeAggregation { - CODE_ELEMENTDEFINITIONDETYPEAGGREGATION_CONTAINED = "contained", - CODE_ELEMENTDEFINITIONDETYPEAGGREGATION_BUNDLED = "bundled", - CODE_ELEMENTDEFINITIONDETYPEAGGREGATION_REFERENCED = "referenced" -}; - -public enum ElementdefinitionDeConstraintSeverity { - CODE_ELEMENTDEFINITIONDECONSTRAINTSEVERITY_WARNING = "warning", - CODE_ELEMENTDEFINITIONDECONSTRAINTSEVERITY_ERROR = "error" -}; - -public enum ElementdefinitionDeSlicingRules { - CODE_ELEMENTDEFINITIONDESLICINGRULES_CLOSED = "closed", - CODE_ELEMENTDEFINITIONDESLICINGRULES_OPENATEND = "openAtEnd", - CODE_ELEMENTDEFINITIONDESLICINGRULES_OPEN = "open" -}; - - -@r4:DataTypeDefinition { - name: "ADXP-deliveryInstallationArea", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPDeliveryInstallationArea record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "patientInstruction", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type DevicerequestPatientInstruction record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - r4:code valueCode; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "unitValueSet", - baseType: (), - elements: { - - "valueCanonical": { - name: "valueCanonical", - dataType: r4:canonical, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireUnitValueSet record {| - *r4:CanonicalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:canonical valueCanonical; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "map", - baseType: (), - elements: { - - "valueCanonical": { - name: "valueCanonical", - dataType: r4:canonical, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemMap record {| - *r4:CanonicalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:canonical valueCanonical; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "certainty", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type AllergyintoleranceCertainty record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Timezone Offset", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type TzOffset record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "reasonReference", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type WorkflowReasonReference record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "maxValueSet", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionMaxValueSet record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "reference", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetReference record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "bidirectional", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ConceptBidirectional record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "delta", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationDelta record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "location", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ConsentLocation record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "map", - baseType: (), - elements: { - - "valueCanonical": { - name: "valueCanonical", - dataType: r4:canonical, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetMap record {| - *r4:CanonicalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:canonical valueCanonical; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "capabilities", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Capabilities record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "sequenceNumber", - baseType: (), - elements: { - - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type SpecimenSequenceNumber record {| - *r4:IntegerExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Accession", - baseType: (), - elements: { - - "valueIdentifier": { - name: "valueIdentifier", - dataType: r4:Identifier, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type AuditeventAccession record {| - *r4:IdentifierExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Identifier valueIdentifier; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "workflowStatus", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetWorkflowStatus record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "uncertainty", - baseType: (), - elements: { - - "valueDecimal": { - name: "valueDecimal", - dataType: decimal, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoUncertainty record {| - *r4:DecimalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - decimal valueDecimal; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "selector", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionSelector record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "resolutionAge", - baseType: (), - elements: { - - "valueAge": { - name: "valueAge", - dataType: r4:Age, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type AllergyintoleranceResolutionAge record {| - *r4:AgeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Age valueAge; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "reasonRefuted", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type AllergyintoleranceReasonRefuted record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "addendumOf", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type DiagnosticReportAddendumOf record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "trusted-expansion", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemTrustedExpansion record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "summary", - baseType: (), - elements: { - - "valueMarkdown": { - name: "valueMarkdown", - dataType: r4:markdown, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionSummary record {| - *r4:MarkdownExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:markdown valueMarkdown; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "label", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemLabel record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Anonymized", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type AuditeventAnonymized record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "usageMode", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireUsageMode record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "expirationDate", - baseType: (), - elements: { - - "valueDate": { - name: "valueDate", - dataType: r4:date, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetExpirationDate record {| - *r4:DateExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:date valueDate; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "permitted-value-valueset", - baseType: (), - elements: { - - "valueCanonical": { - name: "valueCanonical", - dataType: r4:canonical, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PermittedValueValueset record {| - *r4:CanonicalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:canonical valueCanonical; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "relatedArtifact", - baseType: (), - elements: { - - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - }, - "valueRelatedArtifact": { - name: "valueRelatedArtifact", - dataType: r4:RelatedArtifact, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type WorkflowRelatedArtifact record {| - *r4:RelatedArtifactExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string url; - r4:RelatedArtifact valueRelatedArtifact; -|}; - - -@r4:DataTypeDefinition { - name: "concept-comments", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemConceptComments record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "codegen-super", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionCodegenSuper record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "timeOffset", - baseType: (), - elements: { - - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationTimeOffset record {| - *r4:IntegerExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "authority", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OperationoutcomeAuthority record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "minValue", - baseType: (), - elements: { - - "valueDate": { - name: "valueDate", - dataType: r4:date, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type MinValue record {| - *r4:DateExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:date valueDate; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-unitID", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPUnitID record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "choiceOrientation", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireChoiceOrientation record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "warning", - baseType: (), - elements: { - - "valueMarkdown": { - name: "valueMarkdown", - dataType: r4:markdown, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetWarning record {| - *r4:MarkdownExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:markdown valueMarkdown; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "reason", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireresponseReason record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "locationPerformed", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type DiagnosticReportLocationPerformed record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "implantStatus", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type DeviceImplantStatus record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "permitted-value-conceptmap", - baseType: (), - elements: { - - "valueCanonical": { - name: "valueCanonical", - dataType: r4:canonical, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PermittedValueConceptmap record {| - *r4:CanonicalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:canonical valueCanonical; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "period", - baseType: (), - elements: { - - "valuePeriod": { - name: "valuePeriod", - dataType: r4:Period, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OrganizationPeriod record {| - *r4:PeriodExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Period valuePeriod; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "nationality", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valuePeriod": { - name: "valuePeriod", - dataType: r4:Period, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientNationality record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - r4:Period valuePeriod; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "initiatingPerson", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfInitiatingPerson record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "BodyStructure Reference", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type BodySite record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "receivingOrganization", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfReceivingOrganization record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "cadavericDonor", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientCadavericDonor record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "otherName", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetOtherName record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string valueString; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "systemName", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetSystemName record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "unit", - baseType: (), - elements: { - - "valueCoding": { - name: "valueCoding", - dataType: r4:Coding, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireUnit record {| - *r4:CodingExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Coding valueCoding; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "specimenCode", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationSpecimenCode record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "keyWord", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetKeyWord record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "expectation", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CapabilitystatementExpectation record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "signature", - baseType: (), - elements: { - - "valueSignature": { - name: "valueSignature", - dataType: r4:Signature, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireresponseSignature record {| - *r4:SignatureExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Signature valueSignature; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ParticipantObjectContainsStudy", - baseType: (), - elements: { - - "valueIdentifier": { - name: "valueIdentifier", - dataType: r4:Identifier, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type AuditeventParticipantObjectContainsStudy record {| - *r4:IdentifierExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Identifier valueIdentifier; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "minValueSet", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionMinValueSet record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "nullFlavor", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoNullFlavor record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "measureInfo", - baseType: (), - elements: { - - "valueCanonical": { - name: "valueCanonical", - dataType: r4:canonical, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfMeasureInfo record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:canonical valueCanonical; - string valueString; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "allowed-type", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OperationdefinitionAllowedType record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-houseNumberNumeric", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPHouseNumberNumeric record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "xml-no-order", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionXmlNoOrder record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "cdsHooksEndpoint", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfCdsHooksEndpoint record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "conceptOrder", - baseType: (), - elements: { - - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemConceptOrder record {| - *r4:IntegerExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-additionalLocator", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPAdditionalLocator record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "daysOfCycle", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type TimingDaysOfCycle record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "haploid", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type HlaGenotypingResultsHaploid record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "dueTo", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ConditionDueTo record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "versionNumber", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CompositionClinicaldocumentVersionNumber record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ProductShelfLife", - baseType: (), - elements: { - - "identifier": { - name: "identifier", - dataType: r4:Identifier, - min: 0, - max: 1, - isArray: false, - description: "Unique identifier for the packaged Medicinal Product.", - path: "ProductShelfLife.identifier" - }, - "period": { - name: "period", - dataType: r4:Quantity, - min: 1, - max: 1, - isArray: false, - description: "The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.", - path: "ProductShelfLife.period" - }, - "specialPrecautionsForStorage": { - name: "specialPrecautionsForStorage", - dataType: r4:CodeableConcept, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified.", - path: "ProductShelfLife.specialPrecautionsForStorage" - }, - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "ProductShelfLife.modifierExtension" - }, - "'type": { - name: "'type", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified.", - path: "ProductShelfLife.type" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ProductShelfLife record {| - *r4:ProductShelfLife; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Identifier identifier?; - r4:Quantity period; - r4:CodeableConcept[] specialPrecautionsForStorage?; - r4:Extension[] modifierExtension?; - r4:CodeableConcept 'type; -|}; - - -@r4:DataTypeDefinition { - name: "constraint", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueId": { - name: "valueId", - dataType: r4:id, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireConstraint record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:id valueId; - string valueString; - r4:code valueCode; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "country", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ContactpointCountry record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "normative-version", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionNormativeVersion record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Encrypted", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type AuditeventEncrypted record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "reagent", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationReagent record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-streetNameBase", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPStreetNameBase record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "optionPrefix", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireOptionPrefix record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "animalSpecies", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PractitionerAnimalSpecies record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "validDate", - baseType: (), - elements: { - - "valueDateTime": { - name: "valueDateTime", - dataType: r4:dateTime, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IdentifierValidDate record {| - *r4:DateTimeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:dateTime valueDateTime; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "citizenship", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valuePeriod": { - name: "valuePeriod", - dataType: r4:Period, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientCitizenship record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - r4:Period valuePeriod; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "baseType", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireBaseType record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "partner-name", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type HumannamePartnerName record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Allele", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueDecimal": { - name: "valueDecimal", - dataType: decimal, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationGeneticsAllele record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - decimal valueDecimal; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "reasonCancelled", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type EncounterReasonCancelled record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "glstring", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type HlaGenotypingResultsGlstring record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - r4:uri valueUri; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "fmm-no-warnings", - baseType: (), - elements: { - - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionFmmNoWarnings record {| - *r4:IntegerExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Variant", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationGeneticsVariant record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "display-hint", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionDisplayHint record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "entryFormat", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type EntryFormat record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "replaces", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type RequestReplaces record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "deprecated", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetDeprecated record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "candidateList", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type TaskCandidateList record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "concept-definition", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetConceptDefinition record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Translation", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Translation record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - r4:code valueCode; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "birthTime", - baseType: (), - elements: { - - "valueDateTime": { - name: "valueDateTime", - dataType: r4:dateTime, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientBirthTime record {| - *r4:DateTimeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:dateTime valueDateTime; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "mothers-family", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type HumannameMothersFamily record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "unitOption", - baseType: (), - elements: { - - "valueCoding": { - name: "valueCoding", - dataType: r4:Coding, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireUnitOption record {| - *r4:CodingExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Coding valueCoding; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "severity", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type FamilymemberhistorySeverity record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "encounterType", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfEncounterType record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "toocostly", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetToocostly record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "relevantHistory", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type RequestRelevantHistory record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "sctdescid", - baseType: (), - elements: { - - "valueId": { - name: "valueId", - dataType: r4:id, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodingSctdescid record {| - *r4:IdExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:id valueId; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "profile-element", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionProfileElement record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "unclosed", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetUnclosed record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "explicit-type-name", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionExplicitTypeName record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Item", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ServicerequestGeneticsItem record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - r4:Reference valueReference; - r4:code valueCode; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-deliveryInstallationType", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPDeliveryInstallationType record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "library", - baseType: (), - elements: { - - "valueCanonical": { - name: "valueCanonical", - dataType: r4:canonical, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfLibrary record {| - *r4:CanonicalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:canonical valueCanonical; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "author", - baseType: (), - elements: { - - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - }, - "valueContactDetail": { - name: "valueContactDetail", - dataType: r4:ContactDetail, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetAuthor record {| - *r4:ContactDetailExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string url; - r4:ContactDetail valueContactDetail; -|}; - - -@r4:DataTypeDefinition { - name: "genderIdentity", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientGenderIdentity record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "approvalDate", - baseType: (), - elements: { - - "valueDate": { - name: "valueDate", - dataType: r4:date, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ResourceApprovalDate record {| - *r4:DateExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:date valueDate; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ruledOut", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ConditionRuledOut record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "replacedby", - baseType: (), - elements: { - - "valueCoding": { - name: "valueCoding", - dataType: r4:Coding, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemReplacedby record {| - *r4:CodingExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Coding valueCoding; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Design Note", - baseType: (), - elements: { - - "valueMarkdown": { - name: "valueMarkdown", - dataType: r4:markdown, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type DesignNote record {| - *r4:MarkdownExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:markdown valueMarkdown; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "referenceProfile", - baseType: (), - elements: { - - "valueCanonical": { - name: "valueCanonical", - dataType: r4:canonical, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireReferenceProfile record {| - *r4:CanonicalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:canonical valueCanonical; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "encounterClass", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfEncounterClass record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "relativeDateTime", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueDuration": { - name: "valueDuration", - dataType: r4:Duration, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfRelativeDateTime record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string valueString; - r4:code valueCode; - r4:Duration valueDuration; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "http-response-header", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type HttpResponseHeader record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "parent", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type FamilyMemberHistoryGeneticsParent record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - r4:Reference valueReference; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "steward", - baseType: (), - elements: { - - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - }, - "valueContactDetail": { - name: "valueContactDetail", - dataType: r4:ContactDetail, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetSteward record {| - *r4:ContactDetailExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string url; - r4:ContactDetail valueContactDetail; -|}; - - -@r4:DataTypeDefinition { - name: "bindingName", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionBindingName record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "keyWord", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemKeyWord record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "recipientType", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfRecipientType record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "fhir-type", - baseType: (), - elements: { - - "valueUrl": { - name: "valueUrl", - dataType: r4:urlType, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionFhirType record {| - *r4:UrlExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:urlType valueUrl; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "careplan", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OpenEHRCareplan record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "expand-rules", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetExpandRules record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "hierarchy", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionHierarchy record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-streetNameType", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPStreetNameType record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "DNARegionName", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationGeneticsDNARegionName record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "rules-text", - baseType: (), - elements: { - - "valueMarkdown": { - name: "valueMarkdown", - dataType: r4:markdown, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetRulesText record {| - *r4:MarkdownExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:markdown valueMarkdown; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "referenceResource", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireReferenceResource record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "location", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OpenEHRLocation record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "maxSize", - baseType: (), - elements: { - - "valueDecimal": { - name: "valueDecimal", - dataType: decimal, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type MaxSize record {| - *r4:DecimalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - decimal valueDecimal; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "profile", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OperationdefinitionProfile record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "match-grade", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type MatchGrade record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "NumberOfInstances", - baseType: (), - elements: { - - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type AuditeventNumberOfInstances record {| - *r4:IntegerExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "special-status", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetSpecialStatus record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "systemUserType", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfSystemUserType record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-streetAddressLine", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPStreetAddressLine record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-deliveryAddressLine", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPDeliveryAddressLine record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "area", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ContactpointArea record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "basedOn", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type EventBasedOn record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "relationship", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type GoalRelationship record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - r4:Reference valueReference; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "location", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type EventLocation record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "DocumentSectionLibrary", - baseType: (), - elements: { - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ExampleSectionLibrary record {| - *Composition; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) -|}; - - -@r4:DataTypeDefinition { - name: "pertainsToGoal", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ResourcePertainsToGoal record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "researchStudy", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type WorkflowResearchStudy record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "extends", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type DiagnosticReportExtends record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "DocumentStructure", - baseType: (), - elements: { - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ExampleComposition record {| - *Composition; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) -|}; - - -@r4:DataTypeDefinition { - name: "identifier", - baseType: (), - elements: { - - "valueIdentifier": { - name: "valueIdentifier", - dataType: r4:Identifier, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionIdentifier record {| - *r4:IdentifierExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Identifier valueIdentifier; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "objectClass", - baseType: (), - elements: { - - "valueCoding": { - name: "valueCoding", - dataType: r4:Coding, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObjectClass record {| - *r4:CodingExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Coding valueCoding; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "initiatingOrganization", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfInitiatingOrganization record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "search-parameter-combination", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CapabilitystatementSearchParameterCombination record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "Data Absent Reason", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type DataAbsentReason record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "expression", - baseType: (), - elements: { - - "valueExpression": { - name: "valueExpression", - dataType: r4:Expression, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfExpression record {| - *r4:ExpressionExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Expression valueExpression; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "sourceReference", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemSourceReference record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "instantiatesCanonical", - baseType: (), - elements: { - - "valueCanonical": { - name: "valueCanonical", - dataType: r4:canonical, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type WorkflowInstantiatesCanonical record {| - *r4:CanonicalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:canonical valueCanonical; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "acceptance", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type GoalAcceptance record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - r4:Reference valueReference; - r4:code valueCode; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "websocket", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CapabilitystatementWebsocket record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Timezone Code", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type TzCode record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "occurredFollowing", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ConditionOccurredFollowing record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "table-name", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionTableName record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "NotificationEndpoint", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ConsentNotificationEndpoint record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "otherConfidentiality", - baseType: (), - elements: { - - "valueCoding": { - name: "valueCoding", - dataType: r4:Coding, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CompositionClinicaldocumentOtherConfidentiality record {| - *r4:CodingExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Coding valueCoding; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Instance", - baseType: (), - elements: { - - "valueIdentifier": { - name: "valueIdentifier", - dataType: r4:Identifier, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type AuditeventInstance record {| - *r4:IdentifierExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Identifier valueIdentifier; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "MarketingStatus", - baseType: (), - elements: { - - "country": { - name: "country", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements.", - path: "MarketingStatus.country" - }, - "dateRange": { - name: "dateRange", - dataType: r4:Period, - min: 1, - max: 1, - isArray: false, - description: "The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain.", - path: "MarketingStatus.dateRange" - }, - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "MarketingStatus.modifierExtension" - }, - "jurisdiction": { - name: "jurisdiction", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified.", - path: "MarketingStatus.jurisdiction" - }, - "status": { - name: "status", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples.", - path: "MarketingStatus.status" - }, - "restoreDate": { - name: "restoreDate", - dataType: r4:dateTime, - min: 0, - max: 1, - isArray: false, - description: "The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain.", - path: "MarketingStatus.restoreDate" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type MarketingStatus record {| - *r4:MarketingStatus; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept country; - r4:Period dateRange; - r4:Extension[] modifierExtension?; - r4:CodeableConcept jurisdiction?; - r4:CodeableConcept status; - r4:dateTime restoreDate?; -|}; - - -@r4:DataTypeDefinition { - name: "detail", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type FlagDetail record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "assertedDate", - baseType: (), - elements: { - - "valueDateTime": { - name: "valueDateTime", - dataType: r4:dateTime, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type AllergyintoleranceAssertedDate record {| - *r4:DateTimeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:dateTime valueDateTime; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "EN-representation", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoENRepresentation record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-deliveryMode", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPDeliveryMode record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "preferenceType", - baseType: (), - elements: { - - "valueCoding": { - name: "valueCoding", - dataType: r4:Coding, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientPreferenceType record {| - *r4:CodingExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Coding valueCoding; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "detectedIssue", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OperationoutcomeDetectedIssue record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "bestpractice", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionBestpractice record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "prohibited", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CapabilitystatementProhibited record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Analysis", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type DiagnosticReportGeneticsAnalysis record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "Variable", - baseType: (), - elements: { - - "valueExpression": { - name: "valueExpression", - dataType: r4:Expression, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Variable record {| - *r4:ExpressionExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Expression valueExpression; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "hidden", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireHidden record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "reviewer", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireresponseReviewer record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "primaryInd", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PractitionerrolePrimaryInd record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "boundary-geojson", - baseType: (), - elements: { - - "valueAttachment": { - name: "valueAttachment", - dataType: r4:Attachment, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type LocationBoundaryGeojson record {| - *r4:AttachmentExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Attachment valueAttachment; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "activityStatusDate", - baseType: (), - elements: { - - "valueDate": { - name: "valueDate", - dataType: r4:date, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetActivityStatusDate record {| - *r4:DateExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:date valueDate; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "modeOfArrival", - baseType: (), - elements: { - - "valueCoding": { - name: "valueCoding", - dataType: r4:Coding, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type EncounterModeOfArrival record {| - *r4:CodingExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Coding valueCoding; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-unitType", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPUnitType record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "trusted-expansion", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetTrustedExpansion record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "CopyNumberEvent", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationGeneticsCopyNumberEvent record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "location-distance", - baseType: (), - elements: { - - "valueDistance": { - name: "valueDistance", - dataType: r4:Distance, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type LocationDistance record {| - *r4:DistanceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Distance valueDistance; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "messageheader-response-request", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type MessageheaderResponseRequest record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "standards-status", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionStandardsStatus record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "applicable-version", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionApplicableVersion record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "receivingPerson", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfReceivingPerson record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "performerOrder", - baseType: (), - elements: { - - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type RequestPerformerOrder record {| - *r4:IntegerExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "bodyPosition", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationBodyPosition record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "focusCode", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationFocusCode record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "dependencies", - baseType: (), - elements: { - - "valueCanonical": { - name: "valueCanonical", - dataType: r4:canonical, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionDependencies record {| - *r4:CanonicalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:canonical valueCanonical; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "test", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OpenEHRTest record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Ancestry", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueDecimal": { - name: "valueDecimal", - dataType: decimal, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationGeneticsAncestry record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - decimal valueDecimal; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "risk", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type DiagnosticReportRisk record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-delimiter", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPDelimiter record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "inheritedExtensibleValueSet", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionInheritedExtensibleValueSet record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "extensible", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetExtensible record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "exact", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type TimingExact record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "author", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemAuthor record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "instantiatesUri", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type WorkflowInstantiatesUri record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Display Name", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Display record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "congregation", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientCongregation record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "exposureDescription", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OpenEHRExposureDescription record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "caseSensitive", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetCaseSensitive record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "EN-use", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoENUse record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Ordinal Value", - baseType: (), - elements: { - - "valueDecimal": { - name: "valueDecimal", - dataType: decimal, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OrdinalValue record {| - *r4:DecimalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - decimal valueDecimal; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "effectivePeriod", - baseType: (), - elements: { - - "valuePeriod": { - name: "valuePeriod", - dataType: r4:Period, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ResourceEffectivePeriod record {| - *r4:PeriodExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Period valuePeriod; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "citation", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfCitation record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Relative Date Criteria", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueDuration": { - name: "valueDuration", - dataType: r4:Duration, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type RelativeDate record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - r4:code valueCode; - r4:Duration valueDuration; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "SOPClass", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type AuditeventSOPClass record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Geolocation", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueDecimal": { - name: "valueDecimal", - dataType: decimal, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Geolocation record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - decimal valueDecimal; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "performerFunction", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type EventPerformerFunction record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "effectiveDate", - baseType: (), - elements: { - - "valueDate": { - name: "valueDate", - dataType: r4:date, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemEffectiveDate record {| - *r4:DateExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:date valueDate; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "systemUserLanguage", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfSystemUserLanguage record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "itemControl", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireItemControl record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "fullUrl", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ParametersFullUrl record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "media", - baseType: (), - elements: { - - "valueAttachment": { - name: "valueAttachment", - dataType: r4:Attachment, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CommunicationMedia record {| - *r4:AttachmentExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Attachment valueAttachment; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "calculatedValue", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfCalculatedValue record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "FamilyMemberHistory", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type DiagnosticReportGeneticsFamilyMemberHistory record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "importance", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientImportance record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "mimeType", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type MimeType record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "supported-system", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CapabilitystatementSupportedSystem record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "outcome", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ConditionOutcome record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "own-name", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type HumannameOwnName record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "sourceReference", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetSourceReference record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "causedBy", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ProcedureCausedBy record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "changeBase", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ListChangeBase record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "section-subject", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CompositionSectionSubject record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ValidityPeriod", - baseType: (), - elements: { - - "valueDateTime": { - name: "valueDateTime", - dataType: r4:dateTime, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqmValidityPeriod record {| - *r4:DateTimeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:dateTime valueDateTime; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "priority", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type FlagPriority record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "precondition", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationPrecondition record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "strengthOfRecommendation", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfStrengthOfRecommendation record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "progressStatus", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ProcedureProgressStatus record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "allele-database", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type HlaGenotypingResultsAlleleDatabase record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "oauth-uris", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OauthUris record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "usage", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemUsage record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "maxValue", - baseType: (), - elements: { - - "valueDate": { - name: "valueDate", - dataType: r4:date, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type MaxValue record {| - *r4:DateExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:date valueDate; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "animal", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientAnimal record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "disability", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientDisability record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "own-prefix", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type HumannameOwnPrefix record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "translatable", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionTranslatable record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "effectiveDate", - baseType: (), - elements: { - - "valueDateTime": { - name: "valueDateTime", - dataType: r4:dateTime, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetEffectiveDate record {| - *r4:DateTimeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:dateTime valueDateTime; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-buildingNumberSuffix", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPBuildingNumberSuffix record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "observation", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type FamilyMemberHistoryGeneticsObservation record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "associatedEncounter", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type EncounterAssociatedEncounter record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "wg", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionWg record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "PQ-translation", - baseType: (), - elements: { - - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - }, - "valueQuantity": { - name: "valueQuantity", - dataType: r4:Quantity, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoPQTranslation record {| - *r4:QuantityExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string url; - r4:Quantity valueQuantity; -|}; - - -@r4:DataTypeDefinition { - name: "initialValue", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfInitialValue record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "history", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.extension.value[x]" - }, - "valueDateTime": { - name: "valueDateTime", - dataType: r4:dateTime, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemHistory record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - r4:dateTime valueDateTime; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "concept-comments", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetConceptComments record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Narrative Link", - baseType: (), - elements: { - - "valueUrl": { - name: "valueUrl", - dataType: r4:urlType, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type NarrativeLink record {| - *r4:UrlExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:urlType valueUrl; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "abatement", - baseType: (), - elements: { - - "valueDate": { - name: "valueDate", - dataType: r4:date, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type FamilymemberhistoryAbatement record {| - *r4:DateExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:date valueDate; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "namespace", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ElementdefinitionNamespace record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "incisionDateTime", - baseType: (), - elements: { - - "valueDateTime": { - name: "valueDateTime", - dataType: r4:dateTime, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ProcedureIncisionDateTime record {| - *r4:DateTimeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:dateTime valueDateTime; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "related", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ConditionRelated record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "statusReason", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type EventStatusReason record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "substanceExposureRisk", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type AllergyintoleranceSubstanceExposureRisk record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "EN-qualifier", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoENQualifier record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "fmm", - baseType: (), - elements: { - - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionFmm record {| - *r4:IntegerExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "partOf", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type EventPartOf record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "minOccurs", - baseType: (), - elements: { - - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type QuestionnaireMinOccurs record {| - *r4:IntegerExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "religion", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientReligion record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "replaces", - baseType: (), - elements: { - - "valueCanonical": { - name: "valueCanonical", - dataType: r4:canonical, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Replaces record {| - *r4:CanonicalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:canonical valueCanonical; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "authoritativeSource", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetAuthoritativeSource record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "supplement", - baseType: (), - elements: { - - "valueCanonical": { - name: "valueCanonical", - dataType: r4:canonical, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetSupplement record {| - *r4:CanonicalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:canonical valueCanonical; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "collectionPriority", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type SpecimenCollectionPriority record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-deliveryInstallationQualifier", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPDeliveryInstallationQualifier record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "maxDecimalPlaces", - baseType: (), - elements: { - - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type MaxDecimalPlaces record {| - *r4:IntegerExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "parameterSource", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetParameterSource record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "dayOfMonth", - baseType: (), - elements: { - - "valuePositiveInt": { - name: "valuePositiveInt", - dataType: r4:positiveInt, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type TimingDayOfMonth record {| - *r4:PositiveIntExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:positiveInt valuePositiveInt; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "expansionSource", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetExpansionSource record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-direction", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPDirection record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "usage", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetUsage record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "activity-title", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CareplanActivityTitle record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "adoptionInfo", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientAdoptionInfo record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "Rendered Value", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type RenderedValue record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "assertedDate", - baseType: (), - elements: { - - "valueDateTime": { - name: "valueDateTime", - dataType: r4:dateTime, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ConditionAssertedDate record {| - *r4:DateTimeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:dateTime valueDateTime; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "method", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ProcedureMethod record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "systemUserTaskContext", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfSystemUserTaskContext record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "deviceCode", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationDeviceCode record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "supportingInfo", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type WorkflowSupportingInfo record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "relatedPerson", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type PatientRelatedPerson record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "expirationDate", - baseType: (), - elements: { - - "valueDate": { - name: "valueDate", - dataType: r4:date, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemExpirationDate record {| - *r4:DateExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:date valueDate; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "system", - baseType: (), - elements: { - - "valueCanonical": { - name: "valueCanonical", - dataType: r4:canonical, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ValuesetSystem record {| - *r4:CanonicalExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:canonical valueCanonical; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "preferred", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoPreferred record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "category", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionCategory record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "processingTime", - baseType: (), - elements: { - - "valuePeriod": { - name: "valuePeriod", - dataType: r4:Period, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type SpecimenProcessingTime record {| - *r4:PeriodExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Period valuePeriod; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "specialHandling", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type SpecimenSpecialHandling record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "type", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type FamilymemberhistoryType record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "replaces", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type DiagnosticReportReplaces record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "initiatingLocation", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CommunicationrequestInitiatingLocation record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "local", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ContactpointLocal record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ADXP-censusTract", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADXPCensusTract record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "secondaryFinding", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationSecondaryFinding record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "SC-coding", - baseType: (), - elements: { - - "valueCoding": { - name: "valueCoding", - dataType: r4:Coding, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoSCCoding record {| - *r4:CodingExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Coding valueCoding; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "patient-record", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type FamilymemberhistoryPatientRecord record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "issue-source", - baseType: (), - elements: { - - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type OperationoutcomeIssueSource record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "precondition", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ServicerequestPrecondition record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "AD-use", - baseType: (), - elements: { - - "valueCode": { - name: "valueCode", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type IsoADUse record {| - *r4:CodeExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:code valueCode; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "otherName", - baseType: (), - elements: { - - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CodesystemOtherName record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string valueString; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "PhaseSet", - baseType: (), - elements: { - - "valueBase64Binary": { - name: "valueBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 0, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ObservationGeneticsPhaseSet record {| - *r4:Base64BinaryExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - r4:uri valueUri; - r4:uri url; -|}; - - -@r4:DataTypeDefinition { - name: "Witness", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ConsentWitness record {| - *r4:ReferenceExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "ancestor", - baseType: (), - elements: { - - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type StructuredefinitionAncestor record {| - *r4:UriExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "schedule", - baseType: (), - elements: { - - "valueTiming": { - name: "valueTiming", - dataType: r4:Timing, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ProcedureSchedule record {| - *r4:TimingExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Timing valueTiming; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "gatewayDevice", + name: "DocumentSectionLibrary", baseType: (), elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type ObservationGatewayDevice record {| - *r4:ReferenceExtension; +public type ExampleSectionLibrary record {| + *Composition; //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) string id?; r4:Extension[] extension?; //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "AssessedCondition", - baseType: (), - elements: { - - "valueReference": { - name: "valueReference", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" - }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type DiagnosticReportGeneticsAssessedCondition record {| - *r4:ReferenceExtension; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:Reference valueReference; - string url; |}; @r4:DataTypeDefinition { - name: "adaptiveFeedingDevice", + name: "MarketingStatus", baseType: (), elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", + "country": { + name: "country", dataType: r4:CodeableConcept, min: 1, max: 1, isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" + description: "The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements.", + path: "MarketingStatus.country" }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type NutritionorderAdaptiveFeedingDevice record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "minLength", - baseType: (), - elements: { - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, + "dateRange": { + name: "dateRange", + dataType: r4:Period, min: 1, max: 1, isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" + description: "The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain.", + path: "MarketingStatus.dateRange" }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type MinLength record {| - *r4:IntegerExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "extension", - baseType: (), - elements: { - "valueString": { - name: "valueString", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" + "modifierExtension": { + name: "modifierExtension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + path: "MarketingStatus.modifierExtension" }, - "url": { - name: "url", - dataType: string, - min: 1, + + "jurisdiction": { + name: "jurisdiction", + dataType: r4:CodeableConcept, + min: 0, max: 1, isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type ContactpointExtension record {| - *r4:StringExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - string valueString; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "isDryWeight", - baseType: (), - elements: { + description: "Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified.", + path: "MarketingStatus.jurisdiction" + }, - "valueBoolean": { - name: "valueBoolean", - dataType: boolean, + "status": { + name: "status", + dataType: r4:CodeableConcept, min: 1, max: 1, isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" + description: "This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples.", + path: "MarketingStatus.status" }, - "url": { - name: "url", - dataType: string, - min: 1, + + "restoreDate": { + name: "restoreDate", + dataType: r4:dateTime, + min: 0, max: 1, isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } + description: "The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain.", + path: "MarketingStatus.restoreDate" } -public type SpecimenIsDryWeight record {| - *r4:BooleanExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - boolean valueBoolean; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "systemRef", - baseType: (), - elements: { - "valueUri": { - name: "valueUri", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type ValuesetSystemRef record {| - *r4:UriExtension; +public type MarketingStatus record {| + *r4:MarketingStatus; //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) string id?; r4:Extension[] extension?; //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:uri valueUri; - string url; + + r4:CodeableConcept country; + r4:Period dateRange; + r4:Extension[] modifierExtension?; + r4:CodeableConcept jurisdiction?; + r4:CodeableConcept status; + r4:dateTime restoreDate?; |}; @r4:DataTypeDefinition { - name: "recipientLanguage", + name: "ProductShelfLife", baseType: (), elements: { - "valueCodeableConcept": { - name: "valueCodeableConcept", - dataType: r4:CodeableConcept, - min: 1, + "identifier": { + name: "identifier", + dataType: r4:Identifier, + min: 0, max: 1, isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" + description: "Unique identifier for the packaged Medicinal Product.", + path: "ProductShelfLife.identifier" }, - "url": { - name: "url", - dataType: string, + "period": { + name: "period", + dataType: r4:Quantity, min: 1, max: 1, isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CqfRecipientLanguage record {| - *r4:CodeableConceptExtension; - - //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) - string id?; - r4:Extension[] extension?; - //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; -|}; - - -@r4:DataTypeDefinition { - name: "allowedUnits", - baseType: (), - elements: { - - "valueCodeableConcept": { - name: "valueCodeableConcept", + description: "The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used.", + path: "ProductShelfLife.period" + }, + "specialPrecautionsForStorage": { + name: "specialPrecautionsForStorage", dataType: r4:CodeableConcept, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified.", + path: "ProductShelfLife.specialPrecautionsForStorage" + }, + "modifierExtension": { + name: "modifierExtension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + path: "ProductShelfLife.modifierExtension" }, - "url": { - name: "url", - dataType: string, + "'type": { + name: "'type", + dataType: r4:CodeableConcept, min: 1, max: 1, isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, + description: "This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified.", + path: "ProductShelfLife.type" + } + + }, serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type ElementdefinitionAllowedUnits record {| - *r4:CodeableConceptExtension; +public type ProductShelfLife record {| + *r4:ProductShelfLife; //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) string id?; r4:Extension[] extension?; //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:CodeableConcept valueCodeableConcept; - string url; + r4:Identifier identifier?; + r4:Quantity period; + r4:CodeableConcept[] specialPrecautionsForStorage?; + r4:Extension[] modifierExtension?; + r4:CodeableConcept 'type; |}; - @r4:DataTypeDefinition { - name: "maxOccurs", + name: "DocumentStructure", baseType: (), elements: { - - "valueInteger": { - name: "valueInteger", - dataType: r4:integer, - min: 1, - max: 1, - isArray: false, - description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", - path: "Extension.value[x]" }, - "url": { - name: "url", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "Source of the definition for the extension code - a logical name or a URL.", - path: "Extension.url" - } }, serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type QuestionnaireMaxOccurs record {| - *r4:IntegerExtension; +public type ExampleComposition record {| + *Composition; //Inherited child element from "Element" (Redefining to maintain order when serialize) (START) string id?; r4:Extension[] extension?; //Inherited child element from "Element" (Redefining to maintain order when serialize) (END) - r4:integer valueInteger; - string url; -|}; +|}; diff --git a/international401/extensions.bal b/international401/extensions.bal new file mode 100644 index 00000000..9cbb0246 --- /dev/null +++ b/international401/extensions.bal @@ -0,0 +1,41070 @@ +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). + +// WSO2 LLC. licenses this file to you under the Apache License, +// Version 2.0 (the "License"); you may not use this file except +// in compliance with the License. +// You may obtain a copy of the License at + +// http://www.apache.org/licenses/LICENSE-2.0 + +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +// AUTO-GENERATED FILE. +// This file is auto-generated by Ballerina. + +import ballerinax/health.fhir.r4; + +public type OauthUrisExtensions (OauthUrisToken|OauthUrisRegister|OauthUrisAuthorize|OauthUrisManage); + +public type CqfValueFilterExtensions (CqfValueFilterPath|CqfValueFilterComparator|CqfValueFilterSearchParam|CqfValueFilterValue); + +public type ConfidentialExtensions (ConfidentialValueCodeableConcept|Confidential); + +public type PatientCitizenshipExtensions (PatientCitizenshipPeriod|PatientCitizenshipCode); + +public type CodesystemAlternateExtensions (CodesystemAlternateUse|CodesystemAlternateCode); + +public type PatientNationalityExtensions (PatientNationalityPeriod|PatientNationalityCode); + +public type VersionSpecificUseExtensions (VersionSpecificUseEndFhirVersion|VersionSpecificUseStartFhirVersion); + +public type ArtifactassessmentContentExtensions (ArtifactassessmentContentType|ArtifactassessmentContentAuthor|ArtifactassessmentContentQuantity|ArtifactassessmentContentFreeToShare|ArtifactassessmentContentRelatedArtifact|ArtifactassessmentContentComponent|ArtifactassessmentContentInformationType|ArtifactassessmentContentSummary|ArtifactassessmentContentPath|ArtifactassessmentContentClassifier); + +public type TranslationExtensions (ExtensionQuantityTranslation|Translation|IsoPQTranslation|TranslationLang|TranslationContent); + +public type DosageMinimumGapBetweenDoseExtensions (DosageMinimumGapBetweenDosePrecondition|DosageMinimumGapBetweenDoseDoesNotOccur|DosageMinimumGapBetweenDoseMeetGoal|DosageMinimumGapBetweenDoseCondition|DosageMinimumGapBetweenDoseOffset|DosageMinimumGapBetweenDoseGoal|DosageMinimumGapBetweenDoseTrigger|DosageMinimumGapBetweenDoseWhenTrigger); + +public type CqfDefinitionTermExtensions (CqfDefinitionTermDefinition|CqfDefinitionTermTerm); + +public type PatientSexParameterForClinicalUseExtensions (PatientSexParameterForClinicalUsePeriod|PatientSexParameterForClinicalUseValue|PatientSexParameterForClinicalUseComment|PatientSexParameterForClinicalUseSupportingInfo); + +public type CqfMeasureInfoExtensions (CqfMeasureInfoGroupId|CqfMeasureInfoPopulationId|CqfMeasureInfoMeasure); + +public type GoalAcceptanceExtensions (GoalAcceptanceStatus|GoalAcceptancePriority|GoalAcceptanceIndividual); + +public type PatientAnimalExtensions (PatientAnimalBreed|PatientAnimalSpecies|PatientAnimalGenderStatus); + +public type ValuesetSelectByMapExtensions (ValuesetSelectByMapFilter|ValuesetSelectByMapMap); + +public type ResearchStudySiteRecruitmentExtensions (ResearchStudySiteRecruitmentTargetNumber|ResearchStudySiteRecruitmentEligibility|ResearchStudySiteRecruitmentActualNumber); + +public type GoalRelationshipExtensions (GoalRelationshipTarget|GoalRelationshipType); + +public type ServicerequestGeneticsItemExtensions (ServicerequestGeneticsItemCode|ServicerequestGeneticsItemSpecimen|ServicerequestGeneticsItemGeneticsObservation|ServicerequestGeneticsItemStatus); + +public type CqfLogicDefinitionExtensions (CqfLogicDefinitionLibraryName|CqfLogicDefinitionName|CqfLogicDefinitionDisplaySequence|CqfLogicDefinitionDisplayCategory|CqfLogicDefinitionStatement); + +public type CqfCertaintyExtensions (CqfCertaintyRater|CqfCertaintyDescription|CqfCertaintyType|CqfCertaintyRating|CqfCertaintyNote); + +public type CqfTargetInvariantExtensions (CqfTargetInvariantSeverity|CqfTargetInvariantExpression|CqfTargetInvariantKey|CqfTargetInvariantRequirements); + +public type DerivationReferenceExtensions (DerivationReferenceOffset|DerivationReferenceReference|DerivationReferenceLength|DerivationReferencePath); + +public type BusinessEventExtensions (BusinessEventValue|BusinessEventDate); + +public type CodesystemHistoryExtensions (CodesystemHistoryNotes|CodesystemHistoryDate|CodesystemHistoryAuthor|CodesystemHistoryId|CodesystemHistoryRevision|CodesystemHistoryName); + +public type PatientProficiencyExtensions (PatientProficiencyLevel|PatientProficiencyType); + +public type ObservationGeneticsVariantExtensions (ObservationGeneticsVariantId|ObservationGeneticsVariantName|ObservationGeneticsVariantType); + +public type CapabilitiesExtensions (Capabilities); + +public type ValuesetExpandGroupExtensions (ValuesetExpandGroupCode|ValuesetExpandGroupMember|ValuesetExpandGroupDisplay); + +public type CapabilitystatementSearchParameterUseExtensions (CapabilitystatementSearchParameterUseAllowRevinclude|CapabilitystatementSearchParameterUseAllowInclude|CapabilitystatementSearchParameterUseRequired); + +public type DiagnosticReportGeneticsAnalysisExtensions (DiagnosticReportGeneticsAnalysisInterpretation|DiagnosticReportGeneticsAnalysisType); + +public type RegexExtensions (Regex); + +public type FamilyMemberHistoryGeneticsSiblingExtensions (FamilyMemberHistoryGeneticsSiblingReference|FamilyMemberHistoryGeneticsSiblingType); + +public type HlaGenotypingResultsHaploidExtensions (HlaGenotypingResultsHaploidMethod|HlaGenotypingResultsHaploidLocus|HlaGenotypingResultsHaploidType); + +public type StatisticModelIncludeIfExtensions (StatisticModelIncludeIfAttribute|StatisticModelIncludeIfValue); + +public type StructuredefinitionXmlTypeExtensions (StructuredefinitionXmlTypeValueString); + +public type TargetPathExtensions (RelativeDateTargetPath|CqfRelativeDateTimeTargetPath); + +public type QuestionnaireConstraintExtensions (QuestionnaireConstraintSeverity|QuestionnaireConstraintHuman|QuestionnaireConstraintRequirements|QuestionnaireConstraintLocation|QuestionnaireConstraintKey|QuestionnaireConstraintExpression); + +public type VariableExtensions (Variable); + +public type ObservationGeneticsAminoAcidChangeExtensions (ObservationGeneticsAminoAcidChangeName|ObservationGeneticsAminoAcidChangeType); + +public type IndividualGenderIdentityExtensions (IndividualGenderIdentityPeriod|IndividualGenderIdentityValue|IndividualGenderIdentityComment); + +public type PackageSourceExtensions (PackageSourceVersion|PackageSourcePackageId|PackageSourceUri); + +public type ValuesetUsageExtensions (ValuesetUsageUser|ValuesetUsageUse); + +public type QuestionnaireresponseAttesterExtensions (QuestionnaireresponseAttesterTime|QuestionnaireresponseAttesterParty|QuestionnaireresponseAttesterMode); + +public type RelativeDateExtensions (RelativeDateTargetPath|CqfRelativeDateTimeRelationship|RelativeDateOffset|RelativeDateTargetReference|RelativeDateTargetCode|CqfRelativeDateTimeOffset|CqfRelativeDateTimeTarget|CqfRelativeDateTimeTargetPath|RelativeDateRelationship); + +public type ResearchStudyStudyRegistrationExtensions (ResearchStudyStudyRegistrationActivity|ResearchStudyStudyRegistrationActual|ResearchStudyStudyRegistrationPeriod); + +public type ObservationVSubidExtensions (ObservationVSubidGroup|ObservationVSubidOriginalSubIdentifier|ObservationVSubidIdentifier|ObservationVSubidSequence); + +public type HlaGenotypingResultsGlstringExtensions (HlaGenotypingResultsGlstringUrl|HlaGenotypingResultsGlstringText); + +public type DevicerequestPatientInstructionExtensions (DevicerequestPatientInstructionLang|DevicerequestPatientInstructionContent); + +public type ValuesetOtherNameExtensions (ValuesetOtherNameName|ValuesetOtherNamePreferred); + +public type OrganizationBrandExtensions (OrganizationBrandBrandLogoLicenseType|OrganizationBrandBrandLogo|OrganizationBrandBrandLogoLicense|OrganizationBrandBrandBundle); + +public type VersionSpecificValueExtensions (VersionSpecificValueEndFhirVersion|VersionSpecificValueValue|VersionSpecificValueStartFhirVersion); + +public type TargetConstraintExtensions (TargetConstraintExpression|TargetConstraintHuman|TargetConstraintRequirements|TargetConstraintLocation|TargetConstraintKey|TargetConstraintSeverity); + +public type IndividualRecordedSexOrGenderExtensions (IndividualRecordedSexOrGenderJurisdiction|IndividualRecordedSexOrGenderComment|IndividualRecordedSexOrGenderSourceField|IndividualRecordedSexOrGenderAcquisitionDate|IndividualRecordedSexOrGenderValue|IndividualRecordedSexOrGenderGenderElementQualifier|IndividualRecordedSexOrGenderEffectivePeriod|IndividualRecordedSexOrGenderSource|IndividualRecordedSexOrGenderSourceDocument|IndividualRecordedSexOrGenderType); + +public type ArtifactVersionExtensions (ArtifactVersionAlgorithmValueCoding); + +public type TimingDaysOfCycleExtensions (TimingDaysOfCycleDay); + +public type SatisfiesRequirementExtensions (SatisfiesRequirementReference|SatisfiesRequirementKey); + +public type CqfRelativeDateTimeExtensions (CqfRelativeDateTimeRelationship|CqfRelativeDateTimeOffset|CqfRelativeDateTimeTarget|CqfRelativeDateTimeTargetPath); + +public type NoFixedAddressExtensions (NoFixedAddressValueBoolean); + +public type StructuredefinitionRdfTypeExtensions (StructuredefinitionRdfTypeValueString); + +public type CodesystemOtherNameExtensions (CodesystemOtherNameName|CodesystemOtherNamePreferred); + +public type QuestionnaireOptionRestrictionExtensions (QuestionnaireOptionRestrictionOption|QuestionnaireOptionRestrictionExpression); + +public type _datatypeExtensions (_datatype); + +public type CqfArtifactCommentExtensions (CqfArtifactCommentUser|CqfArtifactCommentText|CqfArtifactCommentTarget|CqfArtifactCommentAuthoredOn|CqfArtifactCommentReference|CqfArtifactCommentType); + +public type ObservationGeneticsAncestryExtensions (ObservationGeneticsAncestryName|ObservationGeneticsAncestrySource|ObservationGeneticsAncestryPercentage); + +public type ObligationsProfileExtensions (ObligationsProfileActor|ObligationsProfileProfile); + +public type ArtifactVersionAlgorithmExtensions (ArtifactVersionAlgorithmValueCoding); + +public type DosageConditionsExtensions (DosageConditionsMeetGoal|DosageConditionsTrigger|DosageConditionsWhenTrigger|DosageConditionsGoal|DosageConditionsPrecondition|DosageConditionsCondition|DosageConditionsOffset|DosageConditionsDoesNotOccur); + +public type AllergyintoleranceSubstanceExposureRiskExtensions (AllergyintoleranceSubstanceExposureRiskSubstance|AllergyintoleranceSubstanceExposureRiskExposureRisk); + +public type DiagnosticReportWorkflowStatusExtensions (DiagnosticReportWorkflowStatusValue|DiagnosticReportWorkflowStatusTimestamp); + +public type ObligationExtensions (ObligationElementId|ObligationUsage|Obligation|ObligationsProfileActor|ObligationCode|ObligationDocumentation|ObligationsProfileProfile|ObligationName|ObligationProcess|ObligationActor|ObligationsProfile|ObligationFilterDocumentation|ObligationFilter); + +public type DeviceMaintenanceresponsibilityExtensions (DeviceMaintenanceresponsibilityOrganization|DeviceMaintenanceresponsibilityPerson); + +public type CapabilitystatementSearchParameterCombinationExtensions (CapabilitystatementSearchParameterCombinationOptional|CapabilitystatementSearchParameterCombinationRequired); + +public type DiagnosticReportGeneticsReferencesExtensions (DiagnosticReportGeneticsReferencesType|DiagnosticReportGeneticsReferencesDescription|DiagnosticReportGeneticsReferencesReference); + +public type LanguageExtensions (ValuesetOtherTitleLanguage|Language); + +public type GeolocationExtensions (Geolocation|GeolocationLongitude|GeolocationLatitude); + +public type TerminologyResourceIdentifierMetadataExtensions (TerminologyResourceIdentifierMetadataAuthoritative|TerminologyResourceIdentifierMetadataComment|TerminologyResourceIdentifierMetadataPreferred); + +public type OrganizationPortalExtensions (OrganizationPortalPortalDescription|OrganizationPortalPortalEndpoint|OrganizationPortalPortalLogoLicense|OrganizationPortalPortalName|OrganizationPortalPortalUrl|OrganizationPortalPortalLogo|OrganizationPortalPortalLogoLicenseType); + +public type AddressOfficialExtensions (AddressOfficialValueCodeableConcept|AddressOfficialValueBoolean); + +public type ImplementationguideSourceFileExtensions (ImplementationguideSourceFileLocation|ImplementationguideSourceFileKeepAsResource|ImplementationguideSourceFileFile); + +public type CodesystemUsageExtensions (CodesystemUsageUser|CodesystemUsageUse); + +public type TimezoneExtensions (Timezone); + +public type ObservationGeneticsPhaseSetExtensions (ObservationGeneticsPhaseSetId|ObservationGeneticsPhaseSetMolecularSequence); + +public type DisplayExtensions (CqfLogicDefinitionDisplaySequence|QuestionnaireDisplayCategory|CqfLogicDefinitionDisplayCategory|ValuesetExpandGroupDisplay|StructuredefinitionDisplayHint|Display); + +public type PatientPreferredPharmacyExtensions (PatientPreferredPharmacyPharmacy|PatientPreferredPharmacyType); + +public type FamilyMemberHistoryGeneticsParentExtensions (FamilyMemberHistoryGeneticsParentReference|FamilyMemberHistoryGeneticsParentType); + +public type ReplacesExtensions (DiagnosticReportReplaces|RequestReplaces|ObservationReplaces|TaskReplaces|Replaces); + +public type IndividualPronounsExtensions (IndividualPronounsComment|IndividualPronounsPeriod|IndividualPronounsValue); + +public type MedicationManufacturingBatchExtensions (MedicationManufacturingBatchContainer|MedicationManufacturingBatchAssignedManufacturer|MedicationManufacturingBatchBatchUtilization|MedicationManufacturingBatchExpirationDateClassification|MedicationManufacturingBatchManufacturingDateClassification|MedicationManufacturingBatchLotNumber|MedicationManufacturingBatchType|MedicationManufacturingBatchClosureType|MedicationManufacturingBatchManufacturingDate|MedicationManufacturingBatchBatchQuantity|MedicationManufacturingBatchQuantity|MedicationManufacturingBatchAdditionalInformation|MedicationManufacturingBatchClosureSystemDescription); + +public type BiologicallyderivedproductProcessingExtensions (BiologicallyderivedproductProcessingProcedure|BiologicallyderivedproductProcessingDescription|BiologicallyderivedproductProcessingTime|BiologicallyderivedproductProcessingAdditive); + +public type NoteExtensions (CodesystemHistoryNotes|Note|CqfCertaintyNote); + +public type BiologicallyderivedproductManipulationExtensions (BiologicallyderivedproductManipulationProcedure|BiologicallyderivedproductManipulationTime|BiologicallyderivedproductManipulationDescription); + +public type StructuredefinitionJsonTypeExtensions (StructuredefinitionJsonTypeValueString); + +public type ValuesetOtherTitleExtensions (ValuesetOtherTitleLanguage|ValuesetOtherTitlePreferred|ValuesetOtherTitleTitle); + +public type ObservationGeneticsAlleleExtensions (ObservationGeneticsAlleleName|ObservationGeneticsAlleleState|ObservationGeneticsAlleleFrequency); + +@r4:DataTypeDefinition { + name: "AddressOfficialValueBoolean", + baseType: (), + elements: { + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AddressOfficialValueBoolean record {| + *r4:ExtensionExtension; + +|}; + +@r4:DataTypeDefinition { + name: "AddressOfficialValueCodeableConcept", + baseType: (), + elements: { + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AddressOfficialValueCodeableConcept record {| + *r4:ExtensionExtension; + +|}; + +@r4:DataTypeDefinition { + name: "AllergyintoleranceSubstanceExposureRiskExposureRisk", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "exposureRisk.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "exposureRisk.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "exposureRisk.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "exposureRisk.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AllergyintoleranceSubstanceExposureRiskExposureRisk record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "exposureRisk" url = "exposureRisk"; +|}; + +@r4:DataTypeDefinition { + name: "AllergyintoleranceSubstanceExposureRiskSubstance", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "substance.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "substance.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "substance.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "substance.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AllergyintoleranceSubstanceExposureRiskSubstance record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "substance" url = "substance"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactassessmentContentAuthor", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "author.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "author.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "author.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "author.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactassessmentContentAuthor record {| + *r4:ReferenceExtension; + + r4:Extension[] extension?; + r4:Reference valueReference?; + string id?; + "author" url = "author"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactassessmentContentClassifier", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "classifier.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "classifier.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "classifier.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "classifier.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactassessmentContentClassifier record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept?; + r4:Extension[] extension?; + string id?; + "classifier" url = "classifier"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactassessmentContentComponent", + baseType: (), + elements: { + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "component.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "component.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "component.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "component.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactassessmentContentComponent record {| + *r4:Base64BinaryExtension; + + r4:base64Binary valueBase64Binary?; + r4:Extension[] extension?; + string id?; + "component" url = "component"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactassessmentContentFreeToShare", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "freeToShare.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "freeToShare.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "freeToShare.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "freeToShare.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactassessmentContentFreeToShare record {| + *r4:BooleanExtension; + + boolean valueBoolean?; + r4:Extension[] extension?; + string id?; + "freeToShare" url = "freeToShare"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactassessmentContentInformationType", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "informationType.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "informationType.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "informationType.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "informationType.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactassessmentContentInformationType record {| + *r4:CodeExtension; + + r4:Extension[] extension?; + r4:code valueCode?; + string id?; + "informationType" url = "informationType"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactassessmentContentPath", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "path.extension" + }, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "path.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "path.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "path.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactassessmentContentPath record {| + *r4:UriExtension; + + r4:Extension[] extension?; + r4:uri valueUri?; + string id?; + "path" url = "path"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactassessmentContentQuantity", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "quantity.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "quantity.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "quantity.url" + }, + + "valueQuantity": { + name: "valueQuantity", + dataType: r4:Quantity, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "quantity.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactassessmentContentQuantity record {| + *r4:QuantityExtension; + + r4:Extension[] extension?; + string id?; + "quantity" url = "quantity"; + r4:Quantity valueQuantity?; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactassessmentContentRelatedArtifact", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "relatedArtifact.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "relatedArtifact.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "relatedArtifact.url" + }, + + "valueRelatedArtifact": { + name: "valueRelatedArtifact", + dataType: r4:RelatedArtifact, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "relatedArtifact.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactassessmentContentRelatedArtifact record {| + *r4:RelatedArtifactExtension; + + r4:Extension[] extension?; + string id?; + "relatedArtifact" url = "relatedArtifact"; + r4:RelatedArtifact valueRelatedArtifact?; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactassessmentContentSummary", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "summary.extension" + }, + + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "summary.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "summary.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "summary.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactassessmentContentSummary record {| + *r4:MarkdownExtension; + + r4:Extension[] extension?; + r4:markdown valueMarkdown?; + string id?; + "summary" url = "summary"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactassessmentContentType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "type.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "type.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "type.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactassessmentContentType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept?; + r4:Extension[] extension?; + string id?; + "type" url = "type"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactVersionAlgorithmValueCoding", + baseType: (), + elements: { + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactVersionAlgorithmValueCoding record {| + *r4:ExtensionExtension; + +|}; + +@r4:DataTypeDefinition { + name: "BiologicallyderivedproductManipulationDescription", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "description.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "description.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "description.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "description.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type BiologicallyderivedproductManipulationDescription record {| + *r4:StringExtension; + + string valueString; + string id?; + "description" url = "description"; +|}; + +@r4:DataTypeDefinition { + name: "BiologicallyderivedproductManipulationProcedure", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "procedure.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "procedure.id" + }, + + "valueCodeableReference": { + name: "valueCodeableReference", + dataType: r4:CodeableReference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "procedure.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "procedure.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type BiologicallyderivedproductManipulationProcedure record {| + *r4:CodeableReferenceExtension; + + string id?; + r4:CodeableReference valueCodeableReference; + "procedure" url = "procedure"; +|}; + +@r4:DataTypeDefinition { + name: "BiologicallyderivedproductManipulationTime", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "time[x].extension" + }, + + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "time[x].value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "time[x].id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "time[x].url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type BiologicallyderivedproductManipulationTime record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + string id?; + "timex" url = "timex"; +|}; + +@r4:DataTypeDefinition { + name: "BiologicallyderivedproductProcessingAdditive", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "additive.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "additive.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "additive.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "additive.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type BiologicallyderivedproductProcessingAdditive record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + string id?; + "additive" url = "additive"; +|}; + +@r4:DataTypeDefinition { + name: "BiologicallyderivedproductProcessingDescription", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "description.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "description.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "description.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "description.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type BiologicallyderivedproductProcessingDescription record {| + *r4:StringExtension; + + string valueString; + string id?; + "description" url = "description"; +|}; + +@r4:DataTypeDefinition { + name: "BiologicallyderivedproductProcessingProcedure", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "procedure.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "procedure.id" + }, + + "valueCodeableReference": { + name: "valueCodeableReference", + dataType: r4:CodeableReference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "procedure.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "procedure.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type BiologicallyderivedproductProcessingProcedure record {| + *r4:CodeableReferenceExtension; + + string id?; + r4:CodeableReference valueCodeableReference; + "procedure" url = "procedure"; +|}; + +@r4:DataTypeDefinition { + name: "BiologicallyderivedproductProcessingTime", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "time[x].extension" + }, + + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "time[x].value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "time[x].id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "time[x].url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type BiologicallyderivedproductProcessingTime record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + string id?; + "timex" url = "timex"; +|}; + +@r4:DataTypeDefinition { + name: "BusinessEventDate", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "date.extension" + }, + + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "date.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "date.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "date.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type BusinessEventDate record {| + *r4:DateTimeExtension; + + r4:Extension[] extension?; + r4:dateTime valueDateTime; + string id?; + "date" url = "date"; +|}; + +@r4:DataTypeDefinition { + name: "BusinessEventValue", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "value.extension" + }, + + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "value.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "value.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type BusinessEventValue record {| + *r4:Base64BinaryExtension; + + r4:CodeableConcept valueCodeableConcept; + r4:Extension[] extension?; + r4:dateTime valueDateTime; + string id?; + "value" url = "value"; +|}; + +@r4:DataTypeDefinition { + name: "CapabilitystatementSearchParameterCombinationOptional", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "optional.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "optional.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "optional.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "optional.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CapabilitystatementSearchParameterCombinationOptional record {| + *r4:StringExtension; + + string valueString; + string id?; + "optional" url = "optional"; +|}; + +@r4:DataTypeDefinition { + name: "CapabilitystatementSearchParameterCombinationRequired", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "required.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "required.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "required.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "required.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CapabilitystatementSearchParameterCombinationRequired record {| + *r4:StringExtension; + + string valueString; + string id?; + "required" url = "required"; +|}; + +@r4:DataTypeDefinition { + name: "CapabilitystatementSearchParameterUseAllowInclude", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "allow-include.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "allow-include.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "allow-include.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "allow-include.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CapabilitystatementSearchParameterUseAllowInclude record {| + *r4:BooleanExtension; + + boolean valueBoolean; + string id?; + "allow-include" url = "allow-include"; +|}; + +@r4:DataTypeDefinition { + name: "CapabilitystatementSearchParameterUseAllowRevinclude", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "allow-revinclude.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "allow-revinclude.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "allow-revinclude.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "allow-revinclude.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CapabilitystatementSearchParameterUseAllowRevinclude record {| + *r4:BooleanExtension; + + boolean valueBoolean; + string id?; + "allow-revinclude" url = "allow-revinclude"; +|}; + +@r4:DataTypeDefinition { + name: "CapabilitystatementSearchParameterUseRequired", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "required.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "required.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "required.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "required.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CapabilitystatementSearchParameterUseRequired record {| + *r4:BooleanExtension; + + boolean valueBoolean; + string id?; + "allow-standalone" url = "allow-standalone"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemAlternateCode", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "code.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "code.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "code.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "code.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemAlternateCode record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "code" url = "code"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemAlternateUse", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "use.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "use.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "use.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "use.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemAlternateUse record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + string id?; + "use" url = "use"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemHistoryAuthor", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "author.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "author.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "author.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "author.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemHistoryAuthor record {| + *r4:StringExtension; + + string valueString; + string id?; + "author" url = "author"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemHistoryDate", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "date.extension" + }, + + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "date.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "date.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "date.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemHistoryDate record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + string id?; + "date" url = "date"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemHistoryId", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "id.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "id.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "id.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemHistoryId record {| + *r4:StringExtension; + + string valueString; + "id" url = "id"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemHistoryName", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "name.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "name.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "name.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "name.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemHistoryName record {| + *r4:StringExtension; + + string valueString; + string id?; + "name" url = "name"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemHistoryNotes", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "notes.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "notes.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "notes.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "notes.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemHistoryNotes record {| + *r4:StringExtension; + + string valueString; + string id?; + "notes" url = "notes"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemHistoryRevision", + baseType: (), + elements: { + "date": { + name: "date", + dataType: r4:Extension, + min: 1, + max: 1, + isArray: true, + description: "Date the change took place.", + path: "revision.date" + }, + + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "revision.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "revision.extension" + }, + + "notes": { + name: "notes", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "Description of exactly what was changed and how.", + path: "revision.notes" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "revision.value[x]" + }, + + "author": { + name: "author", + dataType: r4:Extension, + min: 1, + max: 1, + isArray: true, + description: "Person or device responsible for the change.", + path: "revision.author" + }, + + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "revision.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "revision.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "revision.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemHistoryRevision record {| + *r4:Base64BinaryExtension; + + r4:Extension[] date; + r4:Extension[] extension; + r4:Extension[] notes?; + string valueString; + r4:Extension[] author; + r4:dateTime valueDateTime; + string id?; + "date" url = "date"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemOtherNameName", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "name.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "name.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "name.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "name.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemOtherNameName record {| + *r4:StringExtension; + + string valueString; + string id?; + "name" url = "name"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemOtherNamePreferred", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "preferred.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "preferred.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "preferred.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "preferred.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemOtherNamePreferred record {| + *r4:BooleanExtension; + + boolean valueBoolean; + string id?; + "preferred" url = "preferred"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemUsageUse", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "use.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "use.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "use.id" + }, + + "user": { + name: "user", + dataType: r4:Extension, + min: 1, + max: 1, + isArray: true, + description: "This is most likely to be an organization but can be an individual. It would not be a program, that information should be recorded in the usage.use.", + path: "use.user" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "use.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemUsageUse record {| + *r4:StringExtension; + + string valueString; + string id?; + r4:Extension[] user; + "user" url = "user"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemUsageUser", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "user.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "user.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "user.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "user.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemUsageUser record {| + *r4:StringExtension; + + string valueString; + string id?; + "user" url = "user"; +|}; + +@r4:DataTypeDefinition { + name: "ConfidentialValueCodeableConcept", + baseType: (), + elements: { + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConfidentialValueCodeableConcept record {| + *r4:ExtensionExtension; + +|}; + +@r4:DataTypeDefinition { + name: "CqfArtifactCommentAuthoredOn", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "authoredOn.extension" + }, + + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "authoredOn.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "authoredOn.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "authoredOn.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfArtifactCommentAuthoredOn record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + string id?; + "authoredOn" url = "authoredOn"; +|}; + +@r4:DataTypeDefinition { + name: "CqfArtifactCommentReference", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "reference.extension" + }, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "reference.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "reference.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "reference.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfArtifactCommentReference record {| + *r4:UriExtension; + + r4:uri valueUri; + string id?; + "reference" url = "reference"; +|}; + +@r4:DataTypeDefinition { + name: "CqfArtifactCommentTarget", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "target.extension" + }, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "target.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "target.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "target.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfArtifactCommentTarget record {| + *r4:UriExtension; + + r4:uri valueUri; + string id?; + "target" url = "target"; +|}; + +@r4:DataTypeDefinition { + name: "CqfArtifactCommentText", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "text.extension" + }, + + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "text.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "text.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "text.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfArtifactCommentText record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + string id?; + "text" url = "text"; +|}; + +@r4:DataTypeDefinition { + name: "CqfArtifactCommentType", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "type.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "type.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "type.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfArtifactCommentType record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "type" url = "type"; +|}; + +@r4:DataTypeDefinition { + name: "CqfArtifactCommentUser", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "user.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "user.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "user.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "user.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfArtifactCommentUser record {| + *r4:StringExtension; + + string valueString; + string id?; + "user" url = "user"; +|}; + +@r4:DataTypeDefinition { + name: "CqfCertaintyDescription", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "description.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "description.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "description.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "description.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfCertaintyDescription record {| + *r4:StringExtension; + + string valueString; + string id?; + "description" url = "description"; +|}; + +@r4:DataTypeDefinition { + name: "CqfCertaintyNote", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "note.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "note.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "note.url" + }, + + "valueAnnotation": { + name: "valueAnnotation", + dataType: r4:Annotation, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "note.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfCertaintyNote record {| + *r4:AnnotationExtension; + + string id?; + "note" url = "note"; + r4:Annotation valueAnnotation; +|}; + +@r4:DataTypeDefinition { + name: "CqfCertaintyRater", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "rater.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "rater.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "rater.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "rater.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfCertaintyRater record {| + *r4:StringExtension; + + string valueString; + string id?; + "rater" url = "rater"; +|}; + +@r4:DataTypeDefinition { + name: "CqfCertaintyRating", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "rating.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "rating.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "rating.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "rating.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfCertaintyRating record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "rating" url = "rating"; +|}; + +@r4:DataTypeDefinition { + name: "CqfCertaintyType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "type.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "type.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "type.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfCertaintyType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "type" url = "type"; +|}; + +@r4:DataTypeDefinition { + name: "CqfDefinitionTermDefinition", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "definition.extension" + }, + + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "definition.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "definition.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "definition.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfDefinitionTermDefinition record {| + *r4:MarkdownExtension; + + r4:Extension[] extension?; + r4:markdown valueMarkdown?; + string id?; + "definition" url = "definition"; +|}; + +@r4:DataTypeDefinition { + name: "CqfDefinitionTermTerm", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "term.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "term.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "term.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "term.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfDefinitionTermTerm record {| + *r4:StringExtension; + + r4:Extension[] extension?; + string valueString?; + string id?; + "term" url = "term"; +|}; + +@r4:DataTypeDefinition { + name: "CqfLogicDefinitionDisplayCategory", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "displayCategory.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "displayCategory.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "displayCategory.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "displayCategory.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfLogicDefinitionDisplayCategory record {| + *r4:StringExtension; + + string valueString; + string id?; + "displayCategory" url = "displayCategory"; +|}; + +@r4:DataTypeDefinition { + name: "CqfLogicDefinitionDisplaySequence", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "displaySequence.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "displaySequence.id" + }, + + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "displaySequence.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "displaySequence.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfLogicDefinitionDisplaySequence record {| + *r4:IntegerExtension; + + string id?; + r4:integer valueInteger; + "displaySequence" url = "displaySequence"; +|}; + +@r4:DataTypeDefinition { + name: "CqfLogicDefinitionLibraryName", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "libraryName.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "libraryName.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "libraryName.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "libraryName.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfLogicDefinitionLibraryName record {| + *r4:StringExtension; + + string valueString; + string id?; + "libraryName" url = "libraryName"; +|}; + +@r4:DataTypeDefinition { + name: "CqfLogicDefinitionName", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "name.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "name.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "name.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "name.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfLogicDefinitionName record {| + *r4:StringExtension; + + string valueString; + string id?; + "name" url = "name"; +|}; + +@r4:DataTypeDefinition { + name: "CqfLogicDefinitionStatement", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "statement.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "statement.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "statement.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "statement.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfLogicDefinitionStatement record {| + *r4:StringExtension; + + string valueString; + string id?; + "statement" url = "statement"; +|}; + +@r4:DataTypeDefinition { + name: "CqfMeasureInfoGroupId", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "groupId.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "groupId.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "groupId.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "groupId.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfMeasureInfoGroupId record {| + *r4:StringExtension; + + string valueString; + string id?; + "groupId" url = "groupId"; +|}; + +@r4:DataTypeDefinition { + name: "CqfMeasureInfoMeasure", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "measure.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "measure.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "measure.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "measure.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfMeasureInfoMeasure record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + string id?; + "measure" url = "measure"; +|}; + +@r4:DataTypeDefinition { + name: "CqfMeasureInfoPopulationId", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "populationId.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "populationId.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "populationId.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "populationId.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfMeasureInfoPopulationId record {| + *r4:StringExtension; + + string valueString; + string id?; + "populationId" url = "populationId"; +|}; + +@r4:DataTypeDefinition { + name: "CqfRelativeDateTimeOffset", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "offset.extension" + }, + + "valueDuration": { + name: "valueDuration", + dataType: r4:Duration, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "offset.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "offset.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "offset.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfRelativeDateTimeOffset record {| + *r4:DurationExtension; + + r4:Duration valueDuration; + string id?; + "offset" url = "offset"; +|}; + +@r4:DataTypeDefinition { + name: "CqfRelativeDateTimeRelationship", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "relationship.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "relationship.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "relationship.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "relationship.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfRelativeDateTimeRelationship record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "relationship" url = "relationship"; +|}; + +@r4:DataTypeDefinition { + name: "CqfRelativeDateTimeTarget", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "target.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "target.value[x]" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "target.value[x]" + }, + + "targetPath": { + name: "targetPath", + dataType: r4:Extension, + min: 1, + max: 1, + isArray: true, + description: "The path to the element that defines the effective period for the event that the date/time value is relative to.", + path: "target.targetPath" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "target.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "target.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfRelativeDateTimeTarget record {| + *r4:StringExtension; + + r4:Reference valueReference; + string valueString; + r4:Extension[] targetPath; + string id?; + "target" url = "target"; +|}; + +@r4:DataTypeDefinition { + name: "CqfRelativeDateTimeTargetPath", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "targetPath.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "targetPath.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "targetPath.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "targetPath.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfRelativeDateTimeTargetPath record {| + *r4:StringExtension; + + string valueString; + string id?; + "targetPath" url = "targetPath"; +|}; + +@r4:DataTypeDefinition { + name: "CqfTargetInvariantExpression", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "expression.extension" + }, + + "valueExpression": { + name: "valueExpression", + dataType: r4:Expression, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "expression.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "expression.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "expression.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfTargetInvariantExpression record {| + *r4:ExpressionExtension; + + r4:Expression valueExpression; + string id?; + "expression" url = "expression"; +|}; + +@r4:DataTypeDefinition { + name: "CqfTargetInvariantKey", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "key.extension" + }, + + "valueId": { + name: "valueId", + dataType: r4:id, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "key.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "key.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "key.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfTargetInvariantKey record {| + *r4:IdExtension; + + r4:id valueId; + string id?; + "key" url = "key"; +|}; + +@r4:DataTypeDefinition { + name: "CqfTargetInvariantRequirements", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "requirements.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "requirements.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "requirements.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "requirements.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfTargetInvariantRequirements record {| + *r4:StringExtension; + + string valueString; + string id?; + "requirements" url = "requirements"; +|}; + +@r4:DataTypeDefinition { + name: "CqfTargetInvariantSeverity", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "severity.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "severity.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "severity.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "severity.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfTargetInvariantSeverity record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "severity" url = "severity"; +|}; + +@r4:DataTypeDefinition { + name: "CqfValueFilterComparator", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "comparator.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "comparator.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "comparator.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "comparator.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfValueFilterComparator record {| + *r4:CodeExtension; + + r4:Extension[] extension?; + r4:code valueCode?; + string id?; + "comparator" url = "comparator"; +|}; + +@r4:DataTypeDefinition { + name: "CqfValueFilterPath", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "path.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "path.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "path.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "path.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfValueFilterPath record {| + *r4:StringExtension; + + r4:Extension[] extension?; + string valueString?; + string id?; + "path" url = "path"; +|}; + +@r4:DataTypeDefinition { + name: "CqfValueFilterSearchParam", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "searchParam.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "searchParam.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "searchParam.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "searchParam.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfValueFilterSearchParam record {| + *r4:StringExtension; + + r4:Extension[] extension?; + string valueString?; + string id?; + "searchParam" url = "searchParam"; +|}; + +@r4:DataTypeDefinition { + name: "CqfValueFilterValue", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "value.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "value.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "value.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfValueFilterValue record {| + *r4:Base64BinaryExtension; + + boolean valueBoolean?; + r4:Extension[] extension?; + string valueString?; + r4:code valueCode?; + string id?; + "value" url = "value"; +|}; + +@r4:DataTypeDefinition { + name: "DerivationReferenceLength", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "length.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "length.id" + }, + + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "length.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "length.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DerivationReferenceLength record {| + *r4:IntegerExtension; + + string id?; + r4:integer valueInteger; + "length" url = "length"; +|}; + +@r4:DataTypeDefinition { + name: "DerivationReferenceOffset", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "offset.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "offset.id" + }, + + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "offset.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "offset.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DerivationReferenceOffset record {| + *r4:IntegerExtension; + + string id?; + r4:integer valueInteger; + "offset" url = "offset"; +|}; + +@r4:DataTypeDefinition { + name: "DerivationReferencePath", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "path.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "path.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "path.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "path.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DerivationReferencePath record {| + *r4:StringExtension; + + string valueString; + string id?; + "path" url = "path"; +|}; + +@r4:DataTypeDefinition { + name: "DerivationReferenceReference", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "reference.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "reference.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "reference.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "reference.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DerivationReferenceReference record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + string id?; + "reference" url = "reference"; +|}; + +@r4:DataTypeDefinition { + name: "DeviceMaintenanceresponsibilityOrganization", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "organization.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "organization.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "organization.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "organization.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DeviceMaintenanceresponsibilityOrganization record {| + *r4:ReferenceExtension; + + r4:Reference valueReference?; + string id?; + "organization" url = "organization"; +|}; + +@r4:DataTypeDefinition { + name: "DeviceMaintenanceresponsibilityPerson", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "person.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "person.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "person.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "person.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DeviceMaintenanceresponsibilityPerson record {| + *r4:ReferenceExtension; + + r4:Reference valueReference?; + string id?; + "person" url = "person"; +|}; + +@r4:DataTypeDefinition { + name: "DevicerequestPatientInstructionContent", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "content.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "content.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "content.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "content.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DevicerequestPatientInstructionContent record {| + *r4:StringExtension; + + string valueString; + string id?; + "content" url = "content"; +|}; + +@r4:DataTypeDefinition { + name: "DevicerequestPatientInstructionLang", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "lang.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "lang.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "lang.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "lang.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DevicerequestPatientInstructionLang record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "lang" url = "lang"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportGeneticsAnalysisInterpretation", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "interpretation.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "interpretation.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "interpretation.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "interpretation.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportGeneticsAnalysisInterpretation record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "interpretation" url = "interpretation"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportGeneticsAnalysisType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "type.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "type.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "type.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportGeneticsAnalysisType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "type" url = "type"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportGeneticsReferencesDescription", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "description.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "description.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "description.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "description.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportGeneticsReferencesDescription record {| + *r4:StringExtension; + + string valueString; + string id?; + "description" url = "description"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportGeneticsReferencesReference", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "reference.extension" + }, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "reference.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "reference.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "reference.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportGeneticsReferencesReference record {| + *r4:UriExtension; + + r4:uri valueUri; + string id?; + "reference" url = "reference"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportGeneticsReferencesType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "type.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "type.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "type.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportGeneticsReferencesType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "type" url = "type"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportWorkflowStatusTimestamp", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "timestamp.extension" + }, + + "valueInstant": { + name: "valueInstant", + dataType: r4:instant, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "timestamp.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "timestamp.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "timestamp.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportWorkflowStatusTimestamp record {| + *r4:InstantExtension; + + r4:instant valueInstant; + string id?; + "timestamp" url = "timestamp"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportWorkflowStatusValue", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "value.extension" + }, + + "valueInstant": { + name: "valueInstant", + dataType: r4:instant, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "value.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "value.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportWorkflowStatusValue record {| + *r4:Base64BinaryExtension; + + r4:CodeableConcept valueCodeableConcept; + r4:base64Binary valueBase64Binary?; + r4:instant valueInstant; + string id?; + "value" url = "value"; +|}; + +@r4:DataTypeDefinition { + name: "DosageConditionsCondition", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "condition.value[x]" + }, + + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "condition.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "condition.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "condition.value[x]" + }, + + "precondition": { + name: "precondition", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A condition that must (or must not) be present for the dosage instructions to be followed.", + path: "condition.precondition" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "condition.id" + }, + + "doesNotOccur": { + name: "doesNotOccur", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "If set to 'true', indicates that the condition must not be present for the dosage instructions to be followed.", + path: "condition.doesNotOccur" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "condition.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageConditionsCondition record {| + *r4:Base64BinaryExtension; + + boolean valueBoolean; + r4:Extension[] extension; + r4:Reference valueReference; + r4:Extension[] precondition?; + string id?; + r4:Extension[] doesNotOccur?; + "doesNotOccur" url = "doesNotOccur"; +|}; + +@r4:DataTypeDefinition { + name: "DosageConditionsDoesNotOccur", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "doesNotOccur.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "doesNotOccur.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "doesNotOccur.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "doesNotOccur.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageConditionsDoesNotOccur record {| + *r4:BooleanExtension; + + boolean valueBoolean; + string id?; + "doesNotOccur" url = "doesNotOccur"; +|}; + +@r4:DataTypeDefinition { + name: "DosageConditionsGoal", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "goal.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "goal.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "goal.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "goal.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageConditionsGoal record {| + *r4:StringExtension; + + string valueString; + string id?; + "goal" url = "goal"; +|}; + +@r4:DataTypeDefinition { + name: "DosageConditionsMeetGoal", + baseType: (), + elements: { + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "meetGoal.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "meetGoal.extension" + }, + + "goal": { + name: "goal", + dataType: r4:Extension, + min: 1, + max: 1, + isArray: true, + description: "The specific goal to meet to follow the dosage instructions.", + path: "meetGoal.goal" + }, + + "offset": { + name: "offset", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "Specifies the offset before or after the goal is met to follow the instructions.", + path: "meetGoal.offset" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "meetGoal.value[x]" + }, + + "valueDuration": { + name: "valueDuration", + dataType: r4:Duration, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "meetGoal.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "meetGoal.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "meetGoal.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageConditionsMeetGoal record {| + *r4:Base64BinaryExtension; + + r4:Extension[] extension; + r4:Extension[] goal; + r4:Extension[] offset?; + string valueString; + r4:Duration valueDuration; + string id?; + "offset" url = "offset"; +|}; + +@r4:DataTypeDefinition { + name: "DosageConditionsOffset", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "offset.extension" + }, + + "valueDuration": { + name: "valueDuration", + dataType: r4:Duration, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "offset.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "offset.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "offset.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageConditionsOffset record {| + *r4:DurationExtension; + + r4:Duration valueDuration; + string id?; + "offset" url = "offset"; +|}; + +@r4:DataTypeDefinition { + name: "DosageConditionsPrecondition", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "precondition.value[x]" + }, + + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "precondition.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "precondition.extension" + }, + + "condition": { + name: "condition", + dataType: r4:Extension, + min: 1, + max: 1, + isArray: true, + description: "The event that causes the dosage instruction to be followed.", + path: "precondition.condition" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "precondition.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "precondition.id" + }, + + "doesNotOccur": { + name: "doesNotOccur", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "If set to 'true', indicates that the condition must not be present for the dosage instructions to be followed.", + path: "precondition.doesNotOccur" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "precondition.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageConditionsPrecondition record {| + *r4:Base64BinaryExtension; + + boolean valueBoolean; + r4:Extension[] extension; + r4:Extension[] condition; + r4:Reference valueReference; + string id?; + r4:Extension[] doesNotOccur?; + "doesNotOccur" url = "doesNotOccur"; +|}; + +@r4:DataTypeDefinition { + name: "DosageConditionsTrigger", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "trigger.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "trigger.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "trigger.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "trigger.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageConditionsTrigger record {| + *r4:StringExtension; + + string valueString; + string id?; + "trigger" url = "trigger"; +|}; + +@r4:DataTypeDefinition { + name: "DosageConditionsWhenTrigger", + baseType: (), + elements: { + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "whenTrigger.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "whenTrigger.extension" + }, + + "offset": { + name: "offset", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "Specifies the offset before or after the trigger happens to follow the instructions.", + path: "whenTrigger.offset" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "whenTrigger.value[x]" + }, + + "valueDuration": { + name: "valueDuration", + dataType: r4:Duration, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "whenTrigger.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "whenTrigger.id" + }, + + "trigger": { + name: "trigger", + dataType: r4:Extension, + min: 1, + max: 1, + isArray: true, + description: "The event that causes the dosage instruction to be followed.", + path: "whenTrigger.trigger" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "whenTrigger.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageConditionsWhenTrigger record {| + *r4:Base64BinaryExtension; + + r4:Extension[] extension; + r4:Extension[] offset?; + string valueString; + r4:Duration valueDuration; + string id?; + r4:Extension[] trigger; + "offset" url = "offset"; +|}; + +@r4:DataTypeDefinition { + name: "DosageMinimumGapBetweenDoseCondition", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "condition.value[x]" + }, + + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "condition.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "condition.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "condition.value[x]" + }, + + "precondition": { + name: "precondition", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A condition that must (or must not) be present for the dosage instructions to be followed.", + path: "condition.precondition" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "condition.id" + }, + + "doesNotOccur": { + name: "doesNotOccur", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "If set to 'true', indicates that the condition must not be present for the dosage instructions to be followed.", + path: "condition.doesNotOccur" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "condition.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageMinimumGapBetweenDoseCondition record {| + *r4:Base64BinaryExtension; + + boolean valueBoolean; + r4:Extension[] extension; + r4:Reference valueReference; + r4:Extension[] precondition?; + string id?; + r4:Extension[] doesNotOccur?; + "doesNotOccur" url = "doesNotOccur"; +|}; + +@r4:DataTypeDefinition { + name: "DosageMinimumGapBetweenDoseDoesNotOccur", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "doesNotOccur.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "doesNotOccur.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "doesNotOccur.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "doesNotOccur.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageMinimumGapBetweenDoseDoesNotOccur record {| + *r4:BooleanExtension; + + boolean valueBoolean; + string id?; + "doesNotOccur" url = "doesNotOccur"; +|}; + +@r4:DataTypeDefinition { + name: "DosageMinimumGapBetweenDoseGoal", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "goal.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "goal.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "goal.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "goal.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageMinimumGapBetweenDoseGoal record {| + *r4:StringExtension; + + string valueString; + string id?; + "goal" url = "goal"; +|}; + +@r4:DataTypeDefinition { + name: "DosageMinimumGapBetweenDoseMeetGoal", + baseType: (), + elements: { + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "meetGoal.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "meetGoal.extension" + }, + + "goal": { + name: "goal", + dataType: r4:Extension, + min: 1, + max: 1, + isArray: true, + description: "The specific goal to meet to follow the dosage instructions.", + path: "meetGoal.goal" + }, + + "offset": { + name: "offset", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "Specifies the offset before or after the goal is met to follow the instructions.", + path: "meetGoal.offset" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "meetGoal.value[x]" + }, + + "valueDuration": { + name: "valueDuration", + dataType: r4:Duration, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "meetGoal.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "meetGoal.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "meetGoal.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageMinimumGapBetweenDoseMeetGoal record {| + *r4:Base64BinaryExtension; + + r4:Extension[] extension; + r4:Extension[] goal; + r4:Extension[] offset?; + string valueString; + r4:Duration valueDuration; + string id?; + "offset" url = "offset"; +|}; + +@r4:DataTypeDefinition { + name: "DosageMinimumGapBetweenDoseOffset", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "offset.extension" + }, + + "valueDuration": { + name: "valueDuration", + dataType: r4:Duration, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "offset.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "offset.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "offset.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageMinimumGapBetweenDoseOffset record {| + *r4:DurationExtension; + + r4:Duration valueDuration; + string id?; + "offset" url = "offset"; +|}; + +@r4:DataTypeDefinition { + name: "DosageMinimumGapBetweenDosePrecondition", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "precondition.value[x]" + }, + + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "precondition.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "precondition.extension" + }, + + "condition": { + name: "condition", + dataType: r4:Extension, + min: 1, + max: 1, + isArray: true, + description: "The event that causes the dosage instruction to be followed.", + path: "precondition.condition" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "precondition.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "precondition.id" + }, + + "doesNotOccur": { + name: "doesNotOccur", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "If set to 'true', indicates that the condition must not be present for the dosage instructions to be followed.", + path: "precondition.doesNotOccur" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "precondition.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageMinimumGapBetweenDosePrecondition record {| + *r4:Base64BinaryExtension; + + boolean valueBoolean; + r4:Extension[] extension; + r4:Extension[] condition; + r4:Reference valueReference; + string id?; + r4:Extension[] doesNotOccur?; + "doesNotOccur" url = "doesNotOccur"; +|}; + +@r4:DataTypeDefinition { + name: "DosageMinimumGapBetweenDoseTrigger", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "trigger.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "trigger.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "trigger.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "trigger.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageMinimumGapBetweenDoseTrigger record {| + *r4:StringExtension; + + string valueString; + string id?; + "trigger" url = "trigger"; +|}; + +@r4:DataTypeDefinition { + name: "DosageMinimumGapBetweenDoseWhenTrigger", + baseType: (), + elements: { + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "whenTrigger.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "whenTrigger.extension" + }, + + "offset": { + name: "offset", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "Specifies the offset before or after the trigger happens to follow the instructions.", + path: "whenTrigger.offset" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "whenTrigger.value[x]" + }, + + "valueDuration": { + name: "valueDuration", + dataType: r4:Duration, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "whenTrigger.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "whenTrigger.id" + }, + + "trigger": { + name: "trigger", + dataType: r4:Extension, + min: 1, + max: 1, + isArray: true, + description: "The event that causes the dosage instruction to be followed.", + path: "whenTrigger.trigger" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "whenTrigger.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageMinimumGapBetweenDoseWhenTrigger record {| + *r4:Base64BinaryExtension; + + r4:Extension[] extension; + r4:Extension[] offset?; + string valueString; + r4:Duration valueDuration; + string id?; + r4:Extension[] trigger; + "offset" url = "offset"; +|}; + +@r4:DataTypeDefinition { + name: "FamilyMemberHistoryGeneticsParentReference", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "reference.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "reference.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "reference.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "reference.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FamilyMemberHistoryGeneticsParentReference record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + string id?; + "reference" url = "reference"; +|}; + +@r4:DataTypeDefinition { + name: "FamilyMemberHistoryGeneticsParentType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "type.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "type.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "type.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FamilyMemberHistoryGeneticsParentType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "type" url = "type"; +|}; + +@r4:DataTypeDefinition { + name: "FamilyMemberHistoryGeneticsSiblingReference", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "reference.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "reference.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "reference.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "reference.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FamilyMemberHistoryGeneticsSiblingReference record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + string id?; + "reference" url = "reference"; +|}; + +@r4:DataTypeDefinition { + name: "FamilyMemberHistoryGeneticsSiblingType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "type.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "type.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "type.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FamilyMemberHistoryGeneticsSiblingType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "type" url = "type"; +|}; + +@r4:DataTypeDefinition { + name: "GeolocationLatitude", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "latitude.extension" + }, + + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "latitude.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "latitude.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "latitude.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type GeolocationLatitude record {| + *r4:DecimalExtension; + + decimal valueDecimal; + string id?; + "latitude" url = "latitude"; +|}; + +@r4:DataTypeDefinition { + name: "GeolocationLongitude", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "longitude.extension" + }, + + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "longitude.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "longitude.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "longitude.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type GeolocationLongitude record {| + *r4:DecimalExtension; + + decimal valueDecimal; + string id?; + "longitude" url = "longitude"; +|}; + +@r4:DataTypeDefinition { + name: "GoalAcceptanceIndividual", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "individual.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "individual.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "individual.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "individual.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type GoalAcceptanceIndividual record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + string id?; + "individual" url = "individual"; +|}; + +@r4:DataTypeDefinition { + name: "GoalAcceptancePriority", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "priority.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "priority.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "priority.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "priority.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type GoalAcceptancePriority record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "priority" url = "priority"; +|}; + +@r4:DataTypeDefinition { + name: "GoalAcceptanceStatus", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "status.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "status.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "status.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "status.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type GoalAcceptanceStatus record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "status" url = "status"; +|}; + +@r4:DataTypeDefinition { + name: "GoalRelationshipTarget", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "target.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "target.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "target.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "target.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type GoalRelationshipTarget record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + string id?; + "target" url = "target"; +|}; + +@r4:DataTypeDefinition { + name: "GoalRelationshipType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "type.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "type.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "type.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type GoalRelationshipType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "type" url = "type"; +|}; + +@r4:DataTypeDefinition { + name: "HlaGenotypingResultsGlstringText", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "text.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "text.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "text.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "text.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HlaGenotypingResultsGlstringText record {| + *r4:StringExtension; + + string valueString; + string id?; + "text" url = "text"; +|}; + +@r4:DataTypeDefinition { + name: "HlaGenotypingResultsGlstringUrl", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "url.extension" + }, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "url.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "url.id" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HlaGenotypingResultsGlstringUrl record {| + *r4:UriExtension; + + r4:uri valueUri; + string id?; +|}; + +@r4:DataTypeDefinition { + name: "HlaGenotypingResultsHaploidLocus", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "locus.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "locus.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "locus.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "locus.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HlaGenotypingResultsHaploidLocus record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "locus" url = "locus"; +|}; + +@r4:DataTypeDefinition { + name: "HlaGenotypingResultsHaploidMethod", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "method.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "method.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "method.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "method.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HlaGenotypingResultsHaploidMethod record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "method" url = "method"; +|}; + +@r4:DataTypeDefinition { + name: "HlaGenotypingResultsHaploidType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "type.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "type.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "type.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HlaGenotypingResultsHaploidType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "type" url = "type"; +|}; + +@r4:DataTypeDefinition { + name: "Capabilities", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type Capabilities record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities" url = "http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities"; +|}; + +@r4:DataTypeDefinition { + name: "OauthUris", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OauthUris record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris" url = "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"; +|}; + +@r4:DataTypeDefinition { + name: "ObjectClass", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObjectClass record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + "http://hl7.org/fhir/StructureDefinition/11179-objectClass" url = "http://hl7.org/fhir/StructureDefinition/11179-objectClass"; +|}; + +@r4:DataTypeDefinition { + name: "ObjectClassProperty", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObjectClassProperty record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty" url = "http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty"; +|}; + +@r4:DataTypeDefinition { + name: "PermittedValueConceptmap", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PermittedValueConceptmap record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap" url = "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap"; +|}; + +@r4:DataTypeDefinition { + name: "PermittedValueValueset", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PermittedValueValueset record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset" url = "http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportGeneticsAnalysis", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportGeneticsAnalysis record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis" url = "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportGeneticsAssessedCondition", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportGeneticsAssessedCondition record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition" url = "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportGeneticsFamilyMemberHistory", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportGeneticsFamilyMemberHistory record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory" url = "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportGeneticsReferences", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportGeneticsReferences record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences" url = "http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences"; +|}; + +@r4:DataTypeDefinition { + name: "_datatype", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type _datatype record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/_datatype" url = "http://hl7.org/fhir/StructureDefinition/_datatype"; +|}; + +@r4:DataTypeDefinition { + name: "AdditionalIdentifier", + baseType: (), + elements: { + "valueIdentifier": { + name: "valueIdentifier", + dataType: r4:Identifier, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AdditionalIdentifier record {| + *r4:IdentifierExtension; + + r4:Identifier valueIdentifier; + "http://hl7.org/fhir/StructureDefinition/additionalIdentifier" url = "http://hl7.org/fhir/StructureDefinition/additionalIdentifier"; +|}; + +@r4:DataTypeDefinition { + name: "AddressOfficial", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AddressOfficial record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/address-official" url = "http://hl7.org/fhir/StructureDefinition/address-official"; +|}; + +@r4:DataTypeDefinition { + name: "AllergyintoleranceAbatement", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AllergyintoleranceAbatement record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement" url = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement"; +|}; + +@r4:DataTypeDefinition { + name: "AllergyintoleranceAssertedDate", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AllergyintoleranceAssertedDate record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate" url = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate"; +|}; + +@r4:DataTypeDefinition { + name: "AllergyintoleranceCertainty", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AllergyintoleranceCertainty record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty" url = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty"; +|}; + +@r4:DataTypeDefinition { + name: "AllergyintoleranceDuration", + baseType: (), + elements: { + "valueDuration": { + name: "valueDuration", + dataType: r4:Duration, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AllergyintoleranceDuration record {| + *r4:DurationExtension; + + r4:Duration valueDuration; + "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration" url = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration"; +|}; + +@r4:DataTypeDefinition { + name: "AllergyintoleranceReasonRefuted", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AllergyintoleranceReasonRefuted record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted" url = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted"; +|}; + +@r4:DataTypeDefinition { + name: "AllergyintoleranceResolutionAge", + baseType: (), + elements: { + "valueAge": { + name: "valueAge", + dataType: r4:Age, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AllergyintoleranceResolutionAge record {| + *r4:AgeExtension; + + r4:Age valueAge; + "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge" url = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge"; +|}; + +@r4:DataTypeDefinition { + name: "AllergyintoleranceSubstanceExposureRisk", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AllergyintoleranceSubstanceExposureRisk record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk" url = "http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk"; +|}; + +@r4:DataTypeDefinition { + name: "AlternateCanonical", + baseType: (), + elements: { + "valueUrl": { + name: "valueUrl", + dataType: r4:urlType, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AlternateCanonical record {| + *r4:UrlExtension; + + r4:url valueUrl; + "http://hl7.org/fhir/StructureDefinition/alternate-canonical" url = "http://hl7.org/fhir/StructureDefinition/alternate-canonical"; +|}; + +@r4:DataTypeDefinition { + name: "AlternateCodes", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AlternateCodes record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/alternate-codes" url = "http://hl7.org/fhir/StructureDefinition/alternate-codes"; +|}; + +@r4:DataTypeDefinition { + name: "AlternateReference", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AlternateReference record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/alternate-reference" url = "http://hl7.org/fhir/StructureDefinition/alternate-reference"; +|}; + +@r4:DataTypeDefinition { + name: "AnnotationType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AnnotationType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/annotationType" url = "http://hl7.org/fhir/StructureDefinition/annotationType"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactApprovalDate", + baseType: (), + elements: { + "valueDate": { + name: "valueDate", + dataType: r4:date, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactApprovalDate record {| + *r4:DateExtension; + + r4:date valueDate; + "http://hl7.org/fhir/StructureDefinition/artifact-approvalDate" url = "http://hl7.org/fhir/StructureDefinition/artifact-approvalDate"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactAuthor", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + }, + + "valueContactDetail": { + name: "valueContactDetail", + dataType: r4:ContactDetail, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactAuthor record {| + *r4:ContactDetailExtension; + + "http://hl7.org/fhir/StructureDefinition/artifact-author" url = "http://hl7.org/fhir/StructureDefinition/artifact-author"; + r4:ContactDetail valueContactDetail; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactCanonicalReference", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactCanonicalReference record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/artifact-canonicalReference" url = "http://hl7.org/fhir/StructureDefinition/artifact-canonicalReference"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactCiteAs", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactCiteAs record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/artifact-citeAs" url = "http://hl7.org/fhir/StructureDefinition/artifact-citeAs"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactContact", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + }, + + "valueContactDetail": { + name: "valueContactDetail", + dataType: r4:ContactDetail, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactContact record {| + *r4:ContactDetailExtension; + + "http://hl7.org/fhir/StructureDefinition/artifact-contact" url = "http://hl7.org/fhir/StructureDefinition/artifact-contact"; + r4:ContactDetail valueContactDetail; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactContactDetailReference", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactContactDetailReference record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/artifact-contactDetailReference" url = "http://hl7.org/fhir/StructureDefinition/artifact-contactDetailReference"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactCopyright", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactCopyright record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/artifact-copyright" url = "http://hl7.org/fhir/StructureDefinition/artifact-copyright"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactCopyrightLabel", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactCopyrightLabel record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel" url = "http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactDate", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactDate record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/artifact-date" url = "http://hl7.org/fhir/StructureDefinition/artifact-date"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactDescription", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactDescription record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/artifact-description" url = "http://hl7.org/fhir/StructureDefinition/artifact-description"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactEditor", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + }, + + "valueContactDetail": { + name: "valueContactDetail", + dataType: r4:ContactDetail, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactEditor record {| + *r4:ContactDetailExtension; + + "http://hl7.org/fhir/StructureDefinition/artifact-editor" url = "http://hl7.org/fhir/StructureDefinition/artifact-editor"; + r4:ContactDetail valueContactDetail; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactEffectivePeriod", + baseType: (), + elements: { + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactEffectivePeriod record {| + *r4:PeriodExtension; + + r4:Period valuePeriod; + "http://hl7.org/fhir/StructureDefinition/artifact-effectivePeriod" url = "http://hl7.org/fhir/StructureDefinition/artifact-effectivePeriod"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactEndorser", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + }, + + "valueContactDetail": { + name: "valueContactDetail", + dataType: r4:ContactDetail, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactEndorser record {| + *r4:ContactDetailExtension; + + "http://hl7.org/fhir/StructureDefinition/artifact-endorser" url = "http://hl7.org/fhir/StructureDefinition/artifact-endorser"; + r4:ContactDetail valueContactDetail; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactExperimental", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactExperimental record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/artifact-experimental" url = "http://hl7.org/fhir/StructureDefinition/artifact-experimental"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactIdentifier", + baseType: (), + elements: { + "valueIdentifier": { + name: "valueIdentifier", + dataType: r4:Identifier, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactIdentifier record {| + *r4:IdentifierExtension; + + r4:Identifier valueIdentifier; + "http://hl7.org/fhir/StructureDefinition/artifact-identifier" url = "http://hl7.org/fhir/StructureDefinition/artifact-identifier"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactIsOwned", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactIsOwned record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/artifact-isOwned" url = "http://hl7.org/fhir/StructureDefinition/artifact-isOwned"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactJurisdiction", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactJurisdiction record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/artifact-jurisdiction" url = "http://hl7.org/fhir/StructureDefinition/artifact-jurisdiction"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactLastReviewDate", + baseType: (), + elements: { + "valueDate": { + name: "valueDate", + dataType: r4:date, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactLastReviewDate record {| + *r4:DateExtension; + + r4:date valueDate; + "http://hl7.org/fhir/StructureDefinition/artifact-lastReviewDate" url = "http://hl7.org/fhir/StructureDefinition/artifact-lastReviewDate"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactName", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactName record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/artifact-name" url = "http://hl7.org/fhir/StructureDefinition/artifact-name"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactPeriodDuration", + baseType: (), + elements: { + "valueDuration": { + name: "valueDuration", + dataType: r4:Duration, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactPeriodDuration record {| + *r4:DurationExtension; + + r4:Duration valueDuration; + "http://hl7.org/fhir/StructureDefinition/artifact-periodDuration" url = "http://hl7.org/fhir/StructureDefinition/artifact-periodDuration"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactPublisher", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactPublisher record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/artifact-publisher" url = "http://hl7.org/fhir/StructureDefinition/artifact-publisher"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactPurpose", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactPurpose record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/artifact-purpose" url = "http://hl7.org/fhir/StructureDefinition/artifact-purpose"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactReference", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactReference record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/artifact-reference" url = "http://hl7.org/fhir/StructureDefinition/artifact-reference"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactRelatedArtifact", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + }, + + "valueRelatedArtifact": { + name: "valueRelatedArtifact", + dataType: r4:RelatedArtifact, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactRelatedArtifact record {| + *r4:RelatedArtifactExtension; + + "http://hl7.org/fhir/StructureDefinition/artifact-relatedArtifact" url = "http://hl7.org/fhir/StructureDefinition/artifact-relatedArtifact"; + r4:RelatedArtifact valueRelatedArtifact; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactReleaseDescription", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactReleaseDescription record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/artifact-releaseDescription" url = "http://hl7.org/fhir/StructureDefinition/artifact-releaseDescription"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactReleaseLabel", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactReleaseLabel record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/artifact-releaseLabel" url = "http://hl7.org/fhir/StructureDefinition/artifact-releaseLabel"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactReviewer", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + }, + + "valueContactDetail": { + name: "valueContactDetail", + dataType: r4:ContactDetail, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactReviewer record {| + *r4:ContactDetailExtension; + + "http://hl7.org/fhir/StructureDefinition/artifact-reviewer" url = "http://hl7.org/fhir/StructureDefinition/artifact-reviewer"; + r4:ContactDetail valueContactDetail; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactStatus", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactStatus record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/artifact-status" url = "http://hl7.org/fhir/StructureDefinition/artifact-status"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactTitle", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactTitle record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/artifact-title" url = "http://hl7.org/fhir/StructureDefinition/artifact-title"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactTopic", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactTopic record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/artifact-topic" url = "http://hl7.org/fhir/StructureDefinition/artifact-topic"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactUriReference", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactUriReference record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/artifact-uriReference" url = "http://hl7.org/fhir/StructureDefinition/artifact-uriReference"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactUrl", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactUrl record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/artifact-url" url = "http://hl7.org/fhir/StructureDefinition/artifact-url"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactUsage", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactUsage record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/artifact-usage" url = "http://hl7.org/fhir/StructureDefinition/artifact-usage"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactUseContext", + baseType: (), + elements: { + "valueUsageContext": { + name: "valueUsageContext", + dataType: r4:UsageContext, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactUseContext record {| + *r4:UsageContextExtension; + + r4:UsageContext valueUsageContext; + "http://hl7.org/fhir/StructureDefinition/artifact-useContext" url = "http://hl7.org/fhir/StructureDefinition/artifact-useContext"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactVersion", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactVersion record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/artifact-version" url = "http://hl7.org/fhir/StructureDefinition/artifact-version"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactVersionAlgorithm", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactVersionAlgorithm record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm" url = "http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactVersionPolicy", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactVersionPolicy record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/artifact-versionPolicy" url = "http://hl7.org/fhir/StructureDefinition/artifact-versionPolicy"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactassessmentContent", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactassessmentContent record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/artifactassessment-content" url = "http://hl7.org/fhir/StructureDefinition/artifactassessment-content"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactassessmentDisposition", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactassessmentDisposition record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/artifactassessment-disposition" url = "http://hl7.org/fhir/StructureDefinition/artifactassessment-disposition"; +|}; + +@r4:DataTypeDefinition { + name: "ArtifactassessmentWorkflowStatus", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ArtifactassessmentWorkflowStatus record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/artifactassessment-workflowStatus" url = "http://hl7.org/fhir/StructureDefinition/artifactassessment-workflowStatus"; +|}; + +@r4:DataTypeDefinition { + name: "AuditeventAccession", + baseType: (), + elements: { + "valueIdentifier": { + name: "valueIdentifier", + dataType: r4:Identifier, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AuditeventAccession record {| + *r4:IdentifierExtension; + + r4:Identifier valueIdentifier; + "http://hl7.org/fhir/StructureDefinition/auditevent-Accession" url = "http://hl7.org/fhir/StructureDefinition/auditevent-Accession"; +|}; + +@r4:DataTypeDefinition { + name: "AuditeventAlternativeUserID", + baseType: (), + elements: { + "valueIdentifier": { + name: "valueIdentifier", + dataType: r4:Identifier, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AuditeventAlternativeUserID record {| + *r4:IdentifierExtension; + + r4:Identifier valueIdentifier; + "http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID" url = "http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID"; +|}; + +@r4:DataTypeDefinition { + name: "AuditeventAnonymized", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AuditeventAnonymized record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized" url = "http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized"; +|}; + +@r4:DataTypeDefinition { + name: "AuditeventEncrypted", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AuditeventEncrypted record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted" url = "http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted"; +|}; + +@r4:DataTypeDefinition { + name: "AuditeventInstance", + baseType: (), + elements: { + "valueIdentifier": { + name: "valueIdentifier", + dataType: r4:Identifier, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AuditeventInstance record {| + *r4:IdentifierExtension; + + r4:Identifier valueIdentifier; + "http://hl7.org/fhir/StructureDefinition/auditevent-Instance" url = "http://hl7.org/fhir/StructureDefinition/auditevent-Instance"; +|}; + +@r4:DataTypeDefinition { + name: "AuditeventLifecycle", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AuditeventLifecycle record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/auditevent-Lifecycle" url = "http://hl7.org/fhir/StructureDefinition/auditevent-Lifecycle"; +|}; + +@r4:DataTypeDefinition { + name: "AuditeventMPPS", + baseType: (), + elements: { + "valueIdentifier": { + name: "valueIdentifier", + dataType: r4:Identifier, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AuditeventMPPS record {| + *r4:IdentifierExtension; + + r4:Identifier valueIdentifier; + "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS" url = "http://hl7.org/fhir/StructureDefinition/auditevent-MPPS"; +|}; + +@r4:DataTypeDefinition { + name: "AuditeventNumberOfInstances", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AuditeventNumberOfInstances record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances" url = "http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances"; +|}; + +@r4:DataTypeDefinition { + name: "AuditeventOnBehalfOf", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AuditeventOnBehalfOf record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf" url = "http://hl7.org/fhir/StructureDefinition/auditevent-OnBehalfOf"; +|}; + +@r4:DataTypeDefinition { + name: "AuditeventParticipantObjectContainsStudy", + baseType: (), + elements: { + "valueIdentifier": { + name: "valueIdentifier", + dataType: r4:Identifier, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AuditeventParticipantObjectContainsStudy record {| + *r4:IdentifierExtension; + + r4:Identifier valueIdentifier; + "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy" url = "http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy"; +|}; + +@r4:DataTypeDefinition { + name: "AuditeventSOPClass", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type AuditeventSOPClass record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass" url = "http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass"; +|}; + +@r4:DataTypeDefinition { + name: "BiologicallyderivedproductCollectionProcedure", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type BiologicallyderivedproductCollectionProcedure record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-collection-procedure" url = "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-collection-procedure"; +|}; + +@r4:DataTypeDefinition { + name: "BiologicallyderivedproductManipulation", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type BiologicallyderivedproductManipulation record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-manipulation" url = "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-manipulation"; +|}; + +@r4:DataTypeDefinition { + name: "BiologicallyderivedproductProcessing", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type BiologicallyderivedproductProcessing record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-processing" url = "http://hl7.org/fhir/StructureDefinition/biologicallyderivedproduct-processing"; +|}; + +@r4:DataTypeDefinition { + name: "BodySite", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type BodySite record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/bodySite" url = "http://hl7.org/fhir/StructureDefinition/bodySite"; +|}; + +@r4:DataTypeDefinition { + name: "BusinessEvent", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type BusinessEvent record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/businessEvent" url = "http://hl7.org/fhir/StructureDefinition/businessEvent"; +|}; + +@r4:DataTypeDefinition { + name: "CanonicalresourceShortDescription", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CanonicalresourceShortDescription record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/canonicalresource-short-description" url = "http://hl7.org/fhir/StructureDefinition/canonicalresource-short-description"; +|}; + +@r4:DataTypeDefinition { + name: "CapabilitystatementDeclaredProfile", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CapabilitystatementDeclaredProfile record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/capabilitystatement-declared-profile" url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-declared-profile"; +|}; + +@r4:DataTypeDefinition { + name: "CapabilitystatementExpectation", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CapabilitystatementExpectation record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation" url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"; +|}; + +@r4:DataTypeDefinition { + name: "CapabilitystatementProhibited", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CapabilitystatementProhibited record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited" url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited"; +|}; + +@r4:DataTypeDefinition { + name: "CapabilitystatementSearchMode", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CapabilitystatementSearchMode record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-mode" url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-mode"; +|}; + +@r4:DataTypeDefinition { + name: "CapabilitystatementSearchParameterCombination", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CapabilitystatementSearchParameterCombination record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"; +|}; + +@r4:DataTypeDefinition { + name: "CapabilitystatementSearchParameterUse", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 3, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CapabilitystatementSearchParameterUse record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-use" url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-use"; +|}; + +@r4:DataTypeDefinition { + name: "CapabilitystatementSupportedSystem", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CapabilitystatementSupportedSystem record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system" url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system"; +|}; + +@r4:DataTypeDefinition { + name: "CapabilitystatementWebsocket", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CapabilitystatementWebsocket record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket" url = "http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket"; +|}; + +@r4:DataTypeDefinition { + name: "CareplanActivityTitle", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CareplanActivityTitle record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/careplan-activity-title" url = "http://hl7.org/fhir/StructureDefinition/careplan-activity-title"; +|}; + +@r4:DataTypeDefinition { + name: "CareteamAlias", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CareteamAlias record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/careteam-alias" url = "http://hl7.org/fhir/StructureDefinition/careteam-alias"; +|}; + +@r4:DataTypeDefinition { + name: "CharacteristicExpression", + baseType: (), + elements: { + "valueExpression": { + name: "valueExpression", + dataType: r4:Expression, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CharacteristicExpression record {| + *r4:ExpressionExtension; + + r4:Expression valueExpression; + "http://hl7.org/fhir/StructureDefinition/characteristicExpression" url = "http://hl7.org/fhir/StructureDefinition/characteristicExpression"; +|}; + +@r4:DataTypeDefinition { + name: "CitationSocietyAffiliation", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CitationSocietyAffiliation record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/citation-societyAffiliation" url = "http://hl7.org/fhir/StructureDefinition/citation-societyAffiliation"; +|}; + +@r4:DataTypeDefinition { + name: "CodeOptions", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodeOptions record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/codeOptions" url = "http://hl7.org/fhir/StructureDefinition/codeOptions"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemAlternate", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemAlternate record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/codesystem-alternate" url = "http://hl7.org/fhir/StructureDefinition/codesystem-alternate"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemAuthor", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemAuthor record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/codesystem-author" url = "http://hl7.org/fhir/StructureDefinition/codesystem-author"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemAuthoritativeSource", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemAuthoritativeSource record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/codesystem-authoritativeSource" url = "http://hl7.org/fhir/StructureDefinition/codesystem-authoritativeSource"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemConceptComments", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemConceptComments record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments" url = "http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemConceptOrder", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemConceptOrder record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder" url = "http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemEffectiveDate", + baseType: (), + elements: { + "valueDate": { + name: "valueDate", + dataType: r4:date, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemEffectiveDate record {| + *r4:DateExtension; + + r4:date valueDate; + "http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate" url = "http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemExpirationDate", + baseType: (), + elements: { + "valueDate": { + name: "valueDate", + dataType: r4:date, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemExpirationDate record {| + *r4:DateExtension; + + r4:date valueDate; + "http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate" url = "http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemHistory", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemHistory record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/codesystem-history" url = "http://hl7.org/fhir/StructureDefinition/codesystem-history"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemKeyWord", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemKeyWord record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/codesystem-keyWord" url = "http://hl7.org/fhir/StructureDefinition/codesystem-keyWord"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemLabel", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemLabel record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/codesystem-label" url = "http://hl7.org/fhir/StructureDefinition/codesystem-label"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemMap", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemMap record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/codesystem-map" url = "http://hl7.org/fhir/StructureDefinition/codesystem-map"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemOtherName", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemOtherName record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/codesystem-otherName" url = "http://hl7.org/fhir/StructureDefinition/codesystem-otherName"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemPropertiesMode", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemPropertiesMode record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/codesystem-properties-mode" url = "http://hl7.org/fhir/StructureDefinition/codesystem-properties-mode"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemPropertyValueset", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemPropertyValueset record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/codesystem-property-valueset" url = "http://hl7.org/fhir/StructureDefinition/codesystem-property-valueset"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemReplacedby", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemReplacedby record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby" url = "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemSourceReference", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemSourceReference record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference" url = "http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemTrustedExpansion", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemTrustedExpansion record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion" url = "http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemUsage", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemUsage record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/codesystem-usage" url = "http://hl7.org/fhir/StructureDefinition/codesystem-usage"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemUseMarkdown", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemUseMarkdown record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown" url = "http://hl7.org/fhir/StructureDefinition/codesystem-use-markdown"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemWarning", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemWarning record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/codesystem-warning" url = "http://hl7.org/fhir/StructureDefinition/codesystem-warning"; +|}; + +@r4:DataTypeDefinition { + name: "CodesystemWorkflowStatus", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodesystemWorkflowStatus record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus" url = "http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus"; +|}; + +@r4:DataTypeDefinition { + name: "CodingConformance", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodingConformance record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/coding-conformance" url = "http://hl7.org/fhir/StructureDefinition/coding-conformance"; +|}; + +@r4:DataTypeDefinition { + name: "CodingPurpose", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodingPurpose record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + "http://hl7.org/fhir/StructureDefinition/coding-purpose" url = "http://hl7.org/fhir/StructureDefinition/coding-purpose"; +|}; + +@r4:DataTypeDefinition { + name: "CodingSctdescid", + baseType: (), + elements: { + "valueId": { + name: "valueId", + dataType: r4:id, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CodingSctdescid record {| + *r4:IdExtension; + + r4:id valueId; + "http://hl7.org/fhir/StructureDefinition/coding-sctdescid" url = "http://hl7.org/fhir/StructureDefinition/coding-sctdescid"; +|}; + +@r4:DataTypeDefinition { + name: "CommunicationMedia", + baseType: (), + elements: { + "valueAttachment": { + name: "valueAttachment", + dataType: r4:Attachment, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CommunicationMedia record {| + *r4:AttachmentExtension; + + r4:Attachment valueAttachment; + "http://hl7.org/fhir/StructureDefinition/communication-media" url = "http://hl7.org/fhir/StructureDefinition/communication-media"; +|}; + +@r4:DataTypeDefinition { + name: "CommunicationrequestInitiatingLocation", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CommunicationrequestInitiatingLocation record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation" url = "http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation"; +|}; + +@r4:DataTypeDefinition { + name: "CompositionClinicaldocumentOtherConfidentiality", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CompositionClinicaldocumentOtherConfidentiality record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality" url = "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality"; +|}; + +@r4:DataTypeDefinition { + name: "CompositionClinicaldocumentVersionNumber", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CompositionClinicaldocumentVersionNumber record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber" url = "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber"; +|}; + +@r4:DataTypeDefinition { + name: "CompositionSectionSubject", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CompositionSectionSubject record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/composition-section-subject" url = "http://hl7.org/fhir/StructureDefinition/composition-section-subject"; +|}; + +@r4:DataTypeDefinition { + name: "ConceptBidirectional", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConceptBidirectional record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/concept-bidirectional" url = "http://hl7.org/fhir/StructureDefinition/concept-bidirectional"; +|}; + +@r4:DataTypeDefinition { + name: "ConditionAssertedDate", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConditionAssertedDate record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/condition-assertedDate" url = "http://hl7.org/fhir/StructureDefinition/condition-assertedDate"; +|}; + +@r4:DataTypeDefinition { + name: "ConditionDiseaseCourse", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConditionDiseaseCourse record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/condition-diseaseCourse" url = "http://hl7.org/fhir/StructureDefinition/condition-diseaseCourse"; +|}; + +@r4:DataTypeDefinition { + name: "ConditionDueTo", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConditionDueTo record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/condition-dueTo" url = "http://hl7.org/fhir/StructureDefinition/condition-dueTo"; +|}; + +@r4:DataTypeDefinition { + name: "ConditionOccurredFollowing", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConditionOccurredFollowing record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing" url = "http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing"; +|}; + +@r4:DataTypeDefinition { + name: "ConditionOutcome", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConditionOutcome record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/condition-outcome" url = "http://hl7.org/fhir/StructureDefinition/condition-outcome"; +|}; + +@r4:DataTypeDefinition { + name: "ConditionRelated", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConditionRelated record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/condition-related" url = "http://hl7.org/fhir/StructureDefinition/condition-related"; +|}; + +@r4:DataTypeDefinition { + name: "ConditionReviewed", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConditionReviewed record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/condition-reviewed" url = "http://hl7.org/fhir/StructureDefinition/condition-reviewed"; +|}; + +@r4:DataTypeDefinition { + name: "ConditionRuledOut", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConditionRuledOut record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/condition-ruledOut" url = "http://hl7.org/fhir/StructureDefinition/condition-ruledOut"; +|}; + +@r4:DataTypeDefinition { + name: "Confidential", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type Confidential record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/confidential" url = "http://hl7.org/fhir/StructureDefinition/confidential"; +|}; + +@r4:DataTypeDefinition { + name: "ConsentNotificationEndpoint", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConsentNotificationEndpoint record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint" url = "http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint"; +|}; + +@r4:DataTypeDefinition { + name: "ConsentResearchStudyContext", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConsentResearchStudyContext record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/consent-ResearchStudyContext" url = "http://hl7.org/fhir/StructureDefinition/consent-ResearchStudyContext"; +|}; + +@r4:DataTypeDefinition { + name: "ConsentTranscriber", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConsentTranscriber record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/consent-Transcriber" url = "http://hl7.org/fhir/StructureDefinition/consent-Transcriber"; +|}; + +@r4:DataTypeDefinition { + name: "ConsentWitness", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConsentWitness record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/consent-Witness" url = "http://hl7.org/fhir/StructureDefinition/consent-Witness"; +|}; + +@r4:DataTypeDefinition { + name: "ConsentLocation", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ConsentLocation record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/consent-location" url = "http://hl7.org/fhir/StructureDefinition/consent-location"; +|}; + +@r4:DataTypeDefinition { + name: "ContactpointArea", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ContactpointArea record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/contactpoint-area" url = "http://hl7.org/fhir/StructureDefinition/contactpoint-area"; +|}; + +@r4:DataTypeDefinition { + name: "ContactpointComment", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ContactpointComment record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/contactpoint-comment" url = "http://hl7.org/fhir/StructureDefinition/contactpoint-comment"; +|}; + +@r4:DataTypeDefinition { + name: "ContactpointCountry", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ContactpointCountry record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/contactpoint-country" url = "http://hl7.org/fhir/StructureDefinition/contactpoint-country"; +|}; + +@r4:DataTypeDefinition { + name: "ContactpointExtension", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ContactpointExtension record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/contactpoint-extension" url = "http://hl7.org/fhir/StructureDefinition/contactpoint-extension"; +|}; + +@r4:DataTypeDefinition { + name: "ContactpointLocal", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ContactpointLocal record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/contactpoint-local" url = "http://hl7.org/fhir/StructureDefinition/contactpoint-local"; +|}; + +@r4:DataTypeDefinition { + name: "ContactpointPurpose", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ContactpointPurpose record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/contactpoint-purpose" url = "http://hl7.org/fhir/StructureDefinition/contactpoint-purpose"; +|}; + +@r4:DataTypeDefinition { + name: "CqfAlternativeExpression", + baseType: (), + elements: { + "valueExpression": { + name: "valueExpression", + dataType: r4:Expression, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfAlternativeExpression record {| + *r4:ExpressionExtension; + + r4:Expression valueExpression; + "http://hl7.org/fhir/StructureDefinition/cqf-alternativeExpression" url = "http://hl7.org/fhir/StructureDefinition/cqf-alternativeExpression"; +|}; + +@r4:DataTypeDefinition { + name: "CqfArtifactComment", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfArtifactComment record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment" url = "http://hl7.org/fhir/StructureDefinition/cqf-artifactComment"; +|}; + +@r4:DataTypeDefinition { + name: "CqfCalculatedValue", + baseType: (), + elements: { + "valueExpression": { + name: "valueExpression", + dataType: r4:Expression, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfCalculatedValue record {| + *r4:ExpressionExtension; + + r4:Expression valueExpression; + "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue" url = "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue"; +|}; + +@r4:DataTypeDefinition { + name: "CqfCdsHooksEndpoint", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfCdsHooksEndpoint record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint" url = "http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint"; +|}; + +@r4:DataTypeDefinition { + name: "CqfCertainty", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfCertainty record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/cqf-certainty" url = "http://hl7.org/fhir/StructureDefinition/cqf-certainty"; +|}; + +@r4:DataTypeDefinition { + name: "CqfCitation", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfCitation record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/cqf-citation" url = "http://hl7.org/fhir/StructureDefinition/cqf-citation"; +|}; + +@r4:DataTypeDefinition { + name: "CqfContactAddress", + baseType: (), + elements: { + "valueAddress": { + name: "valueAddress", + dataType: r4:Address, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfContactAddress record {| + *r4:AddressExtension; + + r4:Address valueAddress; + "http://hl7.org/fhir/StructureDefinition/cqf-contactAddress" url = "http://hl7.org/fhir/StructureDefinition/cqf-contactAddress"; +|}; + +@r4:DataTypeDefinition { + name: "CqfContactReference", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfContactReference record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/cqf-contactReference" url = "http://hl7.org/fhir/StructureDefinition/cqf-contactReference"; +|}; + +@r4:DataTypeDefinition { + name: "CqfContributionTime", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfContributionTime record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/cqf-contributionTime" url = "http://hl7.org/fhir/StructureDefinition/cqf-contributionTime"; +|}; + +@r4:DataTypeDefinition { + name: "CqfCqlAccessModifier", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfCqlAccessModifier record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/cqf-cqlAccessModifier" url = "http://hl7.org/fhir/StructureDefinition/cqf-cqlAccessModifier"; +|}; + +@r4:DataTypeDefinition { + name: "CqfCqlOptions", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfCqlOptions record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions" url = "http://hl7.org/fhir/StructureDefinition/cqf-cqlOptions"; +|}; + +@r4:DataTypeDefinition { + name: "CqfCqlType", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfCqlType record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/cqf-cqlType" url = "http://hl7.org/fhir/StructureDefinition/cqf-cqlType"; +|}; + +@r4:DataTypeDefinition { + name: "CqfCriteriaReference", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfCriteriaReference record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/cqf-criteriaReference" url = "http://hl7.org/fhir/StructureDefinition/cqf-criteriaReference"; +|}; + +@r4:DataTypeDefinition { + name: "CqfDefaultValue", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfDefaultValue record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/cqf-defaultValue" url = "http://hl7.org/fhir/StructureDefinition/cqf-defaultValue"; +|}; + +@r4:DataTypeDefinition { + name: "CqfDefinitionTerm", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfDefinitionTerm record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/cqf-definitionTerm" url = "http://hl7.org/fhir/StructureDefinition/cqf-definitionTerm"; +|}; + +@r4:DataTypeDefinition { + name: "CqfDirectReferenceCode", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfDirectReferenceCode record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode" url = "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode"; +|}; + +@r4:DataTypeDefinition { + name: "CqfEncounterClass", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfEncounterClass record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass" url = "http://hl7.org/fhir/StructureDefinition/cqf-encounterClass"; +|}; + +@r4:DataTypeDefinition { + name: "CqfEncounterType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfEncounterType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/cqf-encounterType" url = "http://hl7.org/fhir/StructureDefinition/cqf-encounterType"; +|}; + +@r4:DataTypeDefinition { + name: "CqfExpansionParameters", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfExpansionParameters record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/cqf-expansionParameters" url = "http://hl7.org/fhir/StructureDefinition/cqf-expansionParameters"; +|}; + +@r4:DataTypeDefinition { + name: "CqfExpression", + baseType: (), + elements: { + "valueExpression": { + name: "valueExpression", + dataType: r4:Expression, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfExpression record {| + *r4:ExpressionExtension; + + r4:Expression valueExpression; + "http://hl7.org/fhir/StructureDefinition/cqf-expression" url = "http://hl7.org/fhir/StructureDefinition/cqf-expression"; +|}; + +@r4:DataTypeDefinition { + name: "CqfFhirQueryPattern", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfFhirQueryPattern record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern" url = "http://hl7.org/fhir/StructureDefinition/cqf-fhirQueryPattern"; +|}; + +@r4:DataTypeDefinition { + name: "CqfImprovementNotationGuidance", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfImprovementNotationGuidance record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/cqf-improvementNotationGuidance" url = "http://hl7.org/fhir/StructureDefinition/cqf-improvementNotationGuidance"; +|}; + +@r4:DataTypeDefinition { + name: "CqfInitialValue", + baseType: (), + elements: { + "valueExpression": { + name: "valueExpression", + dataType: r4:Expression, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfInitialValue record {| + *r4:ExpressionExtension; + + r4:Expression valueExpression; + "http://hl7.org/fhir/StructureDefinition/cqf-initialValue" url = "http://hl7.org/fhir/StructureDefinition/cqf-initialValue"; +|}; + +@r4:DataTypeDefinition { + name: "CqfInitiatingOrganization", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfInitiatingOrganization record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization" url = "http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization"; +|}; + +@r4:DataTypeDefinition { + name: "CqfInitiatingPerson", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfInitiatingPerson record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson" url = "http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson"; +|}; + +@r4:DataTypeDefinition { + name: "CqfInputParameters", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfInputParameters record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters" url = "http://hl7.org/fhir/StructureDefinition/cqf-inputParameters"; +|}; + +@r4:DataTypeDefinition { + name: "CqfIsEmptyList", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfIsEmptyList record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/cqf-isEmptyList" url = "http://hl7.org/fhir/StructureDefinition/cqf-isEmptyList"; +|}; + +@r4:DataTypeDefinition { + name: "CqfIsEmptyTuple", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfIsEmptyTuple record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/cqf-isEmptyTuple" url = "http://hl7.org/fhir/StructureDefinition/cqf-isEmptyTuple"; +|}; + +@r4:DataTypeDefinition { + name: "CqfIsPrefetchToken", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfIsPrefetchToken record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/cqf-isPrefetchToken" url = "http://hl7.org/fhir/StructureDefinition/cqf-isPrefetchToken"; +|}; + +@r4:DataTypeDefinition { + name: "CqfIsPrimaryCitation", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfIsPrimaryCitation record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/cqf-isPrimaryCitation" url = "http://hl7.org/fhir/StructureDefinition/cqf-isPrimaryCitation"; +|}; + +@r4:DataTypeDefinition { + name: "CqfIsSelective", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfIsSelective record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/cqf-isSelective" url = "http://hl7.org/fhir/StructureDefinition/cqf-isSelective"; +|}; + +@r4:DataTypeDefinition { + name: "CqfKnowledgeCapability", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfKnowledgeCapability record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" url = "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"; +|}; + +@r4:DataTypeDefinition { + name: "CqfKnowledgeRepresentationLevel", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfKnowledgeRepresentationLevel record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel" url = "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel"; +|}; + +@r4:DataTypeDefinition { + name: "CqfLibrary", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfLibrary record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/cqf-library" url = "http://hl7.org/fhir/StructureDefinition/cqf-library"; +|}; + +@r4:DataTypeDefinition { + name: "CqfLogicDefinition", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 3, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfLogicDefinition record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" url = "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"; +|}; + +@r4:DataTypeDefinition { + name: "CqfMeasureInfo", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfMeasureInfo record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo" url = "http://hl7.org/fhir/StructureDefinition/cqf-measureInfo"; +|}; + +@r4:DataTypeDefinition { + name: "CqfMessages", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfMessages record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/cqf-messages" url = "http://hl7.org/fhir/StructureDefinition/cqf-messages"; +|}; + +@r4:DataTypeDefinition { + name: "CqfModelInfoIsIncluded", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfModelInfoIsIncluded record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isIncluded" url = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isIncluded"; +|}; + +@r4:DataTypeDefinition { + name: "CqfModelInfoIsRetrievable", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfModelInfoIsRetrievable record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isRetrievable" url = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-isRetrievable"; +|}; + +@r4:DataTypeDefinition { + name: "CqfModelInfoLabel", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfModelInfoLabel record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-label" url = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-label"; +|}; + +@r4:DataTypeDefinition { + name: "CqfModelInfoPrimaryCodePath", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfModelInfoPrimaryCodePath record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-primaryCodePath" url = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfo-primaryCodePath"; +|}; + +@r4:DataTypeDefinition { + name: "CqfModelInfoSettings", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfModelInfoSettings record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/cqf-modelInfoSettings" url = "http://hl7.org/fhir/StructureDefinition/cqf-modelInfoSettings"; +|}; + +@r4:DataTypeDefinition { + name: "CqfNotDoneValueSet", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfNotDoneValueSet record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet" url = "http://hl7.org/fhir/StructureDefinition/cqf-notDoneValueSet"; +|}; + +@r4:DataTypeDefinition { + name: "CqfParameterDefinition", + baseType: (), + elements: { + "valueParameterDefinition": { + name: "valueParameterDefinition", + dataType: r4:ParameterDefinition, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfParameterDefinition record {| + *r4:ParameterDefinitionExtension; + + r4:ParameterDefinition valueParameterDefinition; + "http://hl7.org/fhir/StructureDefinition/cqf-parameterDefinition" url = "http://hl7.org/fhir/StructureDefinition/cqf-parameterDefinition"; +|}; + +@r4:DataTypeDefinition { + name: "CqfPartOf", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfPartOf record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/cqf-partOf" url = "http://hl7.org/fhir/StructureDefinition/cqf-partOf"; +|}; + +@r4:DataTypeDefinition { + name: "CqfPublicationDate", + baseType: (), + elements: { + "valueDate": { + name: "valueDate", + dataType: r4:date, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfPublicationDate record {| + *r4:DateExtension; + + r4:date valueDate; + "http://hl7.org/fhir/StructureDefinition/cqf-publicationDate" url = "http://hl7.org/fhir/StructureDefinition/cqf-publicationDate"; +|}; + +@r4:DataTypeDefinition { + name: "CqfPublicationStatus", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfPublicationStatus record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/cqf-publicationStatus" url = "http://hl7.org/fhir/StructureDefinition/cqf-publicationStatus"; +|}; + +@r4:DataTypeDefinition { + name: "CqfQualityOfEvidence", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfQualityOfEvidence record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence" url = "http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence"; +|}; + +@r4:DataTypeDefinition { + name: "CqfReceivingOrganization", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfReceivingOrganization record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization" url = "http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization"; +|}; + +@r4:DataTypeDefinition { + name: "CqfReceivingPerson", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfReceivingPerson record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson" url = "http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson"; +|}; + +@r4:DataTypeDefinition { + name: "CqfRecipientLanguage", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfRecipientLanguage record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage" url = "http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage"; +|}; + +@r4:DataTypeDefinition { + name: "CqfRecipientType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfRecipientType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/cqf-recipientType" url = "http://hl7.org/fhir/StructureDefinition/cqf-recipientType"; +|}; + +@r4:DataTypeDefinition { + name: "CqfRelativeDateTime", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 4, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfRelativeDateTime record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime" url = "http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime"; +|}; + +@r4:DataTypeDefinition { + name: "CqfResourceType", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfResourceType record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/cqf-resourceType" url = "http://hl7.org/fhir/StructureDefinition/cqf-resourceType"; +|}; + +@r4:DataTypeDefinition { + name: "CqfScope", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfScope record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/cqf-scope" url = "http://hl7.org/fhir/StructureDefinition/cqf-scope"; +|}; + +@r4:DataTypeDefinition { + name: "CqfShouldTraceDependency", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfShouldTraceDependency record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/cqf-shouldTraceDependency" url = "http://hl7.org/fhir/StructureDefinition/cqf-shouldTraceDependency"; +|}; + +@r4:DataTypeDefinition { + name: "CqfStrengthOfRecommendation", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfStrengthOfRecommendation record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation" url = "http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation"; +|}; + +@r4:DataTypeDefinition { + name: "CqfSupportedCqlVersion", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfSupportedCqlVersion record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/cqf-supportedCqlVersion" url = "http://hl7.org/fhir/StructureDefinition/cqf-supportedCqlVersion"; +|}; + +@r4:DataTypeDefinition { + name: "CqfSystemUserLanguage", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfSystemUserLanguage record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage" url = "http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage"; +|}; + +@r4:DataTypeDefinition { + name: "CqfSystemUserTaskContext", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfSystemUserTaskContext record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext" url = "http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext"; +|}; + +@r4:DataTypeDefinition { + name: "CqfSystemUserType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfSystemUserType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType" url = "http://hl7.org/fhir/StructureDefinition/cqf-systemUserType"; +|}; + +@r4:DataTypeDefinition { + name: "CqfTargetInvariant", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 3, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfTargetInvariant record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant" url = "http://hl7.org/fhir/StructureDefinition/cqf-targetInvariant"; +|}; + +@r4:DataTypeDefinition { + name: "CqfTestArtifact", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfTestArtifact record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/cqf-testArtifact" url = "http://hl7.org/fhir/StructureDefinition/cqf-testArtifact"; +|}; + +@r4:DataTypeDefinition { + name: "CqfValueFilter", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqfValueFilter record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/cqf-valueFilter" url = "http://hl7.org/fhir/StructureDefinition/cqf-valueFilter"; +|}; + +@r4:DataTypeDefinition { + name: "CqmValidityPeriod", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CqmValidityPeriod record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod" url = "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod"; +|}; + +@r4:DataTypeDefinition { + name: "DataAbsentReason", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DataAbsentReason record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/data-absent-reason" url = "http://hl7.org/fhir/StructureDefinition/data-absent-reason"; +|}; + +@r4:DataTypeDefinition { + name: "DerivationReference", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DerivationReference record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/derivation-reference" url = "http://hl7.org/fhir/StructureDefinition/derivation-reference"; +|}; + +@r4:DataTypeDefinition { + name: "DesignNote", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DesignNote record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/designNote" url = "http://hl7.org/fhir/StructureDefinition/designNote"; +|}; + +@r4:DataTypeDefinition { + name: "DeviceCommercialBrand", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DeviceCommercialBrand record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/device-commercialBrand" url = "http://hl7.org/fhir/StructureDefinition/device-commercialBrand"; +|}; + +@r4:DataTypeDefinition { + name: "DeviceImplantStatus", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DeviceImplantStatus record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/device-implantStatus" url = "http://hl7.org/fhir/StructureDefinition/device-implantStatus"; +|}; + +@r4:DataTypeDefinition { + name: "DeviceLastmaintenancetime", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DeviceLastmaintenancetime record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/device-lastmaintenancetime" url = "http://hl7.org/fhir/StructureDefinition/device-lastmaintenancetime"; +|}; + +@r4:DataTypeDefinition { + name: "DeviceMaintenanceresponsibility", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DeviceMaintenanceresponsibility record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/device-maintenanceresponsibility" url = "http://hl7.org/fhir/StructureDefinition/device-maintenanceresponsibility"; +|}; + +@r4:DataTypeDefinition { + name: "DevicerequestPatientInstruction", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DevicerequestPatientInstruction record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction" url = "http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportAddendumOf", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportAddendumOf record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf" url = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportExtends", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportExtends record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends" url = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportFocus", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportFocus record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/diagnosticReport-focus" url = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-focus"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportLocationPerformed", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportLocationPerformed record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed" url = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportReplaces", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportReplaces record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces" url = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportRisk", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportRisk record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk" url = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportSummaryOf", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportSummaryOf record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf" url = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf"; +|}; + +@r4:DataTypeDefinition { + name: "DiagnosticReportWorkflowStatus", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DiagnosticReportWorkflowStatus record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/diagnosticReport-workflowStatus" url = "http://hl7.org/fhir/StructureDefinition/diagnosticReport-workflowStatus"; +|}; + +@r4:DataTypeDefinition { + name: "Display", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type Display record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/display" url = "http://hl7.org/fhir/StructureDefinition/display"; +|}; + +@r4:DataTypeDefinition { + name: "DocumentreferenceSourcepatient", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DocumentreferenceSourcepatient record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient" url = "http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient"; +|}; + +@r4:DataTypeDefinition { + name: "DocumentreferenceThumbnail", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DocumentreferenceThumbnail record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail" url = "http://hl7.org/fhir/StructureDefinition/documentreference-thumbnail"; +|}; + +@r4:DataTypeDefinition { + name: "DosageConditions", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageConditions record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/dosage-conditions" url = "http://hl7.org/fhir/StructureDefinition/dosage-conditions"; +|}; + +@r4:DataTypeDefinition { + name: "DosageMinimumGapBetweenDose", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DosageMinimumGapBetweenDose record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/dosage-minimumGapBetweenDose" url = "http://hl7.org/fhir/StructureDefinition/dosage-minimumGapBetweenDose"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionAllowedUnits", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionAllowedUnits record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionBestpractice", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionBestpractice record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionBestpracticeExplanation", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionBestpracticeExplanation record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionBindingName", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionBindingName record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionConceptmap", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionConceptmap record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-conceptmap" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-conceptmap"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionDefaulttype", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionDefaulttype record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-defaulttype"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionEquivalence", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionEquivalence record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionGraphConstraint", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionGraphConstraint record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-graphConstraint" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-graphConstraint"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionIdentifier", + baseType: (), + elements: { + "valueIdentifier": { + name: "valueIdentifier", + dataType: r4:Identifier, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionIdentifier record {| + *r4:IdentifierExtension; + + r4:Identifier valueIdentifier; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionInheritedExtensibleValueSet", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionInheritedExtensibleValueSet record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionIsCommonBinding", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionIsCommonBinding record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionMaxValueSet", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionMaxValueSet record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionMinValueSet", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionMinValueSet record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionNamespace", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionNamespace record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionPattern", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionPattern record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-pattern"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionProfileElement", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionProfileElement record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionQuestion", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionQuestion record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-question" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-question"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionSelector", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionSelector record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-selector"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionSuppress", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionSuppress record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionTranslatable", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionTranslatable record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"; +|}; + +@r4:DataTypeDefinition { + name: "ElementdefinitionTypeMustSupport", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ElementdefinitionTypeMustSupport record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support" url = "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support"; +|}; + +@r4:DataTypeDefinition { + name: "EncounterAssociatedEncounter", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type EncounterAssociatedEncounter record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter" url = "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter"; +|}; + +@r4:DataTypeDefinition { + name: "EncounterModeOfArrival", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type EncounterModeOfArrival record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival" url = "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival"; +|}; + +@r4:DataTypeDefinition { + name: "EncounterReasonCancelled", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type EncounterReasonCancelled record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled" url = "http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled"; +|}; + +@r4:DataTypeDefinition { + name: "EndpointFhirVersion", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type EndpointFhirVersion record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version" url = "http://hl7.org/fhir/StructureDefinition/endpoint-fhir-version"; +|}; + +@r4:DataTypeDefinition { + name: "EntryFormat", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type EntryFormat record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/entryFormat" url = "http://hl7.org/fhir/StructureDefinition/entryFormat"; +|}; + +@r4:DataTypeDefinition { + name: "EventBasedOn", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type EventBasedOn record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/event-basedOn" url = "http://hl7.org/fhir/StructureDefinition/event-basedOn"; +|}; + +@r4:DataTypeDefinition { + name: "EventEventHistory", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type EventEventHistory record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/event-eventHistory" url = "http://hl7.org/fhir/StructureDefinition/event-eventHistory"; +|}; + +@r4:DataTypeDefinition { + name: "EventLocation", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type EventLocation record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/event-location" url = "http://hl7.org/fhir/StructureDefinition/event-location"; +|}; + +@r4:DataTypeDefinition { + name: "EventPartOf", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type EventPartOf record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/event-partOf" url = "http://hl7.org/fhir/StructureDefinition/event-partOf"; +|}; + +@r4:DataTypeDefinition { + name: "EventPerformerFunction", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type EventPerformerFunction record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/event-performerFunction" url = "http://hl7.org/fhir/StructureDefinition/event-performerFunction"; +|}; + +@r4:DataTypeDefinition { + name: "EventRecorded", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type EventRecorded record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/event-recorded" url = "http://hl7.org/fhir/StructureDefinition/event-recorded"; +|}; + +@r4:DataTypeDefinition { + name: "EventStatusReason", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type EventStatusReason record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/event-statusReason" url = "http://hl7.org/fhir/StructureDefinition/event-statusReason"; +|}; + +@r4:DataTypeDefinition { + name: "ExtendedContactAvailability", + baseType: (), + elements: { + "valueAvailability": { + name: "valueAvailability", + dataType: r4:Availability, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ExtendedContactAvailability record {| + *r4:AvailabilityExtension; + + r4:Availability valueAvailability; + "http://hl7.org/fhir/StructureDefinition/extended-contact-availability" url = "http://hl7.org/fhir/StructureDefinition/extended-contact-availability"; +|}; + +@r4:DataTypeDefinition { + name: "ExtensionQuantityTranslation", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + }, + + "valueQuantity": { + name: "valueQuantity", + dataType: r4:Quantity, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ExtensionQuantityTranslation record {| + *r4:QuantityExtension; + + "http://hl7.org/fhir/StructureDefinition/extension-quantity-translation" url = "http://hl7.org/fhir/StructureDefinition/extension-quantity-translation"; + r4:Quantity valueQuantity; +|}; + +@r4:DataTypeDefinition { + name: "FamilyMemberHistoryGeneticsObservation", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FamilyMemberHistoryGeneticsObservation record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation" url = "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation"; +|}; + +@r4:DataTypeDefinition { + name: "FamilyMemberHistoryGeneticsParent", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FamilyMemberHistoryGeneticsParent record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent" url = "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent"; +|}; + +@r4:DataTypeDefinition { + name: "FamilyMemberHistoryGeneticsSibling", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FamilyMemberHistoryGeneticsSibling record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling" url = "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling"; +|}; + +@r4:DataTypeDefinition { + name: "FamilymemberhistoryAbatement", + baseType: (), + elements: { + "valueDate": { + name: "valueDate", + dataType: r4:date, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FamilymemberhistoryAbatement record {| + *r4:DateExtension; + + r4:date valueDate; + "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement" url = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement"; +|}; + +@r4:DataTypeDefinition { + name: "FamilymemberhistoryPatientRecord", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FamilymemberhistoryPatientRecord record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record" url = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record"; +|}; + +@r4:DataTypeDefinition { + name: "FamilymemberhistorySeverity", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FamilymemberhistorySeverity record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity" url = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity"; +|}; + +@r4:DataTypeDefinition { + name: "FamilymemberhistoryType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FamilymemberhistoryType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type" url = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-type"; +|}; + +@r4:DataTypeDefinition { + name: "FeatureAssertion", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "A code that identifies a feature. CodeSystem as defined by the Application Feature Framework (tbd: how to reference that from here, or should we move the extension?)", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FeatureAssertion record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + "http://hl7.org/fhir/StructureDefinition/feature-assertion" url = "http://hl7.org/fhir/StructureDefinition/feature-assertion"; +|}; + +@r4:DataTypeDefinition { + name: "FirstCreated", + baseType: (), + elements: { + "valueInstant": { + name: "valueInstant", + dataType: r4:instant, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FirstCreated record {| + *r4:InstantExtension; + + r4:instant valueInstant; + "http://hl7.org/fhir/StructureDefinition/firstCreated" url = "http://hl7.org/fhir/StructureDefinition/firstCreated"; +|}; + +@r4:DataTypeDefinition { + name: "FlagDetail", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FlagDetail record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/flag-detail" url = "http://hl7.org/fhir/StructureDefinition/flag-detail"; +|}; + +@r4:DataTypeDefinition { + name: "FlagPriority", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FlagPriority record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/flag-priority" url = "http://hl7.org/fhir/StructureDefinition/flag-priority"; +|}; + +@r4:DataTypeDefinition { + name: "Geolocation", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type Geolocation record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/geolocation" url = "http://hl7.org/fhir/StructureDefinition/geolocation"; +|}; + +@r4:DataTypeDefinition { + name: "GoalAcceptance", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type GoalAcceptance record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/goal-acceptance" url = "http://hl7.org/fhir/StructureDefinition/goal-acceptance"; +|}; + +@r4:DataTypeDefinition { + name: "GoalReasonRejected", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type GoalReasonRejected record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected" url = "http://hl7.org/fhir/StructureDefinition/goal-reasonRejected"; +|}; + +@r4:DataTypeDefinition { + name: "GoalRelationship", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type GoalRelationship record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/goal-relationship" url = "http://hl7.org/fhir/StructureDefinition/goal-relationship"; +|}; + +@r4:DataTypeDefinition { + name: "HlaGenotypingResultsAlleleDatabase", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HlaGenotypingResultsAlleleDatabase record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database" url = "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database"; +|}; + +@r4:DataTypeDefinition { + name: "HlaGenotypingResultsGlstring", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HlaGenotypingResultsGlstring record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring" url = "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring"; +|}; + +@r4:DataTypeDefinition { + name: "HlaGenotypingResultsHaploid", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HlaGenotypingResultsHaploid record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid" url = "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid"; +|}; + +@r4:DataTypeDefinition { + name: "HlaGenotypingResultsMethod", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HlaGenotypingResultsMethod record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method" url = "http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method"; +|}; + +@r4:DataTypeDefinition { + name: "HttpResponseHeader", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HttpResponseHeader record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/http-response-header" url = "http://hl7.org/fhir/StructureDefinition/http-response-header"; +|}; + +@r4:DataTypeDefinition { + name: "HumannameAssemblyOrder", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HumannameAssemblyOrder record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order" url = "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order"; +|}; + +@r4:DataTypeDefinition { + name: "HumannameFathersFamily", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HumannameFathersFamily record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family" url = "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family"; +|}; + +@r4:DataTypeDefinition { + name: "HumannameMothersFamily", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HumannameMothersFamily record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family" url = "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family"; +|}; + +@r4:DataTypeDefinition { + name: "HumannameOwnName", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HumannameOwnName record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/humanname-own-name" url = "http://hl7.org/fhir/StructureDefinition/humanname-own-name"; +|}; + +@r4:DataTypeDefinition { + name: "HumannameOwnPrefix", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HumannameOwnPrefix record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix" url = "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"; +|}; + +@r4:DataTypeDefinition { + name: "HumannamePartnerName", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HumannamePartnerName record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/humanname-partner-name" url = "http://hl7.org/fhir/StructureDefinition/humanname-partner-name"; +|}; + +@r4:DataTypeDefinition { + name: "HumannamePartnerPrefix", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type HumannamePartnerPrefix record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix" url = "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix"; +|}; + +@r4:DataTypeDefinition { + name: "IdentifierCheckDigit", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IdentifierCheckDigit record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit" url = "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit"; +|}; + +@r4:DataTypeDefinition { + name: "IdentifierValidDate", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IdentifierValidDate record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/identifier-validDate" url = "http://hl7.org/fhir/StructureDefinition/identifier-validDate"; +|}; + +@r4:DataTypeDefinition { + name: "ImmunizationProcedure", + baseType: (), + elements: { + "valueCodeableReference": { + name: "valueCodeableReference", + dataType: r4:CodeableReference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ImmunizationProcedure record {| + *r4:CodeableReferenceExtension; + + r4:CodeableReference valueCodeableReference; + "http://hl7.org/fhir/StructureDefinition/immunization-procedure" url = "http://hl7.org/fhir/StructureDefinition/immunization-procedure"; +|}; + +@r4:DataTypeDefinition { + name: "ImplementationguideSourceFile", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ImplementationguideSourceFile record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/implementationguide-sourceFile" url = "http://hl7.org/fhir/StructureDefinition/implementationguide-sourceFile"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualGenderIdentity", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualGenderIdentity record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity" url = "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualPronouns", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualPronouns record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/individual-pronouns" url = "http://hl7.org/fhir/StructureDefinition/individual-pronouns"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualRecordedSexOrGender", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualRecordedSexOrGender record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender" url = "http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADUse", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADUse record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use" url = "http://hl7.org/fhir/StructureDefinition/iso21090-AD-use"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPAdditionalLocator", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPAdditionalLocator record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPBuildingNumberSuffix", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPBuildingNumberSuffix record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPCareOf", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPCareOf record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPCensusTract", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPCensusTract record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPDelimiter", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPDelimiter record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPDeliveryAddressLine", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPDeliveryAddressLine record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPDeliveryInstallationArea", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPDeliveryInstallationArea record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPDeliveryInstallationQualifier", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPDeliveryInstallationQualifier record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPDeliveryInstallationType", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPDeliveryInstallationType record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPDeliveryMode", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPDeliveryMode record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPDeliveryModeIdentifier", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPDeliveryModeIdentifier record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPDirection", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPDirection record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPHouseNumber", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPHouseNumber record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPHouseNumberNumeric", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPHouseNumberNumeric record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPPostBox", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPPostBox record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPPrecinct", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPPrecinct record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPStreetAddressLine", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPStreetAddressLine record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPStreetName", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPStreetName record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPStreetNameBase", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPStreetNameBase record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPStreetNameType", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPStreetNameType record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPUnitID", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPUnitID record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID"; +|}; + +@r4:DataTypeDefinition { + name: "IsoADXPUnitType", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoADXPUnitType record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType" url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType"; +|}; + +@r4:DataTypeDefinition { + name: "IsoENQualifier", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoENQualifier record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier" url = "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"; +|}; + +@r4:DataTypeDefinition { + name: "IsoENRepresentation", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoENRepresentation record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation" url = "http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation"; +|}; + +@r4:DataTypeDefinition { + name: "IsoENUse", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoENUse record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use" url = "http://hl7.org/fhir/StructureDefinition/iso21090-EN-use"; +|}; + +@r4:DataTypeDefinition { + name: "IsoPQTranslation", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + }, + + "valueQuantity": { + name: "valueQuantity", + dataType: r4:Quantity, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoPQTranslation record {| + *r4:QuantityExtension; + + "http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation" url = "http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation"; + r4:Quantity valueQuantity; +|}; + +@r4:DataTypeDefinition { + name: "IsoSCCoding", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoSCCoding record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + "http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding" url = "http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding"; +|}; + +@r4:DataTypeDefinition { + name: "IsoTELAddress", + baseType: (), + elements: { + "valueUrl": { + name: "valueUrl", + dataType: r4:urlType, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoTELAddress record {| + *r4:UrlExtension; + + r4:url valueUrl; + "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address" url = "http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address"; +|}; + +@r4:DataTypeDefinition { + name: "IsoCodedString", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoCodedString record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + "http://hl7.org/fhir/StructureDefinition/iso21090-codedString" url = "http://hl7.org/fhir/StructureDefinition/iso21090-codedString"; +|}; + +@r4:DataTypeDefinition { + name: "IsoNullFlavor", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoNullFlavor record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor" url = "http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor"; +|}; + +@r4:DataTypeDefinition { + name: "IsoPreferred", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoPreferred record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/iso21090-preferred" url = "http://hl7.org/fhir/StructureDefinition/iso21090-preferred"; +|}; + +@r4:DataTypeDefinition { + name: "IsoUncertainty", + baseType: (), + elements: { + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoUncertainty record {| + *r4:DecimalExtension; + + decimal valueDecimal; + "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty" url = "http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty"; +|}; + +@r4:DataTypeDefinition { + name: "IsoUncertaintyType", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IsoUncertaintyType record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType" url = "http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType"; +|}; + +@r4:DataTypeDefinition { + name: "ItemWeight", + baseType: (), + elements: { + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ItemWeight record {| + *r4:DecimalExtension; + + decimal valueDecimal; + "http://hl7.org/fhir/StructureDefinition/itemWeight" url = "http://hl7.org/fhir/StructureDefinition/itemWeight"; +|}; + +@r4:DataTypeDefinition { + name: "Language", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type Language record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/language" url = "http://hl7.org/fhir/StructureDefinition/language"; +|}; + +@r4:DataTypeDefinition { + name: "LargeValue", + baseType: (), + elements: { + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type LargeValue record {| + *r4:DecimalExtension; + + decimal valueDecimal; + "http://hl7.org/fhir/StructureDefinition/largeValue" url = "http://hl7.org/fhir/StructureDefinition/largeValue"; +|}; + +@r4:DataTypeDefinition { + name: "LastSourceSync", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type LastSourceSync record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/lastSourceSync" url = "http://hl7.org/fhir/StructureDefinition/lastSourceSync"; +|}; + +@r4:DataTypeDefinition { + name: "ListCategory", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ListCategory record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/list-category" url = "http://hl7.org/fhir/StructureDefinition/list-category"; +|}; + +@r4:DataTypeDefinition { + name: "ListChangeBase", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ListChangeBase record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/list-changeBase" url = "http://hl7.org/fhir/StructureDefinition/list-changeBase"; +|}; + +@r4:DataTypeDefinition { + name: "ListFor", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ListFor record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/list-for" url = "http://hl7.org/fhir/StructureDefinition/list-for"; +|}; + +@r4:DataTypeDefinition { + name: "LocationBoundaryGeojson", + baseType: (), + elements: { + "valueAttachment": { + name: "valueAttachment", + dataType: r4:Attachment, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type LocationBoundaryGeojson record {| + *r4:AttachmentExtension; + + r4:Attachment valueAttachment; + "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson" url = "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson"; +|}; + +@r4:DataTypeDefinition { + name: "LocationCommunication", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type LocationCommunication record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/location-communication" url = "http://hl7.org/fhir/StructureDefinition/location-communication"; +|}; + +@r4:DataTypeDefinition { + name: "LocationDistance", + baseType: (), + elements: { + "valueDistance": { + name: "valueDistance", + dataType: r4:Distance, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type LocationDistance record {| + *r4:DistanceExtension; + + r4:Distance valueDistance; + "http://hl7.org/fhir/StructureDefinition/location-distance" url = "http://hl7.org/fhir/StructureDefinition/location-distance"; +|}; + +@r4:DataTypeDefinition { + name: "MatchGrade", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MatchGrade record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/match-grade" url = "http://hl7.org/fhir/StructureDefinition/match-grade"; +|}; + +@r4:DataTypeDefinition { + name: "MaxDecimalPlaces", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MaxDecimalPlaces record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces" url = "http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces"; +|}; + +@r4:DataTypeDefinition { + name: "MaxSize", + baseType: (), + elements: { + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MaxSize record {| + *r4:DecimalExtension; + + decimal valueDecimal; + "http://hl7.org/fhir/StructureDefinition/maxSize" url = "http://hl7.org/fhir/StructureDefinition/maxSize"; +|}; + +@r4:DataTypeDefinition { + name: "MaxValue", + baseType: (), + elements: { + "valueDate": { + name: "valueDate", + dataType: r4:date, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MaxValue record {| + *r4:DateExtension; + + r4:date valueDate; + "http://hl7.org/fhir/StructureDefinition/maxValue" url = "http://hl7.org/fhir/StructureDefinition/maxValue"; +|}; + +@r4:DataTypeDefinition { + name: "MeasurereportCategory", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MeasurereportCategory record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/measurereport-category" url = "http://hl7.org/fhir/StructureDefinition/measurereport-category"; +|}; + +@r4:DataTypeDefinition { + name: "MeasurereportCountQuantity", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MeasurereportCountQuantity record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/measurereport-countQuantity" url = "http://hl7.org/fhir/StructureDefinition/measurereport-countQuantity"; +|}; + +@r4:DataTypeDefinition { + name: "MeasurereportPopulationDescription", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MeasurereportPopulationDescription record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/measurereport-populationDescription" url = "http://hl7.org/fhir/StructureDefinition/measurereport-populationDescription"; +|}; + +@r4:DataTypeDefinition { + name: "MedicationManufacturingBatch", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationManufacturingBatch record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch" url = "http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch"; +|}; + +@r4:DataTypeDefinition { + name: "MedicationdispenseQuantityRemaining", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + }, + + "valueQuantity": { + name: "valueQuantity", + dataType: r4:Quantity, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationdispenseQuantityRemaining record {| + *r4:QuantityExtension; + + "http://hl7.org/fhir/StructureDefinition/medicationdispense-quantityRemaining" url = "http://hl7.org/fhir/StructureDefinition/medicationdispense-quantityRemaining"; + r4:Quantity valueQuantity; +|}; + +@r4:DataTypeDefinition { + name: "MedicationdispenseRefillsRemaining", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationdispenseRefillsRemaining record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/medicationdispense-refillsRemaining" url = "http://hl7.org/fhir/StructureDefinition/medicationdispense-refillsRemaining"; +|}; + +@r4:DataTypeDefinition { + name: "MessageheaderResponseRequest", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MessageheaderResponseRequest record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/messageheader-response-request" url = "http://hl7.org/fhir/StructureDefinition/messageheader-response-request"; +|}; + +@r4:DataTypeDefinition { + name: "MetadataresourcePublishDate", + baseType: (), + elements: { + "valueDate": { + name: "valueDate", + dataType: r4:date, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MetadataresourcePublishDate record {| + *r4:DateExtension; + + r4:date valueDate; + "http://hl7.org/fhir/StructureDefinition/metadataresource-publish-date" url = "http://hl7.org/fhir/StructureDefinition/metadataresource-publish-date"; +|}; + +@r4:DataTypeDefinition { + name: "MimeType", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MimeType record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/mimeType" url = "http://hl7.org/fhir/StructureDefinition/mimeType"; +|}; + +@r4:DataTypeDefinition { + name: "MinLength", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MinLength record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/minLength" url = "http://hl7.org/fhir/StructureDefinition/minLength"; +|}; + +@r4:DataTypeDefinition { + name: "MinValue", + baseType: (), + elements: { + "valueDate": { + name: "valueDate", + dataType: r4:date, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MinValue record {| + *r4:DateExtension; + + r4:date valueDate; + "http://hl7.org/fhir/StructureDefinition/minValue" url = "http://hl7.org/fhir/StructureDefinition/minValue"; +|}; + +@r4:DataTypeDefinition { + name: "NamingsystemCheckDigit", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type NamingsystemCheckDigit record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit" url = "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit"; +|}; + +@r4:DataTypeDefinition { + name: "NarrativeLink", + baseType: (), + elements: { + "valueUrl": { + name: "valueUrl", + dataType: r4:urlType, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type NarrativeLink record {| + *r4:UrlExtension; + + r4:url valueUrl; + "http://hl7.org/fhir/StructureDefinition/narrativeLink" url = "http://hl7.org/fhir/StructureDefinition/narrativeLink"; +|}; + +@r4:DataTypeDefinition { + name: "NoFixedAddress", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type NoFixedAddress record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/no-fixed-address" url = "http://hl7.org/fhir/StructureDefinition/no-fixed-address"; +|}; + +@r4:DataTypeDefinition { + name: "Note", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + }, + + "valueAnnotation": { + name: "valueAnnotation", + dataType: r4:Annotation, + min: 1, + max: 1, + isArray: false, + description: "Additional notes that apply to this resource or element.", + path: "Extension.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type Note record {| + *r4:AnnotationExtension; + + "http://hl7.org/fhir/StructureDefinition/note" url = "http://hl7.org/fhir/StructureDefinition/note"; + r4:Annotation valueAnnotation; +|}; + +@r4:DataTypeDefinition { + name: "NutritionorderAdaptiveFeedingDevice", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type NutritionorderAdaptiveFeedingDevice record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice" url = "http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice"; +|}; + +@r4:DataTypeDefinition { + name: "Obligation", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type Obligation record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/obligation" url = "http://hl7.org/fhir/StructureDefinition/obligation"; +|}; + +@r4:DataTypeDefinition { + name: "ObligationsProfile", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObligationsProfile record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/obligations-profile" url = "http://hl7.org/fhir/StructureDefinition/obligations-profile"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationAnalysisDateTime", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationAnalysisDateTime record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/observation-analysis-date-time" url = "http://hl7.org/fhir/StructureDefinition/observation-analysis-date-time"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationBodyPosition", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationBodyPosition record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" url = "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationComponentCategory", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationComponentCategory record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/observation-componentCategory" url = "http://hl7.org/fhir/StructureDefinition/observation-componentCategory"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationDelta", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationDelta record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/observation-delta" url = "http://hl7.org/fhir/StructureDefinition/observation-delta"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationDeviceCode", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationDeviceCode record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/observation-deviceCode" url = "http://hl7.org/fhir/StructureDefinition/observation-deviceCode"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationFocusCode", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationFocusCode record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/observation-focusCode" url = "http://hl7.org/fhir/StructureDefinition/observation-focusCode"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGatewayDevice", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGatewayDevice record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice" url = "http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsAllele", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsAllele record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele" url = "http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsAminoAcidChange", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsAminoAcidChange record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange" url = "http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsAncestry", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsAncestry record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry" url = "http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsCopyNumberEvent", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsCopyNumberEvent record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent" url = "http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsDNARegionName", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsDNARegionName record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName" url = "http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsGene", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsGene record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene" url = "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsGenomicSourceClass", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsGenomicSourceClass record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass" url = "http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsInterpretation", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsInterpretation record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation" url = "http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsPhaseSet", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsPhaseSet record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet" url = "http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsVariant", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsVariant record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant" url = "http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationNatureOfAbnormalTest", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationNatureOfAbnormalTest record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/observation-nature-of-abnormal-test" url = "http://hl7.org/fhir/StructureDefinition/observation-nature-of-abnormal-test"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationPrecondition", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationPrecondition record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/observation-precondition" url = "http://hl7.org/fhir/StructureDefinition/observation-precondition"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationReagent", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationReagent record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/observation-reagent" url = "http://hl7.org/fhir/StructureDefinition/observation-reagent"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationReplaces", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationReplaces record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/observation-replaces" url = "http://hl7.org/fhir/StructureDefinition/observation-replaces"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationSecondaryFinding", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationSecondaryFinding record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding" url = "http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationSequelTo", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationSequelTo record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/observation-sequelTo" url = "http://hl7.org/fhir/StructureDefinition/observation-sequelTo"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationSpecimenCode", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationSpecimenCode record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/observation-specimenCode" url = "http://hl7.org/fhir/StructureDefinition/observation-specimenCode"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationStructureType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationStructureType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/observation-structure-type" url = "http://hl7.org/fhir/StructureDefinition/observation-structure-type"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationTimeOffset", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationTimeOffset record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/observation-timeOffset" url = "http://hl7.org/fhir/StructureDefinition/observation-timeOffset"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationVSubid", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationVSubid record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/observation-v2-subid" url = "http://hl7.org/fhir/StructureDefinition/observation-v2-subid"; +|}; + +@r4:DataTypeDefinition { + name: "OpenEHRAdministration", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OpenEHRAdministration record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/openEHR-administration" url = "http://hl7.org/fhir/StructureDefinition/openEHR-administration"; +|}; + +@r4:DataTypeDefinition { + name: "OpenEHRCareplan", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OpenEHRCareplan record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/openEHR-careplan" url = "http://hl7.org/fhir/StructureDefinition/openEHR-careplan"; +|}; + +@r4:DataTypeDefinition { + name: "OpenEHRExposureDate", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OpenEHRExposureDate record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate" url = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate"; +|}; + +@r4:DataTypeDefinition { + name: "OpenEHRExposureDescription", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OpenEHRExposureDescription record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription" url = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription"; +|}; + +@r4:DataTypeDefinition { + name: "OpenEHRExposureDuration", + baseType: (), + elements: { + "valueDuration": { + name: "valueDuration", + dataType: r4:Duration, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OpenEHRExposureDuration record {| + *r4:DurationExtension; + + r4:Duration valueDuration; + "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration" url = "http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration"; +|}; + +@r4:DataTypeDefinition { + name: "OpenEHRLocation", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OpenEHRLocation record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/openEHR-location" url = "http://hl7.org/fhir/StructureDefinition/openEHR-location"; +|}; + +@r4:DataTypeDefinition { + name: "OpenEHRManagement", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OpenEHRManagement record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/openEHR-management" url = "http://hl7.org/fhir/StructureDefinition/openEHR-management"; +|}; + +@r4:DataTypeDefinition { + name: "OpenEHRTest", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OpenEHRTest record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/openEHR-test" url = "http://hl7.org/fhir/StructureDefinition/openEHR-test"; +|}; + +@r4:DataTypeDefinition { + name: "OperationdefinitionAllowedType", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OperationdefinitionAllowedType record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" url = "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type"; +|}; + +@r4:DataTypeDefinition { + name: "OperationdefinitionProfile", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OperationdefinitionProfile record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile" url = "http://hl7.org/fhir/StructureDefinition/operationdefinition-profile"; +|}; + +@r4:DataTypeDefinition { + name: "OperationoutcomeAuthority", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OperationoutcomeAuthority record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority" url = "http://hl7.org/fhir/StructureDefinition/operationoutcome-authority"; +|}; + +@r4:DataTypeDefinition { + name: "OperationoutcomeDetectedIssue", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OperationoutcomeDetectedIssue record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue" url = "http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue"; +|}; + +@r4:DataTypeDefinition { + name: "OperationoutcomeFile", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OperationoutcomeFile record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/operationoutcome-file" url = "http://hl7.org/fhir/StructureDefinition/operationoutcome-file"; +|}; + +@r4:DataTypeDefinition { + name: "OperationoutcomeIssueCol", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OperationoutcomeIssueCol record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col" url = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col"; +|}; + +@r4:DataTypeDefinition { + name: "OperationoutcomeIssueLine", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OperationoutcomeIssueLine record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line" url = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line"; +|}; + +@r4:DataTypeDefinition { + name: "OperationoutcomeIssueServer", + baseType: (), + elements: { + "valueUrl": { + name: "valueUrl", + dataType: r4:urlType, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OperationoutcomeIssueServer record {| + *r4:UrlExtension; + + r4:url valueUrl; + "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server" url = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-server"; +|}; + +@r4:DataTypeDefinition { + name: "OperationoutcomeIssueSlicetext", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OperationoutcomeIssueSlicetext record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-slicetext" url = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-slicetext"; +|}; + +@r4:DataTypeDefinition { + name: "OperationoutcomeIssueSource", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OperationoutcomeIssueSource record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source" url = "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source"; +|}; + +@r4:DataTypeDefinition { + name: "OperationoutcomeMessageId", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OperationoutcomeMessageId record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id" url = "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id"; +|}; + +@r4:DataTypeDefinition { + name: "OrdinalValue", + baseType: (), + elements: { + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrdinalValue record {| + *r4:DecimalExtension; + + decimal valueDecimal; + "http://hl7.org/fhir/StructureDefinition/ordinalValue" url = "http://hl7.org/fhir/StructureDefinition/ordinalValue"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationBrand", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationBrand record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/organization-brand" url = "http://hl7.org/fhir/StructureDefinition/organization-brand"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationPeriod", + baseType: (), + elements: { + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationPeriod record {| + *r4:PeriodExtension; + + r4:Period valuePeriod; + "http://hl7.org/fhir/StructureDefinition/organization-period" url = "http://hl7.org/fhir/StructureDefinition/organization-period"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationPortal", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "An Extension", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationPortal record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/organization-portal" url = "http://hl7.org/fhir/StructureDefinition/organization-portal"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationPreferredContact", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationPreferredContact record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/organization-preferredContact" url = "http://hl7.org/fhir/StructureDefinition/organization-preferredContact"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationaffiliationPrimaryInd", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationaffiliationPrimaryInd record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd" url = "http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd"; +|}; + +@r4:DataTypeDefinition { + name: "OriginalText", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OriginalText record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/originalText" url = "http://hl7.org/fhir/StructureDefinition/originalText"; +|}; + +@r4:DataTypeDefinition { + name: "PackageSource", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PackageSource record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/package-source" url = "http://hl7.org/fhir/StructureDefinition/package-source"; +|}; + +@r4:DataTypeDefinition { + name: "ParametersDefinition", + baseType: (), + elements: { + "valueParameterDefinition": { + name: "valueParameterDefinition", + dataType: r4:ParameterDefinition, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ParametersDefinition record {| + *r4:ParameterDefinitionExtension; + + r4:ParameterDefinition valueParameterDefinition; + "http://hl7.org/fhir/StructureDefinition/parameters-definition" url = "http://hl7.org/fhir/StructureDefinition/parameters-definition"; +|}; + +@r4:DataTypeDefinition { + name: "ParametersFullUrl", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ParametersFullUrl record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl" url = "http://hl7.org/fhir/StructureDefinition/parameters-fullUrl"; +|}; + +@r4:DataTypeDefinition { + name: "PatientAdoptionInfo", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientAdoptionInfo record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo" url = "http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo"; +|}; + +@r4:DataTypeDefinition { + name: "PatientAnimal", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientAnimal record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/patient-animal" url = "http://hl7.org/fhir/StructureDefinition/patient-animal"; +|}; + +@r4:DataTypeDefinition { + name: "PatientBirthPlace", + baseType: (), + elements: { + "valueAddress": { + name: "valueAddress", + dataType: r4:Address, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientBirthPlace record {| + *r4:AddressExtension; + + r4:Address valueAddress; + "http://hl7.org/fhir/StructureDefinition/patient-birthPlace" url = "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"; +|}; + +@r4:DataTypeDefinition { + name: "PatientBirthTime", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientBirthTime record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/patient-birthTime" url = "http://hl7.org/fhir/StructureDefinition/patient-birthTime"; +|}; + +@r4:DataTypeDefinition { + name: "PatientBornStatus", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientBornStatus record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/patient-bornStatus" url = "http://hl7.org/fhir/StructureDefinition/patient-bornStatus"; +|}; + +@r4:DataTypeDefinition { + name: "PatientCadavericDonor", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientCadavericDonor record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor" url = "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor"; +|}; + +@r4:DataTypeDefinition { + name: "PatientCitizenship", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientCitizenship record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/patient-citizenship" url = "http://hl7.org/fhir/StructureDefinition/patient-citizenship"; +|}; + +@r4:DataTypeDefinition { + name: "PatientCongregation", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientCongregation record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/patient-congregation" url = "http://hl7.org/fhir/StructureDefinition/patient-congregation"; +|}; + +@r4:DataTypeDefinition { + name: "PatientContactPriority", + baseType: (), + elements: { + "valuePositiveInt": { + name: "valuePositiveInt", + dataType: r4:positiveInt, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientContactPriority record {| + *r4:PositiveIntExtension; + + r4:positiveInt valuePositiveInt; + "http://hl7.org/fhir/StructureDefinition/patient-contactPriority" url = "http://hl7.org/fhir/StructureDefinition/patient-contactPriority"; +|}; + +@r4:DataTypeDefinition { + name: "PatientDisability", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientDisability record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/patient-disability" url = "http://hl7.org/fhir/StructureDefinition/patient-disability"; +|}; + +@r4:DataTypeDefinition { + name: "PatientFetalStatus", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientFetalStatus record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/patient-fetalStatus" url = "http://hl7.org/fhir/StructureDefinition/patient-fetalStatus"; +|}; + +@r4:DataTypeDefinition { + name: "PatientGenderIdentity", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientGenderIdentity record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity" url = "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity"; +|}; + +@r4:DataTypeDefinition { + name: "PatientImportance", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientImportance record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/patient-importance" url = "http://hl7.org/fhir/StructureDefinition/patient-importance"; +|}; + +@r4:DataTypeDefinition { + name: "PatientInterpreterRequired", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientInterpreterRequired record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired" url = "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired"; +|}; + +@r4:DataTypeDefinition { + name: "PatientKnownNonDuplicate", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientKnownNonDuplicate record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/patient-knownNonDuplicate" url = "http://hl7.org/fhir/StructureDefinition/patient-knownNonDuplicate"; +|}; + +@r4:DataTypeDefinition { + name: "PatientMothersMaidenName", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientMothersMaidenName record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName" url = "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName"; +|}; + +@r4:DataTypeDefinition { + name: "PatientMultipleBirthTotal", + baseType: (), + elements: { + "valuePositiveInt": { + name: "valuePositiveInt", + dataType: r4:positiveInt, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientMultipleBirthTotal record {| + *r4:PositiveIntExtension; + + r4:positiveInt valuePositiveInt; + "http://hl7.org/fhir/StructureDefinition/patient-multipleBirthTotal" url = "http://hl7.org/fhir/StructureDefinition/patient-multipleBirthTotal"; +|}; + +@r4:DataTypeDefinition { + name: "PatientNationality", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientNationality record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/patient-nationality" url = "http://hl7.org/fhir/StructureDefinition/patient-nationality"; +|}; + +@r4:DataTypeDefinition { + name: "PatientPreferenceType", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientPreferenceType record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + "http://hl7.org/fhir/StructureDefinition/patient-preferenceType" url = "http://hl7.org/fhir/StructureDefinition/patient-preferenceType"; +|}; + +@r4:DataTypeDefinition { + name: "PatientPreferredPharmacy", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientPreferredPharmacy record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy" url = "http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy"; +|}; + +@r4:DataTypeDefinition { + name: "PatientProficiency", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientProficiency record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/patient-proficiency" url = "http://hl7.org/fhir/StructureDefinition/patient-proficiency"; +|}; + +@r4:DataTypeDefinition { + name: "PatientRelatedPerson", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientRelatedPerson record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson" url = "http://hl7.org/fhir/StructureDefinition/patient-relatedPerson"; +|}; + +@r4:DataTypeDefinition { + name: "PatientReligion", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientReligion record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/patient-religion" url = "http://hl7.org/fhir/StructureDefinition/patient-religion"; +|}; + +@r4:DataTypeDefinition { + name: "PatientSexParameterForClinicalUse", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientSexParameterForClinicalUse record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse" url = "http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse"; +|}; + +@r4:DataTypeDefinition { + name: "PatientUnknownIdentity", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientUnknownIdentity record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/patient-unknownIdentity" url = "http://hl7.org/fhir/StructureDefinition/patient-unknownIdentity"; +|}; + +@r4:DataTypeDefinition { + name: "PractitionerAnimalSpecies", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PractitionerAnimalSpecies record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies" url = "http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies"; +|}; + +@r4:DataTypeDefinition { + name: "PractitionerJobTitle", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PractitionerJobTitle record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/practitioner-job-title" url = "http://hl7.org/fhir/StructureDefinition/practitioner-job-title"; +|}; + +@r4:DataTypeDefinition { + name: "PractitionerroleEmploymentStatus", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PractitionerroleEmploymentStatus record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/practitionerrole-employmentStatus" url = "http://hl7.org/fhir/StructureDefinition/practitionerrole-employmentStatus"; +|}; + +@r4:DataTypeDefinition { + name: "PractitionerrolePrimaryInd", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PractitionerrolePrimaryInd record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd" url = "http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd"; +|}; + +@r4:DataTypeDefinition { + name: "PreferredTerminologyServer", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PreferredTerminologyServer record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer" url = "http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer"; +|}; + +@r4:DataTypeDefinition { + name: "ProcedureApproachBodyStructure", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ProcedureApproachBodyStructure record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure" url = "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure"; +|}; + +@r4:DataTypeDefinition { + name: "ProcedureCausedBy", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ProcedureCausedBy record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/procedure-causedBy" url = "http://hl7.org/fhir/StructureDefinition/procedure-causedBy"; +|}; + +@r4:DataTypeDefinition { + name: "ProcedureDirectedBy", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ProcedureDirectedBy record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/procedure-directedBy" url = "http://hl7.org/fhir/StructureDefinition/procedure-directedBy"; +|}; + +@r4:DataTypeDefinition { + name: "ProcedureIncisionDateTime", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ProcedureIncisionDateTime record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime" url = "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime"; +|}; + +@r4:DataTypeDefinition { + name: "ProcedureMethod", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ProcedureMethod record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/procedure-method" url = "http://hl7.org/fhir/StructureDefinition/procedure-method"; +|}; + +@r4:DataTypeDefinition { + name: "ProcedureProgressStatus", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ProcedureProgressStatus record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus" url = "http://hl7.org/fhir/StructureDefinition/procedure-progressStatus"; +|}; + +@r4:DataTypeDefinition { + name: "ProcedureSchedule", + baseType: (), + elements: { + "valueTiming": { + name: "valueTiming", + dataType: r4:Timing, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ProcedureSchedule record {| + *r4:TimingExtension; + + r4:Timing valueTiming; + "http://hl7.org/fhir/StructureDefinition/procedure-schedule" url = "http://hl7.org/fhir/StructureDefinition/procedure-schedule"; +|}; + +@r4:DataTypeDefinition { + name: "ProcedureTargetBodyStructure", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ProcedureTargetBodyStructure record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure" url = "http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure"; +|}; + +@r4:DataTypeDefinition { + name: "QuantityPrecision", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuantityPrecision record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/quantity-precision" url = "http://hl7.org/fhir/StructureDefinition/quantity-precision"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireBaseType", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireBaseType record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-baseType"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireChoiceOrientation", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireChoiceOrientation record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireConstraint", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 4, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireConstraint record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireDefinitionBased", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireDefinitionBased record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/questionnaire-definitionBased" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-definitionBased"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireDerivationType", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireDerivationType record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + "http://hl7.org/fhir/StructureDefinition/questionnaire-derivationType" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-derivationType"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireDisplayCategory", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireDisplayCategory record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireFhirType", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireFhirType record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireHidden", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireHidden record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireItemControl", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireItemControl record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireMaxOccurs", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireMaxOccurs record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireMinOccurs", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireMinOccurs record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireOptionExclusive", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireOptionExclusive record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireOptionPrefix", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireOptionPrefix record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireOptionRestriction", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireOptionRestriction record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/questionnaire-optionRestriction" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-optionRestriction"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireReferenceFilter", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireReferenceFilter record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireReferenceProfile", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireReferenceProfile record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireReferenceResource", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireReferenceResource record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireSignatureRequired", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireSignatureRequired record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireSliderStepValue", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireSliderStepValue record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireSupportLink", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireSupportLink record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireUnit", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireUnit record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + "http://hl7.org/fhir/StructureDefinition/questionnaire-unit" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-unit"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireUnitOption", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireUnitOption record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireUnitValueSet", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireUnitValueSet record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireUsageMode", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireUsageMode record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode" url = "http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireresponseAttester", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "An Extension", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireresponseAttester record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester" url = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireresponseAuthor", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireresponseAuthor record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author" url = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireresponseCompletionMode", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireresponseCompletionMode record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode" url = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireresponseReason", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireresponseReason record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason" url = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireresponseReviewer", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireresponseReviewer record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer" url = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireresponseSignature", + baseType: (), + elements: { + "valueSignature": { + name: "valueSignature", + dataType: r4:Signature, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireresponseSignature record {| + *r4:SignatureExtension; + + r4:Signature valueSignature; + "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature" url = "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature"; +|}; + +@r4:DataTypeDefinition { + name: "ReferencesContained", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ReferencesContained record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/referencesContained" url = "http://hl7.org/fhir/StructureDefinition/referencesContained"; +|}; + +@r4:DataTypeDefinition { + name: "Regex", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type Regex record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/regex" url = "http://hl7.org/fhir/StructureDefinition/regex"; +|}; + +@r4:DataTypeDefinition { + name: "RelativeDate", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 4, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RelativeDate record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/relative-date" url = "http://hl7.org/fhir/StructureDefinition/relative-date"; +|}; + +@r4:DataTypeDefinition { + name: "RenderedValue", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RenderedValue record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/rendered-value" url = "http://hl7.org/fhir/StructureDefinition/rendered-value"; +|}; + +@r4:DataTypeDefinition { + name: "RenderingMarkdown", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RenderingMarkdown record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/rendering-markdown" url = "http://hl7.org/fhir/StructureDefinition/rendering-markdown"; +|}; + +@r4:DataTypeDefinition { + name: "RenderingStyle", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RenderingStyle record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/rendering-style" url = "http://hl7.org/fhir/StructureDefinition/rendering-style"; +|}; + +@r4:DataTypeDefinition { + name: "RenderingStyleSensitive", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RenderingStyleSensitive record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive" url = "http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive"; +|}; + +@r4:DataTypeDefinition { + name: "RenderingXhtml", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RenderingXhtml record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/rendering-xhtml" url = "http://hl7.org/fhir/StructureDefinition/rendering-xhtml"; +|}; + +@r4:DataTypeDefinition { + name: "Replaces", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type Replaces record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/replaces" url = "http://hl7.org/fhir/StructureDefinition/replaces"; +|}; + +@r4:DataTypeDefinition { + name: "RequestDoNotPerform", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RequestDoNotPerform record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/request-doNotPerform" url = "http://hl7.org/fhir/StructureDefinition/request-doNotPerform"; +|}; + +@r4:DataTypeDefinition { + name: "RequestInsurance", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RequestInsurance record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/request-insurance" url = "http://hl7.org/fhir/StructureDefinition/request-insurance"; +|}; + +@r4:DataTypeDefinition { + name: "RequestPerformerOrder", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RequestPerformerOrder record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/request-performerOrder" url = "http://hl7.org/fhir/StructureDefinition/request-performerOrder"; +|}; + +@r4:DataTypeDefinition { + name: "RequestRelevantHistory", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RequestRelevantHistory record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/request-relevantHistory" url = "http://hl7.org/fhir/StructureDefinition/request-relevantHistory"; +|}; + +@r4:DataTypeDefinition { + name: "RequestReplaces", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RequestReplaces record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/request-replaces" url = "http://hl7.org/fhir/StructureDefinition/request-replaces"; +|}; + +@r4:DataTypeDefinition { + name: "RequestStatusReason", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RequestStatusReason record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/request-statusReason" url = "http://hl7.org/fhir/StructureDefinition/request-statusReason"; +|}; + +@r4:DataTypeDefinition { + name: "RequirementsParent", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RequirementsParent record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/requirements-parent" url = "http://hl7.org/fhir/StructureDefinition/requirements-parent"; +|}; + +@r4:DataTypeDefinition { + name: "ResearchStudySiteRecruitment", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResearchStudySiteRecruitment record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/researchStudy-siteRecruitment" url = "http://hl7.org/fhir/StructureDefinition/researchStudy-siteRecruitment"; +|}; + +@r4:DataTypeDefinition { + name: "ResearchStudyStudyRegistration", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResearchStudyStudyRegistration record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/researchStudy-studyRegistration" url = "http://hl7.org/fhir/StructureDefinition/researchStudy-studyRegistration"; +|}; + +@r4:DataTypeDefinition { + name: "ResolveAsVersionSpecific", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResolveAsVersionSpecific record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/resolve-as-version-specific" url = "http://hl7.org/fhir/StructureDefinition/resolve-as-version-specific"; +|}; + +@r4:DataTypeDefinition { + name: "ResourceApprovalDate", + baseType: (), + elements: { + "valueDate": { + name: "valueDate", + dataType: r4:date, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResourceApprovalDate record {| + *r4:DateExtension; + + r4:date valueDate; + "http://hl7.org/fhir/StructureDefinition/resource-approvalDate" url = "http://hl7.org/fhir/StructureDefinition/resource-approvalDate"; +|}; + +@r4:DataTypeDefinition { + name: "ResourceEffectivePeriod", + baseType: (), + elements: { + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResourceEffectivePeriod record {| + *r4:PeriodExtension; + + r4:Period valuePeriod; + "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod" url = "http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod"; +|}; + +@r4:DataTypeDefinition { + name: "ResourceInstanceDescription", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResourceInstanceDescription record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/resource-instance-description" url = "http://hl7.org/fhir/StructureDefinition/resource-instance-description"; +|}; + +@r4:DataTypeDefinition { + name: "ResourceInstanceName", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResourceInstanceName record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/resource-instance-name" url = "http://hl7.org/fhir/StructureDefinition/resource-instance-name"; +|}; + +@r4:DataTypeDefinition { + name: "ResourceLastReviewDate", + baseType: (), + elements: { + "valueDate": { + name: "valueDate", + dataType: r4:date, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResourceLastReviewDate record {| + *r4:DateExtension; + + r4:date valueDate; + "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate" url = "http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate"; +|}; + +@r4:DataTypeDefinition { + name: "ResourcePertainsToGoal", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResourcePertainsToGoal record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal" url = "http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal"; +|}; + +@r4:DataTypeDefinition { + name: "SatisfiesRequirement", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type SatisfiesRequirement record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/satisfies-requirement" url = "http://hl7.org/fhir/StructureDefinition/satisfies-requirement"; +|}; + +@r4:DataTypeDefinition { + name: "ServicerequestGeneticsItem", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ServicerequestGeneticsItem record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem" url = "http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem"; +|}; + +@r4:DataTypeDefinition { + name: "ServicerequestOrderCallbackPhoneNumber", + baseType: (), + elements: { + "valueContactPoint": { + name: "valueContactPoint", + dataType: r4:ContactPoint, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ServicerequestOrderCallbackPhoneNumber record {| + *r4:ContactPointExtension; + + r4:ContactPoint valueContactPoint; + "http://hl7.org/fhir/StructureDefinition/servicerequest-order-callback-phone-number" url = "http://hl7.org/fhir/StructureDefinition/servicerequest-order-callback-phone-number"; +|}; + +@r4:DataTypeDefinition { + name: "ServicerequestPrecondition", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ServicerequestPrecondition record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition" url = "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition"; +|}; + +@r4:DataTypeDefinition { + name: "ServicerequestQuestionnaireRequest", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ServicerequestQuestionnaireRequest record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest" url = "http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest"; +|}; + +@r4:DataTypeDefinition { + name: "SpecimenAdditive", + baseType: (), + elements: { + "valueCodeableReference": { + name: "valueCodeableReference", + dataType: r4:CodeableReference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type SpecimenAdditive record {| + *r4:CodeableReferenceExtension; + + r4:CodeableReference valueCodeableReference; + "http://hl7.org/fhir/StructureDefinition/specimen-additive" url = "http://hl7.org/fhir/StructureDefinition/specimen-additive"; +|}; + +@r4:DataTypeDefinition { + name: "SpecimenCollectionPriority", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type SpecimenCollectionPriority record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority" url = "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority"; +|}; + +@r4:DataTypeDefinition { + name: "SpecimenIsDryWeight", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type SpecimenIsDryWeight record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight" url = "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight"; +|}; + +@r4:DataTypeDefinition { + name: "SpecimenProcessingTime", + baseType: (), + elements: { + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type SpecimenProcessingTime record {| + *r4:PeriodExtension; + + r4:Period valuePeriod; + "http://hl7.org/fhir/StructureDefinition/specimen-processingTime" url = "http://hl7.org/fhir/StructureDefinition/specimen-processingTime"; +|}; + +@r4:DataTypeDefinition { + name: "SpecimenRejectReason", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type SpecimenRejectReason record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/specimen-reject-reason" url = "http://hl7.org/fhir/StructureDefinition/specimen-reject-reason"; +|}; + +@r4:DataTypeDefinition { + name: "SpecimenSequenceNumber", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type SpecimenSequenceNumber record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber" url = "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber"; +|}; + +@r4:DataTypeDefinition { + name: "SpecimenSpecialHandling", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type SpecimenSpecialHandling record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling" url = "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling"; +|}; + +@r4:DataTypeDefinition { + name: "StatisticModelIncludeIf", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: 2, + isArray: true, + description: "An Extension", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StatisticModelIncludeIf record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/statistic-model-include-if" url = "http://hl7.org/fhir/StructureDefinition/statistic-model-include-if"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionAncestor", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionAncestor record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionApplicableVersion", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionApplicableVersion record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionCategory", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionCategory record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-category" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-category"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionCodegenSuper", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionCodegenSuper record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionCompliesWithProfile", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionCompliesWithProfile record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-compliesWithProfile"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionConformanceDerivedFrom", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionConformanceDerivedFrom record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionDependencies", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionDependencies record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionDisplayHint", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionDisplayHint record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionExplicitTypeName", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionExplicitTypeName record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionExtensionMeaning", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionExtensionMeaning record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-extension-meaning" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-extension-meaning"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionFhirType", + baseType: (), + elements: { + "valueUrl": { + name: "valueUrl", + dataType: r4:urlType, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionFhirType record {| + *r4:UrlExtension; + + r4:url valueUrl; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionFmm", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionFmm record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionFmmNoWarnings", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionFmmNoWarnings record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionFmmSupport", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionFmmSupport record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-support" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-support"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionHierarchy", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionHierarchy record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionImposeProfile", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionImposeProfile record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionInheritanceControl", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionInheritanceControl record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-inheritance-control" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-inheritance-control"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionInterface", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionInterface record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-interface" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-interface"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionJsonType", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:Extension, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionJsonType record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionNormativeVersion", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionNormativeVersion record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionRdfType", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:Extension, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionRdfType record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionSecurityCategory", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionSecurityCategory record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionStandardsStatus", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionStandardsStatus record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionStandardsStatusReason", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionStandardsStatusReason record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status-reason"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionSummary", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionSummary record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-summary"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionTableName", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionTableName record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionTemplateStatus", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionTemplateStatus record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionTypeCharacteristics", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionTypeCharacteristics record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionWg", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionWg record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionXmlNoOrder", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionXmlNoOrder record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionXmlType", + baseType: (), + elements: { + "url": { + name: "url", + dataType: r4:Extension, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionXmlType record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type" url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type"; +|}; + +@r4:DataTypeDefinition { + name: "SubjectLocationClassification", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type SubjectLocationClassification record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/subject-locationClassification" url = "http://hl7.org/fhir/StructureDefinition/subject-locationClassification"; +|}; + +@r4:DataTypeDefinition { + name: "SubscriptionBestEffort", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type SubscriptionBestEffort record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/subscription-best-effort" url = "http://hl7.org/fhir/StructureDefinition/subscription-best-effort"; +|}; + +@r4:DataTypeDefinition { + name: "TargetConstraint", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 4, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TargetConstraint record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/targetConstraint" url = "http://hl7.org/fhir/StructureDefinition/targetConstraint"; +|}; + +@r4:DataTypeDefinition { + name: "TargetElement", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TargetElement record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/targetElement" url = "http://hl7.org/fhir/StructureDefinition/targetElement"; +|}; + +@r4:DataTypeDefinition { + name: "TargetPath", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TargetPath record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/targetPath" url = "http://hl7.org/fhir/StructureDefinition/targetPath"; +|}; + +@r4:DataTypeDefinition { + name: "TaskCandidateList", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TaskCandidateList record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/task-candidateList" url = "http://hl7.org/fhir/StructureDefinition/task-candidateList"; +|}; + +@r4:DataTypeDefinition { + name: "TaskReplaces", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TaskReplaces record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/task-replaces" url = "http://hl7.org/fhir/StructureDefinition/task-replaces"; +|}; + +@r4:DataTypeDefinition { + name: "TerminologyResourceIdentifierMetadata", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TerminologyResourceIdentifierMetadata record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/terminology-resource-identifier-metadata" url = "http://hl7.org/fhir/StructureDefinition/terminology-resource-identifier-metadata"; +|}; + +@r4:DataTypeDefinition { + name: "Timezone", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type Timezone record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/timezone" url = "http://hl7.org/fhir/StructureDefinition/timezone"; +|}; + +@r4:DataTypeDefinition { + name: "TimingDayOfMonth", + baseType: (), + elements: { + "valuePositiveInt": { + name: "valuePositiveInt", + dataType: r4:positiveInt, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TimingDayOfMonth record {| + *r4:PositiveIntExtension; + + r4:positiveInt valuePositiveInt; + "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth" url = "http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth"; +|}; + +@r4:DataTypeDefinition { + name: "TimingDaysOfCycle", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TimingDaysOfCycle record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle" url = "http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle"; +|}; + +@r4:DataTypeDefinition { + name: "TimingExact", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TimingExact record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/timing-exact" url = "http://hl7.org/fhir/StructureDefinition/timing-exact"; +|}; + +@r4:DataTypeDefinition { + name: "TimingUncertainDate", + baseType: (), + elements: { + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TimingUncertainDate record {| + *r4:PeriodExtension; + + r4:Period valuePeriod; + "http://hl7.org/fhir/StructureDefinition/timing-uncertainDate" url = "http://hl7.org/fhir/StructureDefinition/timing-uncertainDate"; +|}; + +@r4:DataTypeDefinition { + name: "Translation", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type Translation record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/translation" url = "http://hl7.org/fhir/StructureDefinition/translation"; +|}; + +@r4:DataTypeDefinition { + name: "TzCode", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TzCode record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/tz-code" url = "http://hl7.org/fhir/StructureDefinition/tz-code"; +|}; + +@r4:DataTypeDefinition { + name: "TzOffset", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TzOffset record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/tz-offset" url = "http://hl7.org/fhir/StructureDefinition/tz-offset"; +|}; + +@r4:DataTypeDefinition { + name: "UncertainPeriod", + baseType: (), + elements: { + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type UncertainPeriod record {| + *r4:PeriodExtension; + + r4:Period valuePeriod; + "http://hl7.org/fhir/StructureDefinition/uncertainPeriod" url = "http://hl7.org/fhir/StructureDefinition/uncertainPeriod"; +|}; + +@r4:DataTypeDefinition { + name: "UsagecontextGroup", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type UsagecontextGroup record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/usagecontext-group" url = "http://hl7.org/fhir/StructureDefinition/usagecontext-group"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetActivityStatusDate", + baseType: (), + elements: { + "valueDate": { + name: "valueDate", + dataType: r4:date, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetActivityStatusDate record {| + *r4:DateExtension; + + r4:date valueDate; + "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate" url = "http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetAuthor", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + }, + + "valueContactDetail": { + name: "valueContactDetail", + dataType: r4:ContactDetail, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetAuthor record {| + *r4:ContactDetailExtension; + + "http://hl7.org/fhir/StructureDefinition/valueset-author" url = "http://hl7.org/fhir/StructureDefinition/valueset-author"; + r4:ContactDetail valueContactDetail; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetAuthoritativeSource", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetAuthoritativeSource record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource" url = "http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetCaseSensitive", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetCaseSensitive record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive" url = "http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetComposeCreatedBy", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetComposeCreatedBy record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy" url = "http://hl7.org/fhir/StructureDefinition/valueset-compose-createdBy"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetComposeCreationDate", + baseType: (), + elements: { + "valueDate": { + name: "valueDate", + dataType: r4:date, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetComposeCreationDate record {| + *r4:DateExtension; + + r4:date valueDate; + "http://hl7.org/fhir/StructureDefinition/valueset-compose-creationDate" url = "http://hl7.org/fhir/StructureDefinition/valueset-compose-creationDate"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetComposeIncludeValueSetTitle", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetComposeIncludeValueSetTitle record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/valueset-compose-include-valueSetTitle" url = "http://hl7.org/fhir/StructureDefinition/valueset-compose-include-valueSetTitle"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetConceptComments", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetConceptComments record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments" url = "http://hl7.org/fhir/StructureDefinition/valueset-concept-comments"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetConceptDefinition", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetConceptDefinition record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition" url = "http://hl7.org/fhir/StructureDefinition/valueset-concept-definition"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetConceptOrder", + baseType: (), + elements: { + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetConceptOrder record {| + *r4:IntegerExtension; + + r4:integer valueInteger; + "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder" url = "http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetDeprecated", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetDeprecated record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/valueset-deprecated" url = "http://hl7.org/fhir/StructureDefinition/valueset-deprecated"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetEffectiveDate", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetEffectiveDate record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate" url = "http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetExpandGroup", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetExpandGroup record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/valueset-expand-group" url = "http://hl7.org/fhir/StructureDefinition/valueset-expand-group"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetExpandRules", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetExpandRules record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/valueset-expand-rules" url = "http://hl7.org/fhir/StructureDefinition/valueset-expand-rules"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetExpansionSource", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetExpansionSource record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource" url = "http://hl7.org/fhir/StructureDefinition/valueset-expansionSource"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetExpirationDate", + baseType: (), + elements: { + "valueDate": { + name: "valueDate", + dataType: r4:date, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetExpirationDate record {| + *r4:DateExtension; + + r4:date valueDate; + "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate" url = "http://hl7.org/fhir/StructureDefinition/valueset-expirationDate"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetExpression", + baseType: (), + elements: { + "valueExpression": { + name: "valueExpression", + dataType: r4:Expression, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetExpression record {| + *r4:ExpressionExtension; + + r4:Expression valueExpression; + "http://hl7.org/fhir/StructureDefinition/valueset-expression" url = "http://hl7.org/fhir/StructureDefinition/valueset-expression"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetExtensible", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetExtensible record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/valueset-extensible" url = "http://hl7.org/fhir/StructureDefinition/valueset-extensible"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetKeyWord", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetKeyWord record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/valueset-keyWord" url = "http://hl7.org/fhir/StructureDefinition/valueset-keyWord"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetLabel", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetLabel record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/valueset-label" url = "http://hl7.org/fhir/StructureDefinition/valueset-label"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetMap", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetMap record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/valueset-map" url = "http://hl7.org/fhir/StructureDefinition/valueset-map"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetOtherName", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetOtherName record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/valueset-otherName" url = "http://hl7.org/fhir/StructureDefinition/valueset-otherName"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetOtherTitle", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetOtherTitle record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/valueset-otherTitle" url = "http://hl7.org/fhir/StructureDefinition/valueset-otherTitle"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetParameterSource", + baseType: (), + elements: { + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetParameterSource record {| + *r4:CodeExtension; + + r4:code valueCode; + "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource" url = "http://hl7.org/fhir/StructureDefinition/valueset-parameterSource"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetReference", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetReference record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/valueset-reference" url = "http://hl7.org/fhir/StructureDefinition/valueset-reference"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetRulesText", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetRulesText record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/valueset-rules-text" url = "http://hl7.org/fhir/StructureDefinition/valueset-rules-text"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetSelectByMap", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetSelectByMap record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/valueset-select-by-map" url = "http://hl7.org/fhir/StructureDefinition/valueset-select-by-map"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetSourceReference", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetSourceReference record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference" url = "http://hl7.org/fhir/StructureDefinition/valueset-sourceReference"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetSpecialStatus", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetSpecialStatus record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/valueset-special-status" url = "http://hl7.org/fhir/StructureDefinition/valueset-special-status"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetSteward", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + }, + + "valueContactDetail": { + name: "valueContactDetail", + dataType: r4:ContactDetail, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetSteward record {| + *r4:ContactDetailExtension; + + "http://hl7.org/fhir/StructureDefinition/valueset-steward" url = "http://hl7.org/fhir/StructureDefinition/valueset-steward"; + r4:ContactDetail valueContactDetail; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetSupplement", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetSupplement record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/valueset-supplement" url = "http://hl7.org/fhir/StructureDefinition/valueset-supplement"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetSystem", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetSystem record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/valueset-system" url = "http://hl7.org/fhir/StructureDefinition/valueset-system"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetSystemName", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetSystemName record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/valueset-systemName" url = "http://hl7.org/fhir/StructureDefinition/valueset-systemName"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetSystemRef", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetSystemRef record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/valueset-systemRef" url = "http://hl7.org/fhir/StructureDefinition/valueset-systemRef"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetToocostly", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetToocostly record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/valueset-toocostly" url = "http://hl7.org/fhir/StructureDefinition/valueset-toocostly"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetTrustedExpansion", + baseType: (), + elements: { + "valueUrl": { + name: "valueUrl", + dataType: r4:urlType, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetTrustedExpansion record {| + *r4:UrlExtension; + + r4:url valueUrl; + "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion" url = "http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetUnclosed", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetUnclosed record {| + *r4:BooleanExtension; + + boolean valueBoolean; + "http://hl7.org/fhir/StructureDefinition/valueset-unclosed" url = "http://hl7.org/fhir/StructureDefinition/valueset-unclosed"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetUsage", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 2, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetUsage record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/valueset-usage" url = "http://hl7.org/fhir/StructureDefinition/valueset-usage"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetWarning", + baseType: (), + elements: { + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetWarning record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + "http://hl7.org/fhir/StructureDefinition/valueset-warning" url = "http://hl7.org/fhir/StructureDefinition/valueset-warning"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetWorkflowStatus", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetWorkflowStatus record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus" url = "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetWorkflowStatusDescription", + baseType: (), + elements: { + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetWorkflowStatusDescription record {| + *r4:StringExtension; + + string valueString; + "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription" url = "http://hl7.org/fhir/StructureDefinition/valueset-workflowStatusDescription"; +|}; + +@r4:DataTypeDefinition { + name: "Variable", + baseType: (), + elements: { + "valueExpression": { + name: "valueExpression", + dataType: r4:Expression, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type Variable record {| + *r4:ExpressionExtension; + + r4:Expression valueExpression; + "http://hl7.org/fhir/StructureDefinition/variable" url = "http://hl7.org/fhir/StructureDefinition/variable"; +|}; + +@r4:DataTypeDefinition { + name: "VersionSpecificUse", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type VersionSpecificUse record {| + *r4:ExtensionExtension; + + "http://hl7.org/fhir/StructureDefinition/version-specific-use" url = "http://hl7.org/fhir/StructureDefinition/version-specific-use"; +|}; + +@r4:DataTypeDefinition { + name: "VersionSpecificValue", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 3, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Extension.extension" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type VersionSpecificValue record {| + *r4:ExtensionExtension; + + r4:Extension[] extension; + "http://hl7.org/fhir/StructureDefinition/version-specific-value" url = "http://hl7.org/fhir/StructureDefinition/version-specific-value"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowAdheresTo", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowAdheresTo record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/workflow-adheresTo" url = "http://hl7.org/fhir/StructureDefinition/workflow-adheresTo"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowBarrier", + baseType: (), + elements: { + "valueCodeableReference": { + name: "valueCodeableReference", + dataType: r4:CodeableReference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowBarrier record {| + *r4:CodeableReferenceExtension; + + r4:CodeableReference valueCodeableReference; + "http://hl7.org/fhir/StructureDefinition/workflow-barrier" url = "http://hl7.org/fhir/StructureDefinition/workflow-barrier"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowCompliesWith", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowCompliesWith record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/workflow-compliesWith" url = "http://hl7.org/fhir/StructureDefinition/workflow-compliesWith"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowEpisodeOfCare", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowEpisodeOfCare record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare" url = "http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowFollowOnOf", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowFollowOnOf record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/workflow-followOnOf" url = "http://hl7.org/fhir/StructureDefinition/workflow-followOnOf"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowGeneratedFrom", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowGeneratedFrom record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/workflow-generatedFrom" url = "http://hl7.org/fhir/StructureDefinition/workflow-generatedFrom"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowInstantiatesCanonical", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowInstantiatesCanonical record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical" url = "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowInstantiatesUri", + baseType: (), + elements: { + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowInstantiatesUri record {| + *r4:UriExtension; + + r4:uri valueUri; + "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri" url = "http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowProtectiveFactor", + baseType: (), + elements: { + "valueCodeableReference": { + name: "valueCodeableReference", + dataType: r4:CodeableReference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowProtectiveFactor record {| + *r4:CodeableReferenceExtension; + + r4:CodeableReference valueCodeableReference; + "http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor" url = "http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowReason", + baseType: (), + elements: { + "valueCodeableReference": { + name: "valueCodeableReference", + dataType: r4:CodeableReference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowReason record {| + *r4:CodeableReferenceExtension; + + r4:CodeableReference valueCodeableReference; + "http://hl7.org/fhir/StructureDefinition/workflow-reason" url = "http://hl7.org/fhir/StructureDefinition/workflow-reason"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowReasonCode", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowReasonCode record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + "http://hl7.org/fhir/StructureDefinition/workflow-reasonCode" url = "http://hl7.org/fhir/StructureDefinition/workflow-reasonCode"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowReasonReference", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowReasonReference record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/workflow-reasonReference" url = "http://hl7.org/fhir/StructureDefinition/workflow-reasonReference"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowRelatedArtifact", + baseType: (), + elements: { + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + }, + + "valueRelatedArtifact": { + name: "valueRelatedArtifact", + dataType: r4:RelatedArtifact, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowRelatedArtifact record {| + *r4:RelatedArtifactExtension; + + "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact" url = "http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact"; + r4:RelatedArtifact valueRelatedArtifact; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowReleaseDate", + baseType: (), + elements: { + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowReleaseDate record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + "http://hl7.org/fhir/StructureDefinition/workflow-releaseDate" url = "http://hl7.org/fhir/StructureDefinition/workflow-releaseDate"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowResearchStudy", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowResearchStudy record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy" url = "http://hl7.org/fhir/StructureDefinition/workflow-researchStudy"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowShallComplyWith", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowShallComplyWith record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/workflow-shallComplyWith" url = "http://hl7.org/fhir/StructureDefinition/workflow-shallComplyWith"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowSupportingInfo", + baseType: (), + elements: { + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowSupportingInfo record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo" url = "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo"; +|}; + +@r4:DataTypeDefinition { + name: "WorkflowTriggeredBy", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Extension.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Extension.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type WorkflowTriggeredBy record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + "http://hl7.org/fhir/StructureDefinition/workflow-triggeredBy" url = "http://hl7.org/fhir/StructureDefinition/workflow-triggeredBy"; +|}; + +@r4:DataTypeDefinition { + name: "ImplementationguideSourceFileFile", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "file.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "file.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "file.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "file.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ImplementationguideSourceFileFile record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + string id?; + "file" url = "file"; +|}; + +@r4:DataTypeDefinition { + name: "ImplementationguideSourceFileKeepAsResource", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "keepAsResource.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "keepAsResource.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "keepAsResource.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "keepAsResource.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ImplementationguideSourceFileKeepAsResource record {| + *r4:BooleanExtension; + + boolean valueBoolean; + string id?; + "keepAsResource" url = "keepAsResource"; +|}; + +@r4:DataTypeDefinition { + name: "ImplementationguideSourceFileLocation", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "location.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "location.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "location.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "location.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ImplementationguideSourceFileLocation record {| + *r4:StringExtension; + + string valueString; + string id?; + "location" url = "location"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualGenderIdentityComment", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "comment.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "comment.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "comment.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "comment.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualGenderIdentityComment record {| + *r4:StringExtension; + + string valueString; + string id?; + "comment" url = "comment"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualGenderIdentityPeriod", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "period.extension" + }, + + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "period.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "period.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "period.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualGenderIdentityPeriod record {| + *r4:PeriodExtension; + + r4:Period valuePeriod; + string id?; + "period" url = "period"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualGenderIdentityValue", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "value.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "value.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "value.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualGenderIdentityValue record {| + *r4:Base64BinaryExtension; + + r4:CodeableConcept valueCodeableConcept; + string valueString; + r4:Period valuePeriod; + string id?; + "value" url = "value"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualPronounsComment", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "comment.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "comment.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "comment.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "comment.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualPronounsComment record {| + *r4:StringExtension; + + string valueString; + string id?; + "comment" url = "comment"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualPronounsPeriod", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "period.extension" + }, + + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "period.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "period.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "period.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualPronounsPeriod record {| + *r4:PeriodExtension; + + r4:Period valuePeriod; + string id?; + "period" url = "period"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualPronounsValue", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "value.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "value.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "value.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualPronounsValue record {| + *r4:Base64BinaryExtension; + + r4:CodeableConcept valueCodeableConcept; + string valueString; + r4:Period valuePeriod; + string id?; + "value" url = "value"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualRecordedSexOrGenderAcquisitionDate", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "acquisitionDate.extension" + }, + + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "acquisitionDate.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "acquisitionDate.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "acquisitionDate.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualRecordedSexOrGenderAcquisitionDate record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + string id?; + "acquisitionDate" url = "acquisitionDate"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualRecordedSexOrGenderComment", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "comment.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "comment.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "comment.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "comment.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualRecordedSexOrGenderComment record {| + *r4:StringExtension; + + string valueString; + string id?; + "comment" url = "comment"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualRecordedSexOrGenderEffectivePeriod", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "effectivePeriod.extension" + }, + + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "effectivePeriod.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "effectivePeriod.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "effectivePeriod.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualRecordedSexOrGenderEffectivePeriod record {| + *r4:PeriodExtension; + + r4:Period valuePeriod?; + string id?; + "effectivePeriod" url = "effectivePeriod"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualRecordedSexOrGenderGenderElementQualifier", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "genderElementQualifier.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "genderElementQualifier.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "genderElementQualifier.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "genderElementQualifier.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualRecordedSexOrGenderGenderElementQualifier record {| + *r4:BooleanExtension; + + boolean valueBoolean; + string id?; + "genderElementQualifier" url = "genderElementQualifier"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualRecordedSexOrGenderJurisdiction", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "jurisdiction.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "jurisdiction.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "jurisdiction.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "jurisdiction.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualRecordedSexOrGenderJurisdiction record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "jurisdiction" url = "jurisdiction"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualRecordedSexOrGenderSource", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "source.value[x]" + }, + + "sourceField": { + name: "sourceField", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "The name of the field within the source document where this sex or gender property is initially recorded.", + path: "source.sourceField" + }, + + "sourceDocument": { + name: "sourceDocument", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "The reference to the source document or the code representing the type of document where this sex or gender property is initially recorded.", + path: "source.sourceDocument" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "source.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "source.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "source.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "source.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualRecordedSexOrGenderSource record {| + *r4:StringExtension; + + r4:CodeableConcept valueCodeableConcept; + r4:Extension[] sourceField?; + r4:Extension[] sourceDocument?; + string valueString; + string id?; + "source" url = "source"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualRecordedSexOrGenderSourceDocument", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "sourceDocument.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "sourceDocument.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "sourceDocument.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "sourceDocument.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualRecordedSexOrGenderSourceDocument record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "sourceDocument" url = "sourceDocument"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualRecordedSexOrGenderSourceField", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "sourceField.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "sourceField.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "sourceField.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "sourceField.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualRecordedSexOrGenderSourceField record {| + *r4:StringExtension; + + string valueString; + string id?; + "sourceField" url = "sourceField"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualRecordedSexOrGenderType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "type.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "type.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "type.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualRecordedSexOrGenderType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "type" url = "type"; +|}; + +@r4:DataTypeDefinition { + name: "IndividualRecordedSexOrGenderValue", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "value.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "value.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "value.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type IndividualRecordedSexOrGenderValue record {| + *r4:Base64BinaryExtension; + + r4:CodeableConcept valueCodeableConcept; + boolean valueBoolean; + string valueString; + r4:Period valuePeriod?; + r4:dateTime valueDateTime; + string id?; + "value" url = "value"; +|}; + +@r4:DataTypeDefinition { + name: "MedicationManufacturingBatchAdditionalInformation", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "additionalInformation.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "additionalInformation.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "additionalInformation.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "additionalInformation.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationManufacturingBatchAdditionalInformation record {| + *r4:StringExtension; + + string valueString; + string id?; + "additionalInformation" url = "additionalInformation"; +|}; + +@r4:DataTypeDefinition { + name: "MedicationManufacturingBatchAssignedManufacturer", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "assignedManufacturer.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "assignedManufacturer.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "assignedManufacturer.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "assignedManufacturer.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationManufacturingBatchAssignedManufacturer record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + string id?; + "assignedManufacturer" url = "assignedManufacturer"; +|}; + +@r4:DataTypeDefinition { + name: "MedicationManufacturingBatchBatchQuantity", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "batchQuantity.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "batchQuantity.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "batchQuantity.url" + }, + + "valueQuantity": { + name: "valueQuantity", + dataType: r4:Quantity, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "batchQuantity.value[x]" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationManufacturingBatchBatchQuantity record {| + *r4:QuantityExtension; + + string id?; + "batchQuantity" url = "batchQuantity"; + r4:Quantity valueQuantity; +|}; + +@r4:DataTypeDefinition { + name: "MedicationManufacturingBatchBatchUtilization", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "batchUtilization.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "batchUtilization.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "batchUtilization.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "batchUtilization.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationManufacturingBatchBatchUtilization record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "batchUtilization" url = "batchUtilization"; +|}; + +@r4:DataTypeDefinition { + name: "MedicationManufacturingBatchClosureSystemDescription", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "closureSystemDescription.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "closureSystemDescription.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "closureSystemDescription.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "closureSystemDescription.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationManufacturingBatchClosureSystemDescription record {| + *r4:StringExtension; + + string valueString; + string id?; + "closureSystemDescription" url = "closureSystemDescription"; +|}; + +@r4:DataTypeDefinition { + name: "MedicationManufacturingBatchClosureType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "closureType.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "closureType.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "closureType.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "closureType.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationManufacturingBatchClosureType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "closureType" url = "closureType"; +|}; + +@r4:DataTypeDefinition { + name: "MedicationManufacturingBatchContainer", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "container.value[x]" + }, + + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "container.value[x]" + }, + + "valueRatio": { + name: "valueRatio", + dataType: r4:Ratio, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "container.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "container.extension" + }, + + "quantity": { + name: "quantity", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "Amount or volume of the drug product in the container. Expressed as a ratio of the amount of drug per volume of container.", + path: "container.quantity" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "container.value[x]" + }, + + "closureSystemDescription": { + name: "closureSystemDescription", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "A description of the sum of container closure system (CCS) components that together contain and protect the dosage form or drug substance.", + path: "container.closureSystemDescription" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "container.id" + }, + + "lotNumber": { + name: "lotNumber", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "A combination of letters, numbers, or symbols, or any combination of them to uniquely identify the container's manufacturing lot.", + path: "container.lotNumber" + }, + + "'type": { + name: "'type", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "The kind of container that drug substances and finished dosage forms are contained in, which could include both the immediate (or primary) and secondary containers.", + path: "container.type" + }, + + "closureType": { + name: "closureType", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "The kind of closures used for the container in which the drug substances and finished dosage forms are stored.", + path: "container.closureType" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "container.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationManufacturingBatchContainer record {| + *r4:Base64BinaryExtension; + + r4:CodeableConcept valueCodeableConcept; + r4:Ratio valueRatio; + r4:Extension[] extension?; + r4:Extension[] quantity?; + string valueString; + r4:Extension[] closureSystemDescription?; + string id?; + r4:Extension[] lotNumber?; + r4:Extension[] 'type?; + r4:Extension[] closureType?; + "lotNumber" url = "lotNumber"; +|}; + +@r4:DataTypeDefinition { + name: "MedicationManufacturingBatchExpirationDateClassification", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "expirationDateClassification.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "expirationDateClassification.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "expirationDateClassification.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "expirationDateClassification.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationManufacturingBatchExpirationDateClassification record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "expirationDateClassification" url = "expirationDateClassification"; +|}; + +@r4:DataTypeDefinition { + name: "MedicationManufacturingBatchLotNumber", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "lotNumber.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "lotNumber.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "lotNumber.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "lotNumber.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationManufacturingBatchLotNumber record {| + *r4:StringExtension; + + string valueString; + string id?; + "lotNumber" url = "lotNumber"; +|}; + +@r4:DataTypeDefinition { + name: "MedicationManufacturingBatchManufacturingDate", + baseType: (), + elements: { + "manufacturingDateClassification": { + name: "manufacturingDateClassification", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "A code that provides a rationale for the selection of the manufacturing date.", + path: "manufacturingDate.manufacturingDateClassification" + }, + + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "manufacturingDate.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "manufacturingDate.extension" + }, + + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "manufacturingDate.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "manufacturingDate.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "manufacturingDate.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationManufacturingBatchManufacturingDate record {| + *r4:CodeableConceptExtension; + + r4:Extension[] manufacturingDateClassification?; + r4:CodeableConcept valueCodeableConcept; + r4:dateTime valueDateTime; + string id?; + "manufacturingDate" url = "manufacturingDate"; +|}; + +@r4:DataTypeDefinition { + name: "MedicationManufacturingBatchManufacturingDateClassification", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "manufacturingDateClassification.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "manufacturingDateClassification.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "manufacturingDateClassification.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "manufacturingDateClassification.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationManufacturingBatchManufacturingDateClassification record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "manufacturingDateClassification" url = "manufacturingDateClassification"; +|}; + +@r4:DataTypeDefinition { + name: "MedicationManufacturingBatchQuantity", + baseType: (), + elements: { + "valueRatio": { + name: "valueRatio", + dataType: r4:Ratio, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "quantity.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "quantity.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "quantity.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "quantity.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationManufacturingBatchQuantity record {| + *r4:RatioExtension; + + r4:Ratio valueRatio; + string id?; + "quantity" url = "quantity"; +|}; + +@r4:DataTypeDefinition { + name: "MedicationManufacturingBatchType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "type.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "type.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "type.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type MedicationManufacturingBatchType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "type" url = "type"; +|}; + +@r4:DataTypeDefinition { + name: "NoFixedAddressValueBoolean", + baseType: (), + elements: { + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type NoFixedAddressValueBoolean record {| + *r4:ExtensionExtension; + +|}; + +@r4:DataTypeDefinition { + name: "OauthUrisAuthorize", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "authorize.extension" + }, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "authorize.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "authorize.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "authorize.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OauthUrisAuthorize record {| + *r4:UriExtension; + + r4:uri valueUri; + string id?; + "authorize" url = "authorize"; +|}; + +@r4:DataTypeDefinition { + name: "OauthUrisManage", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "manage.extension" + }, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "manage.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "manage.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "manage.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OauthUrisManage record {| + *r4:UriExtension; + + r4:uri valueUri; + string id?; + "manage" url = "manage"; +|}; + +@r4:DataTypeDefinition { + name: "OauthUrisRegister", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "register.extension" + }, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "register.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "register.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "register.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OauthUrisRegister record {| + *r4:UriExtension; + + r4:uri valueUri; + string id?; + "register" url = "register"; +|}; + +@r4:DataTypeDefinition { + name: "OauthUrisToken", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "token.extension" + }, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "token.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "token.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "token.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OauthUrisToken record {| + *r4:UriExtension; + + r4:uri valueUri; + string id?; + "token" url = "token"; +|}; + +@r4:DataTypeDefinition { + name: "ObligationActor", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "actor.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "actor.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "actor.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "actor.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObligationActor record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + string id?; + "actor" url = "actor"; +|}; + +@r4:DataTypeDefinition { + name: "ObligationCode", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "code.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "code.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "code.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "code.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObligationCode record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "code" url = "code"; +|}; + +@r4:DataTypeDefinition { + name: "ObligationDocumentation", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "documentation.extension" + }, + + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "documentation.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "documentation.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "documentation.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObligationDocumentation record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + string id?; + "documentation" url = "documentation"; +|}; + +@r4:DataTypeDefinition { + name: "ObligationElementId", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "elementId.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "elementId.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "elementId.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "elementId.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObligationElementId record {| + *r4:StringExtension; + + string valueString; + string id?; + "elementId" url = "elementId"; +|}; + +@r4:DataTypeDefinition { + name: "ObligationFilter", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "filter.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "filter.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "filter.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "filter.url" + }, + + "filterDocumentation": { + name: "filterDocumentation", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "Documents the FHIRPath expression for the benefit of users who are not familiar with FHIRPath.", + path: "filter.filterDocumentation" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObligationFilter record {| + *r4:StringExtension; + + string valueString; + string id?; + "filter" url = "filter"; + r4:Extension[] filterDocumentation?; +|}; + +@r4:DataTypeDefinition { + name: "ObligationFilterDocumentation", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "filterDocumentation.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "filterDocumentation.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "filterDocumentation.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "filterDocumentation.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObligationFilterDocumentation record {| + *r4:StringExtension; + + string valueString; + string id?; + "filterDocumentation" url = "filterDocumentation"; +|}; + +@r4:DataTypeDefinition { + name: "ObligationName", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "name.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "name.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "name.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "name.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObligationName record {| + *r4:StringExtension; + + string valueString; + string id?; + "name" url = "name"; +|}; + +@r4:DataTypeDefinition { + name: "ObligationProcess", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "process.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "process.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "process.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "process.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObligationProcess record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + string id?; + "process" url = "process"; +|}; + +@r4:DataTypeDefinition { + name: "ObligationsProfileActor", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "actor.extension" + }, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "actor.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "actor.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "actor.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObligationsProfileActor record {| + *r4:UriExtension; + + r4:uri valueUri; + string id?; + "actor" url = "actor"; +|}; + +@r4:DataTypeDefinition { + name: "ObligationsProfileProfile", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "profile.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "profile.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "profile.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "profile.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObligationsProfileProfile record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + string id?; + "profile" url = "profile"; +|}; + +@r4:DataTypeDefinition { + name: "ObligationUsage", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "usage.extension" + }, + + "valueUsageContext": { + name: "valueUsageContext", + dataType: r4:UsageContext, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "usage.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "usage.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "usage.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObligationUsage record {| + *r4:UsageContextExtension; + + r4:UsageContext valueUsageContext; + string id?; + "usage" url = "usage"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsAlleleFrequency", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "Frequency.extension" + }, + + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Frequency.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Frequency.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Frequency.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsAlleleFrequency record {| + *r4:DecimalExtension; + + decimal valueDecimal; + string id?; + "Frequency" url = "Frequency"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsAlleleName", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Name.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "Name.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Name.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Name.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsAlleleName record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "Name" url = "Name"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsAlleleState", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "State.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "State.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "State.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "State.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsAlleleState record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "State" url = "State"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsAminoAcidChangeName", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Name.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "Name.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Name.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Name.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsAminoAcidChangeName record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "Name" url = "Name"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsAminoAcidChangeType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Type.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "Type.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Type.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsAminoAcidChangeType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "Type" url = "Type"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsAncestryName", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Name.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "Name.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Name.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Name.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsAncestryName record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "Name" url = "Name"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsAncestryPercentage", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "Percentage.extension" + }, + + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Percentage.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Percentage.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Percentage.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsAncestryPercentage record {| + *r4:DecimalExtension; + + decimal valueDecimal; + string id?; + "Percentage" url = "Percentage"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsAncestrySource", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Source.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "Source.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Source.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Source.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsAncestrySource record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "Source" url = "Source"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsPhaseSetId", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "Id.extension" + }, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Id.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Id.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Id.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsPhaseSetId record {| + *r4:UriExtension; + + r4:uri valueUri; + string id?; + "Id" url = "Id"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsPhaseSetMolecularSequence", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "MolecularSequence.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "MolecularSequence.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "MolecularSequence.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "MolecularSequence.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsPhaseSetMolecularSequence record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + string id?; + "MolecularSequence" url = "MolecularSequence"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsVariantId", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Id.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "Id.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Id.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Id.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsVariantId record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "Id" url = "Id"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsVariantName", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Name.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "Name.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Name.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Name.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsVariantName record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "Name" url = "Name"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationGeneticsVariantType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "Type.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "Type.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Type.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "Type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationGeneticsVariantType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "Type" url = "Type"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationVSubidGroup", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "group.extension" + }, + + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "group.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "group.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "group.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationVSubidGroup record {| + *r4:DecimalExtension; + + decimal valueDecimal; + string id?; + "group" url = "group"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationVSubidIdentifier", + baseType: (), + elements: { + "original-sub-identifier": { + name: "original_sub_identifier", + dataType: r4:Extension, + min: 0, + max: 1, + isArray: true, + description: "The Original Sub-Identifier component represents the original data type used in OBX4 to enable backwards compatibility to continue use of the original format to provide OBX segment grouping.", + path: "identifier.original-sub-identifier" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "identifier.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "identifier.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "identifier.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "identifier.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationVSubidIdentifier record {| + *r4:StringExtension; + + r4:Extension[] original_sub_identifier?; + string valueString; + string id?; + "original-sub-identifier" url = "original-sub-identifier"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationVSubidOriginalSubIdentifier", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "original-sub-identifier.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "original-sub-identifier.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "original-sub-identifier.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "original-sub-identifier.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationVSubidOriginalSubIdentifier record {| + *r4:StringExtension; + + string valueString; + string id?; + "original-sub-identifier" url = "original-sub-identifier"; +|}; + +@r4:DataTypeDefinition { + name: "ObservationVSubidSequence", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "sequence.extension" + }, + + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "sequence.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "sequence.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "sequence.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ObservationVSubidSequence record {| + *r4:DecimalExtension; + + decimal valueDecimal; + string id?; + "sequence" url = "sequence"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationBrandBrandBundle", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "brandBundle.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "brandBundle.id" + }, + + "valueUrl": { + name: "valueUrl", + dataType: r4:urlType, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "brandBundle.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "brandBundle.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationBrandBrandBundle record {| + *r4:UrlExtension; + + string id?; + r4:url valueUrl?; + "brandBundle" url = "brandBundle"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationBrandBrandLogo", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "brandLogo.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "brandLogo.extension" + }, + + "brandLogoLicense": { + name: "brandLogoLicense", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The license for the brand logo. This is a URL to the license details.", + path: "brandLogo.brandLogoLicense" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "brandLogo.id" + }, + + "brandLogoLicenseType": { + name: "brandLogoLicenseType", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The license type for the brand logo. Uses SPDX license identifier when available. See https://spdx.org/licenses/ for more information.", + path: "brandLogo.brandLogoLicenseType" + }, + + "valueUrl": { + name: "valueUrl", + dataType: r4:urlType, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "brandLogo.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "brandLogo.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationBrandBrandLogo record {| + *r4:UrlExtension; + + r4:Coding valueCoding?; + r4:Extension[] brandLogoLicense?; + string id?; + r4:Extension[] brandLogoLicenseType?; + r4:url valueUrl?; + "brandLogo" url = "brandLogo"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationBrandBrandLogoLicense", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "brandLogoLicense.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "brandLogoLicense.extension" + }, + + "brandLogoLicenseType": { + name: "brandLogoLicenseType", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The license type for the brand logo. Uses SPDX license identifier when available. See https://spdx.org/licenses/ for more information.", + path: "brandLogoLicense.brandLogoLicenseType" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "brandLogoLicense.id" + }, + + "valueUrl": { + name: "valueUrl", + dataType: r4:urlType, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "brandLogoLicense.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "brandLogoLicense.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationBrandBrandLogoLicense record {| + *r4:UrlExtension; + + r4:Coding valueCoding?; + r4:Extension[] brandLogoLicenseType?; + string id?; + r4:url valueUrl?; + "brandLogoLicenseType" url = "brandLogoLicenseType"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationBrandBrandLogoLicenseType", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "brandLogoLicenseType.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "brandLogoLicenseType.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "brandLogoLicenseType.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "brandLogoLicenseType.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationBrandBrandLogoLicenseType record {| + *r4:CodingExtension; + + r4:Coding valueCoding?; + string id?; + "brandLogoLicenseType" url = "brandLogoLicenseType"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationPortalPortalDescription", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "portalDescription.extension" + }, + + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "portalDescription.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "portalDescription.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "portalDescription.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationPortalPortalDescription record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown?; + string id?; + "portalDescription" url = "portalDescription"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationPortalPortalEndpoint", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "portalEndpoint.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "portalEndpoint.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "portalEndpoint.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "portalEndpoint.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationPortalPortalEndpoint record {| + *r4:ReferenceExtension; + + r4:Reference valueReference?; + string id?; + "portalEndpoint" url = "portalEndpoint"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationPortalPortalLogo", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "portalLogo.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "portalLogo.extension" + }, + + "portalLogoLicense": { + name: "portalLogoLicense", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The license for the portal logo. This is a URL to the license details.", + path: "portalLogo.portalLogoLicense" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "portalLogo.id" + }, + + "valueUrl": { + name: "valueUrl", + dataType: r4:urlType, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "portalLogo.value[x]" + }, + + "portalLogoLicenseType": { + name: "portalLogoLicenseType", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The license type for the portal logo. Uses SPDX license identifier when available. See https://spdx.org/licenses/ for more information.", + path: "portalLogo.portalLogoLicenseType" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "portalLogo.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationPortalPortalLogo record {| + *r4:UrlExtension; + + r4:Coding valueCoding?; + r4:Extension[] portalLogoLicense?; + string id?; + r4:url valueUrl?; + r4:Extension[] portalLogoLicenseType?; + "portalLogo" url = "portalLogo"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationPortalPortalLogoLicense", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "portalLogoLicense.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "portalLogoLicense.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "portalLogoLicense.id" + }, + + "portalLogoLicenseType": { + name: "portalLogoLicenseType", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The license type for the portal logo. Uses SPDX license identifier when available. See https://spdx.org/licenses/ for more information.", + path: "portalLogoLicense.portalLogoLicenseType" + }, + + "valueUrl": { + name: "valueUrl", + dataType: r4:urlType, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "portalLogoLicense.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "portalLogoLicense.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationPortalPortalLogoLicense record {| + *r4:UrlExtension; + + r4:Coding valueCoding?; + string id?; + r4:Extension[] portalLogoLicenseType?; + r4:url valueUrl?; + "portalLogoLicenseType" url = "portalLogoLicenseType"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationPortalPortalLogoLicenseType", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "portalLogoLicenseType.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "portalLogoLicenseType.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "portalLogoLicenseType.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "portalLogoLicenseType.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationPortalPortalLogoLicenseType record {| + *r4:CodingExtension; + + r4:Coding valueCoding?; + string id?; + "portalLogoLicenseType" url = "portalLogoLicenseType"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationPortalPortalName", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "portalName.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "portalName.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "portalName.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "portalName.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationPortalPortalName record {| + *r4:StringExtension; + + string valueString?; + string id?; + "portalName" url = "portalName"; +|}; + +@r4:DataTypeDefinition { + name: "OrganizationPortalPortalUrl", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "portalUrl.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "portalUrl.id" + }, + + "valueUrl": { + name: "valueUrl", + dataType: r4:urlType, + min: 0, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "portalUrl.value[x]" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "portalUrl.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type OrganizationPortalPortalUrl record {| + *r4:UrlExtension; + + string id?; + r4:url valueUrl?; + "portalUrl" url = "portalUrl"; +|}; + +@r4:DataTypeDefinition { + name: "PackageSourcePackageId", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "packageId.extension" + }, + + "valueId": { + name: "valueId", + dataType: r4:id, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "packageId.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "packageId.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "packageId.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PackageSourcePackageId record {| + *r4:IdExtension; + + r4:Extension[] extension?; + r4:id valueId; + string id?; + "packageId" url = "packageId"; +|}; + +@r4:DataTypeDefinition { + name: "PackageSourceUri", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "uri.extension" + }, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "uri.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "uri.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "uri.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PackageSourceUri record {| + *r4:UriExtension; + + r4:Extension[] extension?; + r4:uri valueUri; + string id?; + "uri" url = "uri"; +|}; + +@r4:DataTypeDefinition { + name: "PackageSourceVersion", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "version.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "version.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "version.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "version.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PackageSourceVersion record {| + *r4:StringExtension; + + r4:Extension[] extension?; + string valueString; + string id?; + "version" url = "version"; +|}; + +@r4:DataTypeDefinition { + name: "PatientAnimalBreed", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "breed.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "breed.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "breed.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "breed.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientAnimalBreed record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "breed" url = "breed"; +|}; + +@r4:DataTypeDefinition { + name: "PatientAnimalGenderStatus", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "genderStatus.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "genderStatus.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "genderStatus.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "genderStatus.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientAnimalGenderStatus record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "genderStatus" url = "genderStatus"; +|}; + +@r4:DataTypeDefinition { + name: "PatientAnimalSpecies", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "species.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "species.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "species.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "species.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientAnimalSpecies record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "species" url = "species"; +|}; + +@r4:DataTypeDefinition { + name: "PatientCitizenshipCode", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "code.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "code.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "code.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "code.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientCitizenshipCode record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "code" url = "code"; +|}; + +@r4:DataTypeDefinition { + name: "PatientCitizenshipPeriod", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "period.extension" + }, + + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "period.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "period.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "period.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientCitizenshipPeriod record {| + *r4:PeriodExtension; + + r4:Period valuePeriod; + string id?; + "period" url = "period"; +|}; + +@r4:DataTypeDefinition { + name: "PatientNationalityCode", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "code.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "code.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "code.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "code.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientNationalityCode record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "code" url = "code"; +|}; + +@r4:DataTypeDefinition { + name: "PatientNationalityPeriod", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "period.extension" + }, + + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "period.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "period.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "period.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientNationalityPeriod record {| + *r4:PeriodExtension; + + r4:Period valuePeriod; + string id?; + "period" url = "period"; +|}; + +@r4:DataTypeDefinition { + name: "PatientPreferredPharmacyPharmacy", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "pharmacy.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "pharmacy.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "pharmacy.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "pharmacy.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientPreferredPharmacyPharmacy record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + string id?; + "pharmacy" url = "pharmacy"; +|}; + +@r4:DataTypeDefinition { + name: "PatientPreferredPharmacyType", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "type.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "type.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "type.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientPreferredPharmacyType record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "type" url = "type"; +|}; + +@r4:DataTypeDefinition { + name: "PatientProficiencyLevel", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "level.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "level.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "level.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "level.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientProficiencyLevel record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + string id?; + "level" url = "level"; +|}; + +@r4:DataTypeDefinition { + name: "PatientProficiencyType", + baseType: (), + elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "type.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "type.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "type.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "type.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientProficiencyType record {| + *r4:CodingExtension; + + r4:Coding valueCoding; + string id?; + "type" url = "type"; +|}; + +@r4:DataTypeDefinition { + name: "PatientSexParameterForClinicalUseComment", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "comment.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "comment.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "comment.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "comment.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientSexParameterForClinicalUseComment record {| + *r4:StringExtension; + + string valueString; + string id?; + "comment" url = "comment"; +|}; + +@r4:DataTypeDefinition { + name: "PatientSexParameterForClinicalUsePeriod", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "period.extension" + }, + + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "period.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "period.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "period.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientSexParameterForClinicalUsePeriod record {| + *r4:PeriodExtension; + + r4:Period valuePeriod; + string id?; + "period" url = "period"; +|}; + +@r4:DataTypeDefinition { + name: "PatientSexParameterForClinicalUseSupportingInfo", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "supportingInfo.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "supportingInfo.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "supportingInfo.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "supportingInfo.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientSexParameterForClinicalUseSupportingInfo record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "supportingInfo" url = "supportingInfo"; +|}; + +@r4:DataTypeDefinition { + name: "PatientSexParameterForClinicalUseValue", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "value.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "value.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "value.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type PatientSexParameterForClinicalUseValue record {| + *r4:Base64BinaryExtension; + + r4:CodeableConcept valueCodeableConcept; + string valueString; + r4:Period valuePeriod; + string id?; + "value" url = "value"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireConstraintExpression", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "expression.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "expression.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "expression.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "expression.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireConstraintExpression record {| + *r4:StringExtension; + + string valueString; + string id?; + "expression" url = "expression"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireConstraintHuman", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "human.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "human.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "human.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "human.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireConstraintHuman record {| + *r4:StringExtension; + + string valueString; + string id?; + "human" url = "human"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireConstraintKey", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "key.extension" + }, + + "valueId": { + name: "valueId", + dataType: r4:id, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "key.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "key.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "key.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireConstraintKey record {| + *r4:IdExtension; + + r4:id valueId; + string id?; + "key" url = "key"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireConstraintLocation", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "location.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "location.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "location.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "location.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireConstraintLocation record {| + *r4:StringExtension; + + string valueString; + string id?; + "location" url = "location"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireConstraintRequirements", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "requirements.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "requirements.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "requirements.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "requirements.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireConstraintRequirements record {| + *r4:StringExtension; + + string valueString; + string id?; + "requirements" url = "requirements"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireConstraintSeverity", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "severity.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "severity.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "severity.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "severity.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireConstraintSeverity record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "severity" url = "severity"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireOptionRestrictionExpression", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "expression.extension" + }, + + "valueExpression": { + name: "valueExpression", + dataType: r4:Expression, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "expression.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "expression.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "expression.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireOptionRestrictionExpression record {| + *r4:ExpressionExtension; + + r4:Expression valueExpression; + string id?; + "requirements" url = "requirements"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireOptionRestrictionOption", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "option.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "option.id" + }, + + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "option.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "option.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireOptionRestrictionOption record {| + *r4:IntegerExtension; + + string id?; + r4:integer valueInteger; + "option" url = "option"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireresponseAttesterMode", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "mode.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "mode.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "mode.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "mode.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireresponseAttesterMode record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "mode" url = "mode"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireresponseAttesterParty", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "party.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "party.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "party.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "party.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireresponseAttesterParty record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + string id?; + "party" url = "party"; +|}; + +@r4:DataTypeDefinition { + name: "QuestionnaireresponseAttesterTime", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "time.extension" + }, + + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "time.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "time.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "time.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type QuestionnaireresponseAttesterTime record {| + *r4:DateTimeExtension; + + r4:dateTime valueDateTime; + string id?; + "time" url = "time"; +|}; + +@r4:DataTypeDefinition { + name: "RelativeDateOffset", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "offset.extension" + }, + + "valueDuration": { + name: "valueDuration", + dataType: r4:Duration, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "offset.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "offset.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "offset.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RelativeDateOffset record {| + *r4:DurationExtension; + + r4:Duration valueDuration; + string id?; + "offset" url = "offset"; +|}; + +@r4:DataTypeDefinition { + name: "RelativeDateRelationship", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "relationship.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "relationship.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "relationship.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "relationship.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RelativeDateRelationship record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "relationship" url = "relationship"; +|}; + +@r4:DataTypeDefinition { + name: "RelativeDateTargetCode", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "targetCode.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "targetCode.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "targetCode.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "targetCode.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RelativeDateTargetCode record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "targetCode" url = "targetCode"; +|}; + +@r4:DataTypeDefinition { + name: "RelativeDateTargetPath", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "targetPath.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "targetPath.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "targetPath.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "targetPath.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RelativeDateTargetPath record {| + *r4:StringExtension; + + string valueString; + string id?; + "targetPath" url = "targetPath"; +|}; + +@r4:DataTypeDefinition { + name: "RelativeDateTargetReference", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "targetReference.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "targetReference.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "targetReference.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "targetReference.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type RelativeDateTargetReference record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + string id?; + "targetReference" url = "targetReference"; +|}; + +@r4:DataTypeDefinition { + name: "ResearchStudySiteRecruitmentActualNumber", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "actualNumber.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "actualNumber.id" + }, + + "valueUnsignedInt": { + name: "valueUnsignedInt", + dataType: r4:unsignedInt, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "actualNumber.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "actualNumber.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResearchStudySiteRecruitmentActualNumber record {| + *r4:UnsignedIntExtension; + + string id?; + r4:unsignedInt valueUnsignedInt; + "actualNumber" url = "actualNumber"; +|}; + +@r4:DataTypeDefinition { + name: "ResearchStudySiteRecruitmentEligibility", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "eligibility.extension" + }, + + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "eligibility.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "eligibility.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "eligibility.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResearchStudySiteRecruitmentEligibility record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + string id?; + "eligibility" url = "eligibility"; +|}; + +@r4:DataTypeDefinition { + name: "ResearchStudySiteRecruitmentTargetNumber", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "targetNumber.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "targetNumber.id" + }, + + "valueUnsignedInt": { + name: "valueUnsignedInt", + dataType: r4:unsignedInt, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "targetNumber.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "targetNumber.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResearchStudySiteRecruitmentTargetNumber record {| + *r4:UnsignedIntExtension; + + string id?; + r4:unsignedInt valueUnsignedInt; + "targetNumber" url = "targetNumber"; +|}; + +@r4:DataTypeDefinition { + name: "ResearchStudyStudyRegistrationActivity", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "activity.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "activity.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "activity.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "activity.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResearchStudyStudyRegistrationActivity record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "activity" url = "activity"; +|}; + +@r4:DataTypeDefinition { + name: "ResearchStudyStudyRegistrationActual", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "actual.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "actual.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "actual.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "actual.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResearchStudyStudyRegistrationActual record {| + *r4:BooleanExtension; + + boolean valueBoolean; + string id?; + "actual" url = "actual"; +|}; + +@r4:DataTypeDefinition { + name: "ResearchStudyStudyRegistrationPeriod", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "period.extension" + }, + + "valuePeriod": { + name: "valuePeriod", + dataType: r4:Period, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "period.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "period.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "period.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ResearchStudyStudyRegistrationPeriod record {| + *r4:PeriodExtension; + + r4:Period valuePeriod; + string id?; + "period" url = "period"; +|}; + +@r4:DataTypeDefinition { + name: "SatisfiesRequirementKey", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "key.extension" + }, + + "valueId": { + name: "valueId", + dataType: r4:id, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "key.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "key.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "key.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type SatisfiesRequirementKey record {| + *r4:IdExtension; + + r4:id valueId; + string id?; + "key" url = "key"; +|}; + +@r4:DataTypeDefinition { + name: "SatisfiesRequirementReference", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "reference.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "reference.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "reference.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "reference.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type SatisfiesRequirementReference record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + string id?; + "reference" url = "reference"; +|}; + +@r4:DataTypeDefinition { + name: "ServicerequestGeneticsItemCode", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "code.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "code.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "code.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "code.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ServicerequestGeneticsItemCode record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept; + string id?; + "code" url = "code"; +|}; + +@r4:DataTypeDefinition { + name: "ServicerequestGeneticsItemGeneticsObservation", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "geneticsObservation.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "geneticsObservation.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "geneticsObservation.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "geneticsObservation.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ServicerequestGeneticsItemGeneticsObservation record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + string id?; + "geneticsObservation" url = "geneticsObservation"; +|}; + +@r4:DataTypeDefinition { + name: "ServicerequestGeneticsItemSpecimen", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "specimen.extension" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "specimen.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "specimen.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "specimen.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ServicerequestGeneticsItemSpecimen record {| + *r4:ReferenceExtension; + + r4:Reference valueReference; + string id?; + "specimen" url = "specimen"; +|}; + +@r4:DataTypeDefinition { + name: "ServicerequestGeneticsItemStatus", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "status.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "status.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "status.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "status.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ServicerequestGeneticsItemStatus record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "status" url = "status"; +|}; + +@r4:DataTypeDefinition { + name: "StatisticModelIncludeIfAttribute", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "Type of condition.", + path: "attribute.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "attribute.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "attribute.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "attribute.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StatisticModelIncludeIfAttribute record {| + *r4:CodeableConceptExtension; + + r4:CodeableConcept valueCodeableConcept?; + string id?; + "attribute" url = "attribute"; +|}; + +@r4:DataTypeDefinition { + name: "StatisticModelIncludeIfValue", + baseType: (), + elements: { + "valueCodeableConcept": { + name: "valueCodeableConcept", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "Type of condition.", + path: "value.value[x]" + }, + + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of condition.", + path: "value.value[x]" + }, + + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "value.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "value.id" + }, + + "url": { + name: "url", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "value.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StatisticModelIncludeIfValue record {| + *r4:Base64BinaryExtension; + + r4:CodeableConcept valueCodeableConcept?; + boolean valueBoolean; + string id?; + "value" url = "value"; +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionJsonTypeValueString", + baseType: (), + elements: { + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionJsonTypeValueString record {| + *r4:ExtensionExtension; + +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionRdfTypeValueString", + baseType: (), + elements: { + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionRdfTypeValueString record {| + *r4:ExtensionExtension; + +|}; + +@r4:DataTypeDefinition { + name: "StructuredefinitionXmlTypeValueString", + baseType: (), + elements: { + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type StructuredefinitionXmlTypeValueString record {| + *r4:ExtensionExtension; + +|}; + +@r4:DataTypeDefinition { + name: "TargetConstraintExpression", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "expression.extension" + }, + + "valueExpression": { + name: "valueExpression", + dataType: r4:Expression, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "expression.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "expression.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "expression.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TargetConstraintExpression record {| + *r4:ExpressionExtension; + + r4:Expression valueExpression; + string id?; + "expression" url = "expression"; +|}; + +@r4:DataTypeDefinition { + name: "TargetConstraintHuman", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "human.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "human.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "human.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "human.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TargetConstraintHuman record {| + *r4:StringExtension; + + string valueString; + string id?; + "human" url = "human"; +|}; + +@r4:DataTypeDefinition { + name: "TargetConstraintKey", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "key.extension" + }, + + "valueId": { + name: "valueId", + dataType: r4:id, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "key.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "key.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "key.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TargetConstraintKey record {| + *r4:IdExtension; + + r4:id valueId; + string id?; + "key" url = "key"; +|}; + +@r4:DataTypeDefinition { + name: "TargetConstraintLocation", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "location.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "location.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "location.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "location.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TargetConstraintLocation record {| + *r4:StringExtension; + + string valueString; + string id?; + "location" url = "location"; +|}; + +@r4:DataTypeDefinition { + name: "TargetConstraintRequirements", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "requirements.extension" + }, + + "valueMarkdown": { + name: "valueMarkdown", + dataType: r4:markdown, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "requirements.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "requirements.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "requirements.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TargetConstraintRequirements record {| + *r4:MarkdownExtension; + + r4:markdown valueMarkdown; + string id?; + "requirements" url = "requirements"; +|}; + +@r4:DataTypeDefinition { + name: "TargetConstraintSeverity", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "severity.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "severity.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "severity.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "severity.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TargetConstraintSeverity record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "severity" url = "severity"; +|}; + +@r4:DataTypeDefinition { + name: "TerminologyResourceIdentifierMetadataAuthoritative", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "authoritative.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "authoritative.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "authoritative.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "authoritative.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TerminologyResourceIdentifierMetadataAuthoritative record {| + *r4:BooleanExtension; + + boolean valueBoolean; + string id?; + "authoritative" url = "authoritative"; +|}; + +@r4:DataTypeDefinition { + name: "TerminologyResourceIdentifierMetadataComment", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "comment.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "comment.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "comment.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "comment.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TerminologyResourceIdentifierMetadataComment record {| + *r4:StringExtension; + + string valueString; + string id?; + "comment" url = "comment"; +|}; + +@r4:DataTypeDefinition { + name: "TerminologyResourceIdentifierMetadataPreferred", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "preferred.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "preferred.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "preferred.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "preferred.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TerminologyResourceIdentifierMetadataPreferred record {| + *r4:BooleanExtension; + + boolean valueBoolean; + string id?; + "preferred" url = "preferred"; +|}; + +@r4:DataTypeDefinition { + name: "TimingDaysOfCycleDay", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "day.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "day.id" + }, + + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "day.value[x]" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "day.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TimingDaysOfCycleDay record {| + *r4:IntegerExtension; + + string id?; + r4:integer valueInteger; + "day" url = "day"; +|}; + +@r4:DataTypeDefinition { + name: "TranslationContent", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "content.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "content.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "content.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "content.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TranslationContent record {| + *r4:StringExtension; + + string valueString; + string id?; + "content" url = "content"; +|}; + +@r4:DataTypeDefinition { + name: "TranslationLang", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "lang.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "lang.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "lang.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "lang.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type TranslationLang record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "lang" url = "lang"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetExpandGroupCode", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "code.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "code.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "code.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "code.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetExpandGroupCode record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "code" url = "code"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetExpandGroupDisplay", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "display.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "display.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "display.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "display.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetExpandGroupDisplay record {| + *r4:StringExtension; + + string valueString; + string id?; + "display" url = "display"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetExpandGroupMember", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "member.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "member.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "member.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "member.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetExpandGroupMember record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "member" url = "member"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetOtherNameName", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "name.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "name.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "name.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "name.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetOtherNameName record {| + *r4:StringExtension; + + string valueString; + string id?; + "name" url = "name"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetOtherNamePreferred", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "preferred.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "preferred.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "preferred.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "preferred.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetOtherNamePreferred record {| + *r4:BooleanExtension; + + boolean valueBoolean; + string id?; + "preferred" url = "preferred"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetOtherTitleLanguage", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "language.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "language.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "language.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "language.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetOtherTitleLanguage record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "language" url = "language"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetOtherTitlePreferred", + baseType: (), + elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "preferred.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "preferred.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "preferred.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "preferred.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetOtherTitlePreferred record {| + *r4:BooleanExtension; + + boolean valueBoolean; + string id?; + "preferred" url = "preferred"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetOtherTitleTitle", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "title.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "title.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "title.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "title.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetOtherTitleTitle record {| + *r4:StringExtension; + + string valueString; + string id?; + "title" url = "title"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetSelectByMapFilter", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "filter.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "filter.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "filter.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "filter.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetSelectByMapFilter record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "filter" url = "filter"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetSelectByMapMap", + baseType: (), + elements: { + "valueCanonical": { + name: "valueCanonical", + dataType: r4:canonical, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "map.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "map.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "map.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "map.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetSelectByMapMap record {| + *r4:CanonicalExtension; + + r4:canonical valueCanonical; + string id?; + "map" url = "map"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetUsageUse", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "use.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "use.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "use.id" + }, + + "user": { + name: "user", + dataType: r4:Extension, + min: 1, + max: 1, + isArray: true, + description: "This is most likely to be an organization but can be an individual. It would not be a program, that information should be recorded in the usage.use.", + path: "use.user" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "use.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetUsageUse record {| + *r4:StringExtension; + + string valueString; + string id?; + r4:Extension[] user; + "user" url = "user"; +|}; + +@r4:DataTypeDefinition { + name: "ValuesetUsageUser", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "user.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "user.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "user.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "user.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ValuesetUsageUser record {| + *r4:StringExtension; + + string valueString; + string id?; + "user" url = "user"; +|}; + +@r4:DataTypeDefinition { + name: "VersionSpecificUseEndFhirVersion", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "endFhirVersion.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "endFhirVersion.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "endFhirVersion.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "endFhirVersion.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type VersionSpecificUseEndFhirVersion record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "endFhirVersion" url = "endFhirVersion"; +|}; + +@r4:DataTypeDefinition { + name: "VersionSpecificUseStartFhirVersion", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "startFhirVersion.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "startFhirVersion.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "startFhirVersion.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "startFhirVersion.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type VersionSpecificUseStartFhirVersion record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "startFhirVersion" url = "startFhirVersion"; +|}; + +@r4:DataTypeDefinition { + name: "VersionSpecificValueEndFhirVersion", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "endFhirVersion.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "endFhirVersion.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "endFhirVersion.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "endFhirVersion.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type VersionSpecificValueEndFhirVersion record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "endFhirVersion" url = "endFhirVersion"; +|}; + +@r4:DataTypeDefinition { + name: "VersionSpecificValueStartFhirVersion", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "startFhirVersion.extension" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "startFhirVersion.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "startFhirVersion.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "startFhirVersion.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type VersionSpecificValueStartFhirVersion record {| + *r4:CodeExtension; + + r4:code valueCode; + string id?; + "startFhirVersion" url = "startFhirVersion"; +|}; + +@r4:DataTypeDefinition { + name: "VersionSpecificValueValue", + baseType: (), + elements: { + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, + max: 0, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: 0, + isArray: true, + description: "An Extension", + path: "value.extension" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "valueCode": { + name: "valueCode", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).", + path: "value.value[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "value.id" + }, + + "url": { + name: "url", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "Source of the definition for the extension code - a logical name or a URL.", + path: "value.url" + } + + }, + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type VersionSpecificValueValue record {| + *r4:Base64BinaryExtension; + + string valueString; + r4:code valueCode; + string id?; + "value" url = "value"; +|}; + diff --git a/international401/initializer.bal b/international401/initializer.bal index 061c4fcb..8b7901e8 100644 --- a/international401/initializer.bal +++ b/international401/initializer.bal @@ -130,7 +130,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic": { url: "http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic", resourceType: "FamilyMemberHistory", - modelType: Family_member_history_for_genetics_analysis + modelType: Familymemberhistoryforgeneticsanalysis }, "http://hl7.org/fhir/StructureDefinition/Subscription": { url: "http://hl7.org/fhir/StructureDefinition/Subscription", @@ -150,7 +150,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/shareablelibrary": { url: "http://hl7.org/fhir/StructureDefinition/shareablelibrary", resourceType: "Library", - modelType: Shareable_Library + modelType: ShareableLibrary }, "http://hl7.org/fhir/StructureDefinition/Parameters": { url: "http://hl7.org/fhir/StructureDefinition/Parameters", @@ -170,7 +170,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/actualgroup": { url: "http://hl7.org/fhir/StructureDefinition/actualgroup", resourceType: "Group", - modelType: Actual_Group + modelType: ActualGroup }, "http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation": { url: "http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation", @@ -200,7 +200,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/provenance-relevant-history": { url: "http://hl7.org/fhir/StructureDefinition/provenance-relevant-history", resourceType: "Provenance", - modelType: Provenance_Relevant_History + modelType: ProvenanceRelevantHistory }, "http://hl7.org/fhir/StructureDefinition/Practitioner": { url: "http://hl7.org/fhir/StructureDefinition/Practitioner", @@ -215,7 +215,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/groupdefinition": { url: "http://hl7.org/fhir/StructureDefinition/groupdefinition", resourceType: "Group", - modelType: Group_Definition + modelType: GroupDefinition }, "http://hl7.org/fhir/StructureDefinition/bp": { url: "http://hl7.org/fhir/StructureDefinition/bp", @@ -235,7 +235,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/shareableplandefinition": { url: "http://hl7.org/fhir/StructureDefinition/shareableplandefinition", resourceType: "PlanDefinition", - modelType: Shareable_PlanDefinition + modelType: ShareablePlanDefinition }, "http://hl7.org/fhir/StructureDefinition/Slot": { url: "http://hl7.org/fhir/StructureDefinition/Slot", @@ -260,7 +260,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition": { url: "http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition", resourceType: "PlanDefinition", - modelType: CDS_Hooks_Service_PlanDefinition + modelType: CDSHooksServicePlanDefinition }, "http://hl7.org/fhir/StructureDefinition/Group": { url: "http://hl7.org/fhir/StructureDefinition/Group", @@ -320,7 +320,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent": { url: "http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent", resourceType: "AuditEvent", - modelType: EHRS_FM_Record_Lifecycle_Event___Audit_Event + modelType: EHRSFMRecordLifecycleEvent_AuditEvent }, "http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition": { url: "http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition", @@ -355,7 +355,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition": { url: "http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition", resourceType: "ActivityDefinition", - modelType: Shareable_ActivityDefinition + modelType: ShareableActivityDefinition }, "http://hl7.org/fhir/StructureDefinition/SearchParameter": { url: "http://hl7.org/fhir/StructureDefinition/SearchParameter", @@ -365,7 +365,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/hlaresult": { url: "http://hl7.org/fhir/StructureDefinition/hlaresult", resourceType: "DiagnosticReport", - modelType: Profile_for_HLA_Genotyping_Results + modelType: ProfileforHLAGenotypingResults }, "http://hl7.org/fhir/StructureDefinition/Communication": { url: "http://hl7.org/fhir/StructureDefinition/Communication", @@ -385,7 +385,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/lipidprofile": { url: "http://hl7.org/fhir/StructureDefinition/lipidprofile", resourceType: "DiagnosticReport", - modelType: Example_Lipid_Profile + modelType: ExampleLipidProfile }, "http://hl7.org/fhir/StructureDefinition/Linkage": { url: "http://hl7.org/fhir/StructureDefinition/Linkage", @@ -395,7 +395,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance": { url: "http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance", resourceType: "Provenance", - modelType: EHRS_FM_Record_Lifecycle_Event___Provenance + modelType: EHRSFMRecordLifecycleEvent_Provenance }, "http://hl7.org/fhir/StructureDefinition/observation-genetics": { url: "http://hl7.org/fhir/StructureDefinition/observation-genetics", @@ -425,7 +425,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/synthesis": { url: "http://hl7.org/fhir/StructureDefinition/synthesis", resourceType: "Evidence", - modelType: Evidence_Synthesis_Profile + modelType: EvidenceSynthesisProfile }, "http://hl7.org/fhir/StructureDefinition/RequestGroup": { url: "http://hl7.org/fhir/StructureDefinition/RequestGroup", @@ -470,12 +470,12 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/picoelement": { url: "http://hl7.org/fhir/StructureDefinition/picoelement", resourceType: "EvidenceVariable", - modelType: PICO_Element_Profile + modelType: PICOElementProfile }, "http://hl7.org/fhir/StructureDefinition/computableplandefinition": { url: "http://hl7.org/fhir/StructureDefinition/computableplandefinition", resourceType: "PlanDefinition", - modelType: Computable_PlanDefinition + modelType: ComputablePlanDefinition }, "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit": { url: "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit", @@ -545,7 +545,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup": { url: "http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup", resourceType: "RequestGroup", - modelType: CDS_Hooks_RequestGroup + modelType: CDSHooksRequestGroup }, "http://hl7.org/fhir/StructureDefinition/OperationDefinition": { url: "http://hl7.org/fhir/StructureDefinition/OperationDefinition", @@ -580,7 +580,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/shareablemeasure": { url: "http://hl7.org/fhir/StructureDefinition/shareablemeasure", resourceType: "Measure", - modelType: Shareable_Measure + modelType: ShareableMeasure }, "http://hl7.org/fhir/StructureDefinition/VisionPrescription": { url: "http://hl7.org/fhir/StructureDefinition/VisionPrescription", @@ -615,7 +615,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/clinicaldocument": { url: "http://hl7.org/fhir/StructureDefinition/clinicaldocument", resourceType: "Composition", - modelType: Clinical_Document + modelType: ClinicalDocument }, "http://hl7.org/fhir/StructureDefinition/DeviceMetric": { url: "http://hl7.org/fhir/StructureDefinition/DeviceMetric", @@ -655,7 +655,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/devicemetricobservation": { url: "http://hl7.org/fhir/StructureDefinition/devicemetricobservation", resourceType: "Observation", - modelType: Device_Metric_Observation_Profile + modelType: DeviceMetricObservationProfile }, "http://hl7.org/fhir/StructureDefinition/StructureMap": { url: "http://hl7.org/fhir/StructureDefinition/StructureMap", @@ -670,7 +670,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/cqllibrary": { url: "http://hl7.org/fhir/StructureDefinition/cqllibrary", resourceType: "Library", - modelType: CQL_Library + modelType: CQLLibrary }, "http://hl7.org/fhir/StructureDefinition/GuidanceResponse": { url: "http://hl7.org/fhir/StructureDefinition/GuidanceResponse", @@ -780,7 +780,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/catalog": { url: "http://hl7.org/fhir/StructureDefinition/catalog", resourceType: "Composition", - modelType: Profile_for_Catalog + modelType: ProfileforCatalog }, "http://hl7.org/fhir/StructureDefinition/NutritionOrder": { url: "http://hl7.org/fhir/StructureDefinition/NutritionOrder", @@ -795,7 +795,7 @@ function init() returns r4:FHIRError? { "http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse": { url: "http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse", resourceType: "GuidanceResponse", - modelType: CDS_Hooks_GuidanceResponse + modelType: CDSHooksGuidanceResponse }, "http://hl7.org/fhir/StructureDefinition/Evidence": { url: "http://hl7.org/fhir/StructureDefinition/Evidence", diff --git a/international401/resource_account.bal b/international401/resource_account.bal index 79fc768f..06a8d12c 100644 --- a/international401/resource_account.bal +++ b/international401/resource_account.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_ACCOUNT = "http://hl7.org/fhir/StructureDefinition/Account"; public const RESOURCE_NAME_ACCOUNT = "Account"; +public type AccountExtensions (r4:Extension|WorkflowReleaseDate); + # FHIR Account resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_activity_definition.bal b/international401/resource_activity_definition.bal index cd614f1a..bfc81e52 100644 --- a/international401/resource_activity_definition.bal +++ b/international401/resource_activity_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_ACTIVITYDEFINITION = "http://hl7.org/fhir/StructureDefinition/ActivityDefinition"; public const RESOURCE_NAME_ACTIVITYDEFINITION = "ActivityDefinition"; +public type ActivityDefinitionExtensions (CqfTargetInvariant|r4:Extension|Replaces|TargetConstraint|Variable|WorkflowShallComplyWith); + # FHIR ActivityDefinition resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_actual_group.bal b/international401/resource_actual_group.bal index a887e11a..e74c44ed 100644 --- a/international401/resource_actual_group.bal +++ b/international401/resource_actual_group.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -19,10 +19,12 @@ import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_ACTUAL_GROUP = "http://hl7.org/fhir/StructureDefinition/actualgroup"; -public const RESOURCE_NAME_ACTUAL_GROUP = "Group"; +public const string PROFILE_BASE_ACTUALGROUP = "http://hl7.org/fhir/StructureDefinition/actualgroup"; +public const RESOURCE_NAME_ACTUALGROUP = "Group"; -# FHIR Actual_Group resource record. +public type ActualGroupExtensions (ArtifactEditor|ArtifactEndorser|ArtifactReviewer|CharacteristicExpression|CqfInputParameters|CqfTestArtifact|r4:Extension|ResourceApprovalDate|ResourceEffectivePeriod|ResourceLastReviewDate); + +# FHIR ActualGroup resource record. # # + resourceType - The type of the resource describes # + actual - If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals. @@ -115,7 +117,7 @@ public const RESOURCE_NAME_ACTUAL_GROUP = "Group"; }, "type" : { name: "type", - dataType: Actual_GroupType, + dataType: ActualGroupType, min: 1, max: 1, isArray: false, @@ -124,10 +126,10 @@ public const RESOURCE_NAME_ACTUAL_GROUP = "Group"; }, "characteristic" : { name: "characteristic", - dataType: Actual_GroupCharacteristic, + dataType: ActualGroupCharacteristic, min: 0, max: 0, - isArray: false, + isArray: true, path: "Group.characteristic" }, "managingEntity" : { @@ -156,7 +158,7 @@ public const RESOURCE_NAME_ACTUAL_GROUP = "Group"; }, "member" : { name: "member", - dataType: Actual_GroupMember, + dataType: ActualGroupMember, min: 0, max: int:MAX_VALUE, isArray: true, @@ -200,10 +202,11 @@ public const RESOURCE_NAME_ACTUAL_GROUP = "Group"; 'json: r4:fhirResourceJsonSerializer } } -public type Actual_Group record {| + +public type ActualGroup record {| *r4:DomainResource; - RESOURCE_NAME_ACTUAL_GROUP resourceType = RESOURCE_NAME_ACTUAL_GROUP; + RESOURCE_NAME_ACTUALGROUP resourceType = RESOURCE_NAME_ACTUALGROUP; boolean actual; r4:Identifier[] identifier?; @@ -213,12 +216,12 @@ public type Actual_Group record {| r4:Extension[] modifierExtension?; boolean active?; r4:code language?; - Actual_GroupType 'type; - Actual_GroupCharacteristic characteristic?; + ActualGroupType 'type; + ActualGroupCharacteristic[] characteristic?; r4:Reference managingEntity?; r4:Resource[] contained?; r4:Meta meta?; - Actual_GroupMember[] member?; + ActualGroupMember[] member?; string name?; r4:uri implicitRules?; string id?; @@ -226,8 +229,8 @@ public type Actual_Group record {| r4:Element ...; |}; -# Actual_GroupType enum -public enum Actual_GroupType { +# ActualGroupType enum +public enum ActualGroupType { CODE_TYPE_PRACTITIONER = "practitioner", CODE_TYPE_PERSON = "person", CODE_TYPE_SUBSTANCE = "substance", @@ -236,7 +239,98 @@ public enum Actual_GroupType { CODE_TYPE_DEVICE = "device" } -# FHIR Actual_GroupCharacteristic datatype record. +# FHIR ActualGroupMember datatype record. +# +# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + period - The period that the member was in the group, if known. +# + inactive - A flag to indicate that the member is no longer in the group, but previously may have been a member. +# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + entity - A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same. + +@r4:DataTypeDefinition { + name: "ActualGroupMember", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Group.member.extension" + }, + + "period": { + name: "period", + dataType: r4:Period, + min: 0, + max: 1, + isArray: false, + description: "The period that the member was in the group, if known.", + path: "Group.member.period" + }, + + "inactive": { + name: "inactive", + dataType: boolean, + min: 0, + max: 1, + isArray: false, + description: "A flag to indicate that the member is no longer in the group, but previously may have been a member.", + path: "Group.member.inactive" + }, + + "modifierExtension": { + name: "modifierExtension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + path: "Group.member.modifierExtension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Group.member.id" + }, + + "entity": { + name: "entity", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same.", + path: "Group.member.entity" + } + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ActualGroupMember record {| + *r4:BackboneElement; + + r4:Extension[] extension?; + r4:Period period?; + boolean inactive?; + r4:Extension[] modifierExtension?; + string id?; + r4:Reference entity; +|}; + +# FHIR ActualGroupCharacteristic datatype record. # # + valueCodeableConcept - The value of the trait that holds (or does not hold - see 'exclude') for members of the group. # + valueBoolean - The value of the trait that holds (or does not hold - see 'exclude') for members of the group. @@ -250,7 +344,7 @@ public enum Actual_GroupType { # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + valueQuantity - The value of the trait that holds (or does not hold - see 'exclude') for members of the group. @r4:DataTypeDefinition { - name: "Actual_GroupCharacteristic", + name: "ActualGroupCharacteristic", baseType: (), elements: { "valueCodeableConcept": { @@ -358,102 +452,20 @@ public enum Actual_GroupType { 'json: r4:complexDataTypeJsonSerializer } } -public type Actual_GroupCharacteristic record {| + +public type ActualGroupCharacteristic record {| *r4:BackboneElement; - r4:CodeableConcept valueCodeableConcept; - boolean valueBoolean; + r4:CodeableConcept valueCodeableConcept?; + boolean valueBoolean?; r4:Extension[] extension?; r4:Period period?; r4:CodeableConcept code; - r4:Reference valueReference; - r4:Range valueRange; + r4:Reference valueReference?; + r4:Range valueRange?; r4:Extension[] modifierExtension?; boolean exclude; string id?; - r4:Quantity valueQuantity; -|}; - -# FHIR Actual_GroupMember datatype record. -# -# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + period - The period that the member was in the group, if known. -# + inactive - A flag to indicate that the member is no longer in the group, but previously may have been a member. -# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + entity - A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same. -@r4:DataTypeDefinition { - name: "Actual_GroupMember", - baseType: (), - elements: { - "extension": { - name: "extension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Group.member.extension" - }, - "period": { - name: "period", - dataType: r4:Period, - min: 0, - max: 1, - isArray: false, - description: "The period that the member was in the group, if known.", - path: "Group.member.period" - }, - "inactive": { - name: "inactive", - dataType: boolean, - min: 0, - max: 1, - isArray: false, - description: "A flag to indicate that the member is no longer in the group, but previously may have been a member.", - path: "Group.member.inactive" - }, - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Group.member.modifierExtension" - }, - "id": { - name: "id", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Group.member.id" - }, - "entity": { - name: "entity", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same.", - path: "Group.member.entity" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Actual_GroupMember record {| - *r4:BackboneElement; - - r4:Extension[] extension?; - r4:Period period?; - boolean inactive?; - r4:Extension[] modifierExtension?; - string id?; - r4:Reference entity; + r4:Quantity valueQuantity?; |}; diff --git a/international401/resource_adverse_event.bal b/international401/resource_adverse_event.bal index 13102d28..f26fc863 100644 --- a/international401/resource_adverse_event.bal +++ b/international401/resource_adverse_event.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_ADVERSEEVENT = "http://hl7.org/fhir/StructureDefinition/AdverseEvent"; public const RESOURCE_NAME_ADVERSEEVENT = "AdverseEvent"; +public type AdverseEventExtensions (r4:Extension|WorkflowEpisodeOfCare); + # FHIR AdverseEvent resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_allergy_intolerance.bal b/international401/resource_allergy_intolerance.bal index bec1b377..e7531664 100644 --- a/international401/resource_allergy_intolerance.bal +++ b/international401/resource_allergy_intolerance.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_ALLERGYINTOLERANCE = "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"; public const RESOURCE_NAME_ALLERGYINTOLERANCE = "AllergyIntolerance"; +public type AllergyIntoleranceExtensions (AllergyintoleranceAbatement|AllergyintoleranceAssertedDate|AllergyintoleranceReasonRefuted|AllergyintoleranceResolutionAge|AllergyintoleranceSubstanceExposureRisk|ConditionAssertedDate|r4:Extension|OpenEHRTest); + # FHIR AllergyIntolerance resource record. # # + resourceType - The type of the resource describes @@ -458,7 +460,14 @@ public type AllergyIntoleranceReaction record {| r4:Annotation[] note?; r4:Extension[] extension?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.AllergyIntolerance.reaction.manifestation constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.AllergyIntolerance.reaction.manifestation constraint. This field must be an array containing at most one item." + } } r4:CodeableConcept[] manifestation; r4:Extension[] modifierExtension?; diff --git a/international401/resource_appointment.bal b/international401/resource_appointment.bal index 4bfeecc6..3ef4bc30 100644 --- a/international401/resource_appointment.bal +++ b/international401/resource_appointment.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_APPOINTMENT = "http://hl7.org/fhir/StructureDefinition/Appointment"; public const RESOURCE_NAME_APPOINTMENT = "Appointment"; +public type AppointmentExtensions (r4:Extension|WorkflowEpisodeOfCare|WorkflowReleaseDate|WorkflowShallComplyWith); + # FHIR Appointment resource record. # # + resourceType - The type of the resource describes @@ -331,7 +333,10 @@ public type Appointment record {| r4:positiveInt minutesDuration?; r4:Reference[] slot?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Appointment.participant constraint. This field must be an array containing at least one item." + } } AppointmentParticipant[] participant; r4:CodeableConcept[] serviceCategory?; diff --git a/international401/resource_audit_event.bal b/international401/resource_audit_event.bal index f22d8c5f..2e2ad1ae 100644 --- a/international401/resource_audit_event.bal +++ b/international401/resource_audit_event.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -220,7 +220,10 @@ public type AuditEvent record {| RESOURCE_NAME_AUDITEVENT resourceType = RESOURCE_NAME_AUDITEVENT; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.AuditEvent.agent constraint. This field must be an array containing at least one item." + } } AuditEventAgent[] agent; r4:Extension[] extension?; @@ -566,9 +569,9 @@ public type AuditEventEntity record {| # FHIR AuditEventEntityDetail datatype record. # -# + valueAuditEventBase64Binary - The value of the extra detail. +# + valueBase64Binary - The value of the extra detail. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + valueAuditEventString - The value of the extra detail. +# + valueString - The value of the extra detail. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + 'type - The type of extra detail provided in the value. @@ -576,8 +579,8 @@ public type AuditEventEntity record {| name: "AuditEventEntityDetail", baseType: (), elements: { - "valueAuditEventBase64Binary": { - name: "valueAuditEventBase64Binary", + "valueBase64Binary": { + name: "valueBase64Binary", dataType: r4:base64Binary, min: 0, max: 1, @@ -594,8 +597,9 @@ public type AuditEventEntity record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "AuditEvent.entity.detail.extension" }, - "valueAuditEventString": { - name: "valueAuditEventString", + + "valueString": { + name: "valueString", dataType: string, min: 0, max: 1, @@ -639,9 +643,9 @@ public type AuditEventEntity record {| public type AuditEventEntityDetail record {| *r4:BackboneElement; - r4:base64Binary valueAuditEventBase64Binary; + r4:base64Binary valueBase64Binary?; r4:Extension[] extension?; - string valueAuditEventString; + string valueString?; r4:Extension[] modifierExtension?; string id?; string 'type; diff --git a/international401/resource_basic.bal b/international401/resource_basic.bal index a9142180..af3b9a75 100644 --- a/international401/resource_basic.bal +++ b/international401/resource_basic.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_BASIC = "http://hl7.org/fhir/StructureDefinition/Basic"; public const RESOURCE_NAME_BASIC = "Basic"; +public type BasicExtensions (ArtifactassessmentContent|CqfEncounterClass|CqfEncounterType|CqfInitiatingOrganization|CqfInitiatingPerson|CqfReceivingOrganization|CqfReceivingPerson|CqfRecipientLanguage|CqfRecipientType|CqfSystemUserLanguage|CqfSystemUserTaskContext|CqfSystemUserType|r4:Extension|WorkflowEpisodeOfCare); + # FHIR Basic resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_biologically_derived_product.bal b/international401/resource_biologically_derived_product.bal index 1608a5b1..6d056139 100644 --- a/international401/resource_biologically_derived_product.bal +++ b/international401/resource_biologically_derived_product.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_BIOLOGICALLYDERIVEDPRODUCT = "http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct"; public const RESOURCE_NAME_BIOLOGICALLYDERIVEDPRODUCT = "BiologicallyDerivedProduct"; +public type BiologicallyDerivedProductExtensions (BiologicallyderivedproductManipulation|BiologicallyderivedproductProcessing|r4:Extension); + # FHIR BiologicallyDerivedProduct resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_capability_statement.bal b/international401/resource_capability_statement.bal index 1a05d738..ecea4623 100644 --- a/international401/resource_capability_statement.bal +++ b/international401/resource_capability_statement.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_CAPABILITYSTATEMENT = "http://hl7.org/fhir/StructureDefinition/CapabilityStatement"; public const RESOURCE_NAME_CAPABILITYSTATEMENT = "CapabilityStatement"; +public type CapabilityStatementExtensions (CapabilitystatementSupportedSystem|r4:Extension|Replaces|ResourceApprovalDate|ResourceEffectivePeriod|ResourceLastReviewDate); + # FHIR CapabilityStatement resource record. # # + resourceType - The type of the resource describes @@ -378,7 +380,10 @@ public type CapabilityStatement record {| CapabilityStatementKind kind; CapabilityStatementImplementation implementation?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.CapabilityStatement.format constraint. This field must be an array containing at least one item." + } } CapabilityStatementFormat[] format; string 'version?; @@ -743,11 +748,14 @@ public type CapabilityStatementSoftware record {| # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + security - Information about security implementation from an interface perspective - what a client needs to know. # + 'resource - A specification of the restful capabilities of the solution for a specific resource type. +# + searchParam - Search parameters that are supported for searching all resources for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation. # + documentation - Information about the system's restful capabilities that apply across all applications, such as security. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + compartment - An absolute URI which is a reference to the definition of a compartment that the system supports. The reference is to a CompartmentDefinition resource by its canonical URL . # + interaction - A specification of restful operations supported by the system. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + operation - Definition of an operation or a named query together with its parameters and their meaning and type. + @r4:DataTypeDefinition { name: "CapabilityStatementRest", baseType: (), @@ -788,6 +796,17 @@ public type CapabilityStatementSoftware record {| description: "A specification of the restful capabilities of the solution for a specific resource type.", path: "CapabilityStatement.rest.resource" }, + + "searchParam": { + name: "searchParam", + dataType: CapabilityStatementRestResourceSearchParam, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Search parameters that are supported for searching all resources for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation.", + path: "CapabilityStatement.rest.searchParam" + }, + "documentation": { name: "documentation", dataType: r4:markdown, @@ -832,6 +851,16 @@ public type CapabilityStatementSoftware record {| isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "CapabilityStatement.rest.id" + }, + + "operation": { + name: "operation", + dataType: CapabilityStatementRestResourceOperation, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Definition of an operation or a named query together with its parameters and their meaning and type.", + path: "CapabilityStatement.rest.operation" } }, serializers: { @@ -846,11 +875,13 @@ public type CapabilityStatementRest record {| r4:Extension[] extension?; CapabilityStatementRestSecurity security?; CapabilityStatementRestResource[] 'resource?; + CapabilityStatementRestResourceSearchParam[] searchParam?; r4:markdown documentation?; r4:Extension[] modifierExtension?; r4:canonical[] compartment?; CapabilityStatementRestInteraction[] interaction?; string id?; + CapabilityStatementRestResourceOperation[] operation?; |}; # FHIR CapabilityStatementDocument datatype record. diff --git a/international401/resource_care_plan.bal b/international401/resource_care_plan.bal index e5af46b0..3d375e2d 100644 --- a/international401/resource_care_plan.bal +++ b/international401/resource_care_plan.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_CAREPLAN = "http://hl7.org/fhir/StructureDefinition/CarePlan"; public const RESOURCE_NAME_CAREPLAN = "CarePlan"; +public type CarePlanExtensions (r4:Extension|RequestRelevantHistory|WorkflowAdheresTo|WorkflowCompliesWith|WorkflowEpisodeOfCare|WorkflowGeneratedFrom|WorkflowReleaseDate|WorkflowShallComplyWith|WorkflowTriggeredBy); + # FHIR CarePlan resource record. # # + resourceType - The type of the resource describes @@ -368,20 +370,20 @@ public type CarePlan record {| # + kind - A description of the kind of resource the in-line definition of a care plan activity is representing. The CarePlan.activity.detail is an in-line definition when a resource is not referenced using CarePlan.activity.reference. For example, a MedicationRequest, a ServiceRequest, or a CommunicationRequest. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + description - This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc. -# + productCarePlanCodeableConcept - Identifies the food, drug or other product to be consumed or supplied in the activity. +# + productReference - Identifies the food, drug or other product to be consumed or supplied in the activity. # + reasonReference - Indicates another resource, such as the health condition(s), whose existence justifies this request and drove the inclusion of this particular activity as part of the plan. -# + scheduledCarePlanPeriod - The period, timing or frequency upon which the described activity is to occur. # + instantiatesCanonical - The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity. -# + scheduledCarePlanString - The period, timing or frequency upon which the described activity is to occur. # + instantiatesUri - The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity. -# + productCarePlanReference - Identifies the food, drug or other product to be consumed or supplied in the activity. +# + scheduledString - The period, timing or frequency upon which the described activity is to occur. # + statusReason - Provides reason why the activity isn't yet started, is on hold, was cancelled, etc. +# + scheduledTiming - The period, timing or frequency upon which the described activity is to occur. +# + scheduledPeriod - The period, timing or frequency upon which the described activity is to occur. # + dailyAmount - Identifies the quantity expected to be consumed in a given day. # + location - Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + reasonCode - Provides the rationale that drove the inclusion of this particular activity as part of the plan or the reason why the activity was prohibited. # + doNotPerform - If true, indicates that the described activity is one that must NOT be engaged in when following the plan. If false, or missing, indicates that the described activity is one that should be engaged in when following the plan. -# + scheduledCarePlanTiming - The period, timing or frequency upon which the described activity is to occur. +# + productCodeableConcept - Identifies the food, drug or other product to be consumed or supplied in the activity. # + status - Identifies what progress is being made for the specific activity. @r4:DataTypeDefinition { name: "CarePlanActivityDetail", @@ -459,9 +461,10 @@ public type CarePlan record {| description: "This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.", path: "CarePlan.activity.detail.description" }, - "productCarePlanCodeableConcept": { - name: "productCarePlanCodeableConcept", - dataType: r4:CodeableConcept, + + "productReference": { + name: "productReference", + dataType: r4:Reference, min: 0, max: 1, isArray: false, @@ -477,15 +480,7 @@ public type CarePlan record {| description: "Indicates another resource, such as the health condition(s), whose existence justifies this request and drove the inclusion of this particular activity as part of the plan.", path: "CarePlan.activity.detail.reasonReference" }, - "scheduledCarePlanPeriod": { - name: "scheduledCarePlanPeriod", - dataType: r4:Period, - min: 0, - max: 1, - isArray: false, - description: "The period, timing or frequency upon which the described activity is to occur.", - path: "CarePlan.activity.detail.scheduled[x]" - }, + "instantiatesCanonical": { name: "instantiatesCanonical", dataType: r4:canonical, @@ -495,15 +490,7 @@ public type CarePlan record {| description: "The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.", path: "CarePlan.activity.detail.instantiatesCanonical" }, - "scheduledCarePlanString": { - name: "scheduledCarePlanString", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "The period, timing or frequency upon which the described activity is to occur.", - path: "CarePlan.activity.detail.scheduled[x]" - }, + "instantiatesUri": { name: "instantiatesUri", dataType: r4:uri, @@ -513,14 +500,15 @@ public type CarePlan record {| description: "The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.", path: "CarePlan.activity.detail.instantiatesUri" }, - "productCarePlanReference": { - name: "productCarePlanReference", - dataType: r4:Reference, + + "scheduledString": { + name: "scheduledString", + dataType: string, min: 0, max: 1, isArray: false, - description: "Identifies the food, drug or other product to be consumed or supplied in the activity.", - path: "CarePlan.activity.detail.product[x]" + description: "The period, timing or frequency upon which the described activity is to occur.", + path: "CarePlan.activity.detail.scheduled[x]" }, "statusReason": { name: "statusReason", @@ -531,6 +519,27 @@ public type CarePlan record {| description: "Provides reason why the activity isn't yet started, is on hold, was cancelled, etc.", path: "CarePlan.activity.detail.statusReason" }, + + "scheduledTiming": { + name: "scheduledTiming", + dataType: r4:Timing, + min: 0, + max: 1, + isArray: false, + description: "The period, timing or frequency upon which the described activity is to occur.", + path: "CarePlan.activity.detail.scheduled[x]" + }, + + "scheduledPeriod": { + name: "scheduledPeriod", + dataType: r4:Period, + min: 0, + max: 1, + isArray: false, + description: "The period, timing or frequency upon which the described activity is to occur.", + path: "CarePlan.activity.detail.scheduled[x]" + }, + "dailyAmount": { name: "dailyAmount", dataType: r4:Quantity, @@ -576,14 +585,15 @@ public type CarePlan record {| description: "If true, indicates that the described activity is one that must NOT be engaged in when following the plan. If false, or missing, indicates that the described activity is one that should be engaged in when following the plan.", path: "CarePlan.activity.detail.doNotPerform" }, - "scheduledCarePlanTiming": { - name: "scheduledCarePlanTiming", - dataType: r4:Timing, + + "productCodeableConcept": { + name: "productCodeableConcept", + dataType: r4:CodeableConcept, min: 0, max: 1, isArray: false, - description: "The period, timing or frequency upon which the described activity is to occur.", - path: "CarePlan.activity.detail.scheduled[x]" + description: "Identifies the food, drug or other product to be consumed or supplied in the activity.", + path: "CarePlan.activity.detail.product[x]" }, "status": { name: "status", @@ -611,20 +621,20 @@ public type CarePlanActivityDetail record {| CarePlanActivityDetailKind kind?; r4:Extension[] modifierExtension?; string description?; - r4:CodeableConcept productCarePlanCodeableConcept?; + r4:Reference productReference?; r4:Reference[] reasonReference?; - r4:Period scheduledCarePlanPeriod?; r4:canonical[] instantiatesCanonical?; - string scheduledCarePlanString?; r4:uri[] instantiatesUri?; - r4:Reference productCarePlanReference?; + string scheduledString?; r4:CodeableConcept statusReason?; + r4:Timing scheduledTiming?; + r4:Period scheduledPeriod?; r4:Quantity dailyAmount?; r4:Reference location?; string id?; r4:CodeableConcept[] reasonCode?; boolean doNotPerform?; - r4:Timing scheduledCarePlanTiming?; + r4:CodeableConcept productCodeableConcept?; CarePlanActivityDetailStatus status; |}; diff --git a/international401/resource_care_team.bal b/international401/resource_care_team.bal index 775929cc..035d42ea 100644 --- a/international401/resource_care_team.bal +++ b/international401/resource_care_team.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_CARETEAM = "http://hl7.org/fhir/StructureDefinition/CareTeam"; public const RESOURCE_NAME_CARETEAM = "CareTeam"; +public type CareTeamExtensions (CareteamAlias|r4:Extension); + # FHIR CareTeam resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_cds_hooks_guidance_response.bal b/international401/resource_cdshooks_guidance_response.bal similarity index 84% rename from international401/resource_cds_hooks_guidance_response.bal rename to international401/resource_cdshooks_guidance_response.bal index e6617875..fe4dc9f4 100644 --- a/international401/resource_cds_hooks_guidance_response.bal +++ b/international401/resource_cdshooks_guidance_response.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -13,26 +13,24 @@ // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. - +// // AUTO-GENERATED FILE. // This file is auto-generated by Ballerina. +import ballerina/constraint; import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_CDS_HOOKS_GUIDANCERESPONSE = "http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse"; -public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; +public const string PROFILE_BASE_CDSHOOKSGUIDANCERESPONSE = "http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse"; +public const RESOURCE_NAME_CDSHOOKSGUIDANCERESPONSE = "GuidanceResponse"; + +public type CDSHooksGuidanceResponseExtensions (CqfInputParameters|r4:Extension); -# FHIR CDS_Hooks_GuidanceResponse resource record. +# FHIR CDSHooksGuidanceResponse resource record. # # + resourceType - The type of the resource describes # + identifier - Allows a service to provide unique, business identifiers for the response. # + note - Provides a mechanism to communicate additional information about the response. # + extension - An Extension -# * extension Slicings -# 1) Extension: Service endpoint -# - min = 1 -# - max = 1 -# # + performer - Provides a reference to the device that performed the guidance. # + subject - The patient for which the request was processed. # + modifierExtension - 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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). @@ -53,20 +51,22 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; # + moduleUri - An identifier, CodeableConcept or canonical reference to the guidance that was requested. # + outputParameters - The output parameters of the evaluation, if any. Many modules will result in the return of specific resources such as procedure or communication requests that are returned as part of the operation result. However, modules may define specific outputs that would be returned as the result of the evaluation, and these would be returned in this element. # + status - The status of the response. If the evaluation is completed successfully, the status will indicate success. However, in order to complete the evaluation, the engine may require more information. In this case, the status will be data-required, and the response will contain a description of the additional required information. If the evaluation completed successfully, but the engine determines that a potentially more accurate response could be provided if more data was available, the status will be data-requested, and the response will contain a description of the additional requested information. + @r4:ResourceDefinition { resourceType: "GuidanceResponse", baseType: r4:DomainResource, profile: "http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse", elements: { - "identifier" : { + "identifier": { name: "identifier", dataType: r4:Identifier, min: 1, max: 1, - isArray: false, + isArray: true, path: "GuidanceResponse.identifier" }, - "note" : { + + "note": { name: "note", dataType: r4:Annotation, min: 0, @@ -74,7 +74,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: true, path: "GuidanceResponse.note" }, - "extension" : { + + "extension": { name: "extension", dataType: r4:Extension, min: 0, @@ -82,7 +83,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: true, path: "GuidanceResponse.extension" }, - "performer" : { + + "performer": { name: "performer", dataType: r4:Reference, min: 0, @@ -90,7 +92,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: false, path: "GuidanceResponse.performer" }, - "subject" : { + + "subject": { name: "subject", dataType: r4:Reference, min: 0, @@ -98,7 +101,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: false, path: "GuidanceResponse.subject" }, - "modifierExtension" : { + + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, min: 0, @@ -106,7 +110,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: true, path: "GuidanceResponse.modifierExtension" }, - "reasonReference" : { + + "reasonReference": { name: "reasonReference", dataType: r4:Reference, min: 0, @@ -114,7 +119,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: true, path: "GuidanceResponse.reasonReference" }, - "language" : { + + "language": { name: "language", dataType: r4:code, min: 0, @@ -123,7 +129,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; path: "GuidanceResponse.language", valueSet: "http://hl7.org/fhir/ValueSet/languages" }, - "encounter" : { + + "encounter": { name: "encounter", dataType: r4:Reference, min: 0, @@ -131,7 +138,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: false, path: "GuidanceResponse.encounter" }, - "result" : { + + "result": { name: "result", dataType: r4:Reference, min: 0, @@ -139,7 +147,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: false, path: "GuidanceResponse.result" }, - "contained" : { + + "contained": { name: "contained", dataType: r4:Resource, min: 0, @@ -147,7 +156,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: true, path: "GuidanceResponse.contained" }, - "evaluationMessage" : { + + "evaluationMessage": { name: "evaluationMessage", dataType: r4:Reference, min: 0, @@ -155,7 +165,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: true, path: "GuidanceResponse.evaluationMessage" }, - "meta" : { + + "meta": { name: "meta", dataType: r4:Meta, min: 0, @@ -163,7 +174,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: false, path: "GuidanceResponse.meta" }, - "dataRequirement" : { + + "dataRequirement": { name: "dataRequirement", dataType: r4:DataRequirement, min: 0, @@ -171,7 +183,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: true, path: "GuidanceResponse.dataRequirement" }, - "implicitRules" : { + + "implicitRules": { name: "implicitRules", dataType: r4:uri, min: 0, @@ -179,7 +192,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: false, path: "GuidanceResponse.implicitRules" }, - "occurrenceDateTime" : { + + "occurrenceDateTime": { name: "occurrenceDateTime", dataType: r4:dateTime, min: 0, @@ -187,7 +201,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: false, path: "GuidanceResponse.occurrenceDateTime" }, - "requestIdentifier" : { + + "requestIdentifier": { name: "requestIdentifier", dataType: r4:Identifier, min: 1, @@ -195,7 +210,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: false, path: "GuidanceResponse.requestIdentifier" }, - "id" : { + + "id": { name: "id", dataType: string, min: 0, @@ -203,7 +219,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: false, path: "GuidanceResponse.id" }, - "reasonCode" : { + + "reasonCode": { name: "reasonCode", dataType: r4:CodeableConcept, min: 0, @@ -211,7 +228,8 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: true, path: "GuidanceResponse.reasonCode" }, - "text" : { + + "text": { name: "text", dataType: r4:Narrative, min: 0, @@ -219,15 +237,17 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: false, path: "GuidanceResponse.text" }, - "moduleUri" : { + + "moduleUri": { name: "moduleUri", dataType: r4:uri, - min: 1, + min: 0, max: 1, isArray: false, path: "GuidanceResponse.module[x]" }, - "outputParameters" : { + + "outputParameters": { name: "outputParameters", dataType: r4:Reference, min: 0, @@ -235,27 +255,41 @@ public const RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE = "GuidanceResponse"; isArray: false, path: "GuidanceResponse.outputParameters" }, - "status" : { + + "status": { name: "status", - dataType: CDS_Hooks_GuidanceResponseStatus, + dataType: CDSHooksGuidanceResponseStatus, min: 1, max: 1, isArray: false, path: "GuidanceResponse.status", valueSet: "http://hl7.org/fhir/ValueSet/guidance-response-status|4.0.1" } + }, + serializers: { 'xml: r4:fhirResourceXMLSerializer, 'json: r4:fhirResourceJsonSerializer } } -public type CDS_Hooks_GuidanceResponse record {| + +public type CDSHooksGuidanceResponse record {| *r4:DomainResource; - RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE resourceType = RESOURCE_NAME_CDS_HOOKS_GUIDANCERESPONSE; + RESOURCE_NAME_CDSHOOKSGUIDANCERESPONSE resourceType = RESOURCE_NAME_CDSHOOKSGUIDANCERESPONSE; - r4:Identifier identifier; + @constraint:Array { + minLength: { + value: 1, + message: "Validation failed for $.GuidanceResponse.identifier constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.GuidanceResponse.identifier constraint. This field must be an array containing at most one item." + } + } + r4:Identifier[] identifier; r4:Annotation[] note?; r4:Extension[] extension?; r4:Reference performer?; @@ -275,19 +309,19 @@ public type CDS_Hooks_GuidanceResponse record {| string id?; r4:CodeableConcept[] reasonCode?; r4:Narrative text?; - r4:uri moduleUri; + r4:uri moduleUri?; r4:Reference outputParameters?; - CDS_Hooks_GuidanceResponseStatus status; - r4:Element ...; + CDSHooksGuidanceResponseStatus status; + r4:Element...; |}; -# CDS_Hooks_GuidanceResponseStatus enum -public enum CDS_Hooks_GuidanceResponseStatus { - CODE_STATUS_SUCCESS = "success", - CODE_STATUS_FAILURE = "failure", - CODE_STATUS_DATA_REQUIRED = "data-required", - CODE_STATUS_ENTERED_IN_ERROR = "entered-in-error", - CODE_STATUS_IN_PROGRESS = "in-progress", - CODE_STATUS_DATA_REQUESTED = "data-requested" +# CDSHooksGuidanceResponseStatus enum +public enum CDSHooksGuidanceResponseStatus { + CODE_STATUS_SUCCESS = "success", + CODE_STATUS_FAILURE = "failure", + CODE_STATUS_DATA_REQUIRED = "data-required", + CODE_STATUS_ENTERED_IN_ERROR = "entered-in-error", + CODE_STATUS_IN_PROGRESS = "in-progress", + CODE_STATUS_DATA_REQUESTED = "data-requested" } diff --git a/international401/resource_cds_hooks_request_group.bal b/international401/resource_cdshooks_request_group.bal similarity index 80% rename from international401/resource_cds_hooks_request_group.bal rename to international401/resource_cdshooks_request_group.bal index 51f13e51..a4158318 100644 --- a/international401/resource_cds_hooks_request_group.bal +++ b/international401/resource_cdshooks_request_group.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -13,16 +13,17 @@ // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. - +// // AUTO-GENERATED FILE. // This file is auto-generated by Ballerina. +import ballerina/constraint; import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_CDS_HOOKS_REQUESTGROUP = "http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup"; -public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; +public const string PROFILE_BASE_CDSHOOKSREQUESTGROUP = "http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup"; +public const RESOURCE_NAME_CDSHOOKSREQUESTGROUP = "RequestGroup"; -# FHIR CDS_Hooks_RequestGroup resource record. +# FHIR CDSHooksRequestGroup resource record. # # + resourceType - The type of the resource describes # + note - Provides a mechanism to communicate additional information about the response. @@ -51,12 +52,13 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; # + implicitRules - A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. # + groupIdentifier - A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition, prescription or similar form. # + status - The current state of the request. For request groups, the status reflects the status of all the requests in the group. + @r4:ResourceDefinition { resourceType: "RequestGroup", baseType: r4:DomainResource, profile: "http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup", elements: { - "note" : { + "note": { name: "note", dataType: r4:Annotation, min: 0, @@ -64,7 +66,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: true, path: "RequestGroup.note" }, - "extension" : { + + "extension": { name: "extension", dataType: r4:Extension, min: 0, @@ -72,7 +75,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: true, path: "RequestGroup.extension" }, - "code" : { + + "code": { name: "code", dataType: r4:CodeableConcept, min: 0, @@ -80,7 +84,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: false, path: "RequestGroup.code" }, - "subject" : { + + "subject": { name: "subject", dataType: r4:Reference, min: 0, @@ -88,7 +93,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: false, path: "RequestGroup.subject" }, - "modifierExtension" : { + + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, min: 0, @@ -96,7 +102,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: true, path: "RequestGroup.modifierExtension" }, - "reasonReference" : { + + "reasonReference": { name: "reasonReference", dataType: r4:Reference, min: 0, @@ -104,7 +111,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: true, path: "RequestGroup.reasonReference" }, - "language" : { + + "language": { name: "language", dataType: r4:code, min: 0, @@ -113,23 +121,26 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; path: "RequestGroup.language", valueSet: "http://hl7.org/fhir/ValueSet/languages" }, - "instantiatesUri" : { + + "instantiatesUri": { name: "instantiatesUri", dataType: r4:uri, min: 1, max: 1, - isArray: false, + isArray: true, path: "RequestGroup.instantiatesUri" }, - "action" : { + + "action": { name: "action", - dataType: CDS_Hooks_RequestGroupAction, + dataType: CDSHooksRequestGroupAction, min: 0, max: int:MAX_VALUE, isArray: true, path: "RequestGroup.action" }, - "id" : { + + "id": { name: "id", dataType: string, min: 0, @@ -137,7 +148,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: false, path: "RequestGroup.id" }, - "reasonCode" : { + + "reasonCode": { name: "reasonCode", dataType: r4:CodeableConcept, min: 0, @@ -145,7 +157,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: true, path: "RequestGroup.reasonCode" }, - "text" : { + + "text": { name: "text", dataType: r4:Narrative, min: 0, @@ -153,7 +166,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: false, path: "RequestGroup.text" }, - "basedOn" : { + + "basedOn": { name: "basedOn", dataType: r4:Reference, min: 0, @@ -161,15 +175,17 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: true, path: "RequestGroup.basedOn" }, - "identifier" : { + + "identifier": { name: "identifier", dataType: r4:Identifier, min: 1, max: 1, - isArray: false, + isArray: true, path: "RequestGroup.identifier" }, - "authoredOn" : { + + "authoredOn": { name: "authoredOn", dataType: r4:dateTime, min: 0, @@ -177,7 +193,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: false, path: "RequestGroup.authoredOn" }, - "author" : { + + "author": { name: "author", dataType: r4:Reference, min: 0, @@ -185,7 +202,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: false, path: "RequestGroup.author" }, - "replaces" : { + + "replaces": { name: "replaces", dataType: r4:Reference, min: 0, @@ -193,7 +211,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: true, path: "RequestGroup.replaces" }, - "encounter" : { + + "encounter": { name: "encounter", dataType: r4:Reference, min: 0, @@ -201,7 +220,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: false, path: "RequestGroup.encounter" }, - "instantiatesCanonical" : { + + "instantiatesCanonical": { name: "instantiatesCanonical", dataType: r4:canonical, min: 0, @@ -209,25 +229,28 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: true, path: "RequestGroup.instantiatesCanonical" }, - "priority" : { + + "priority": { name: "priority", - dataType: CDS_Hooks_RequestGroupPriority, + dataType: CDSHooksRequestGroupPriority, min: 0, max: 1, isArray: false, path: "RequestGroup.priority", valueSet: "http://hl7.org/fhir/ValueSet/request-priority|4.0.1" }, - "intent" : { + + "intent": { name: "intent", - dataType: CDS_Hooks_RequestGroupIntent, + dataType: CDSHooksRequestGroupIntent, min: 1, max: 1, isArray: false, path: "RequestGroup.intent", valueSet: "http://hl7.org/fhir/ValueSet/request-intent|4.0.1" }, - "contained" : { + + "contained": { name: "contained", dataType: r4:Resource, min: 0, @@ -235,7 +258,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: true, path: "RequestGroup.contained" }, - "meta" : { + + "meta": { name: "meta", dataType: r4:Meta, min: 0, @@ -243,7 +267,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: false, path: "RequestGroup.meta" }, - "implicitRules" : { + + "implicitRules": { name: "implicitRules", dataType: r4:uri, min: 0, @@ -251,7 +276,8 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: false, path: "RequestGroup.implicitRules" }, - "groupIdentifier" : { + + "groupIdentifier": { name: "groupIdentifier", dataType: r4:Identifier, min: 0, @@ -259,25 +285,29 @@ public const RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP = "RequestGroup"; isArray: false, path: "RequestGroup.groupIdentifier" }, - "status" : { + + "status": { name: "status", - dataType: CDS_Hooks_RequestGroupStatus, + dataType: CDSHooksRequestGroupStatus, min: 1, max: 1, isArray: false, path: "RequestGroup.status", valueSet: "http://hl7.org/fhir/ValueSet/request-status|4.0.1" } + }, + serializers: { 'xml: r4:fhirResourceXMLSerializer, 'json: r4:fhirResourceJsonSerializer } } -public type CDS_Hooks_RequestGroup record {| + +public type CDSHooksRequestGroup record {| *r4:DomainResource; - RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP resourceType = RESOURCE_NAME_CDS_HOOKS_REQUESTGROUP; + RESOURCE_NAME_CDSHOOKSREQUESTGROUP resourceType = RESOURCE_NAME_CDSHOOKSREQUESTGROUP; r4:Annotation[] note?; r4:Extension[] extension?; @@ -286,59 +316,88 @@ public type CDS_Hooks_RequestGroup record {| r4:Extension[] modifierExtension?; r4:Reference[] reasonReference?; r4:code language?; - r4:uri instantiatesUri; - CDS_Hooks_RequestGroupAction[] action?; + @constraint:Array { + minLength: { + value: 1, + message: "Validation failed for $.RequestGroup.instantiatesUri constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.RequestGroup.instantiatesUri constraint. This field must be an array containing at most one item." + } + } + r4:uri[] instantiatesUri; + CDSHooksRequestGroupAction[] action?; string id?; r4:CodeableConcept[] reasonCode?; r4:Narrative text?; r4:Reference[] basedOn?; - r4:Identifier identifier; + @constraint:Array { + minLength: { + value: 1, + message: "Validation failed for $.RequestGroup.identifier constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.RequestGroup.identifier constraint. This field must be an array containing at most one item." + } + } + r4:Identifier[] identifier; r4:dateTime authoredOn?; r4:Reference author?; r4:Reference[] replaces?; r4:Reference encounter?; r4:canonical[] instantiatesCanonical?; - CDS_Hooks_RequestGroupPriority priority?; - CDS_Hooks_RequestGroupIntent intent; + CDSHooksRequestGroupPriority priority?; + CDSHooksRequestGroupIntent intent; r4:Resource[] contained?; r4:Meta meta?; r4:uri implicitRules?; r4:Identifier groupIdentifier?; - CDS_Hooks_RequestGroupStatus status; - r4:Element ...; + CDSHooksRequestGroupStatus status; + r4:Element...; |}; -# CDS_Hooks_RequestGroupActionConditionKind enum -public enum CDS_Hooks_RequestGroupActionConditionKind { - CODE_KIND_STOP = "stop", - CODE_KIND_START = "start", - CODE_KIND_APPLICABILITY = "applicability" +# CDSHooksRequestGroupActionRelatedActionRelationship enum +public enum CDSHooksRequestGroupActionRelatedActionRelationship { + CODE_RELATIONSHIP_AFTER_END = "after-end", + CODE_RELATIONSHIP_BEFORE = "before", + CODE_RELATIONSHIP_CONCURRENT_WITH_START = "concurrent-with-start", + CODE_RELATIONSHIP_CONCURRENT = "concurrent", + CODE_RELATIONSHIP_BEFORE_END = "before-end", + CODE_RELATIONSHIP_AFTER = "after", + CODE_RELATIONSHIP_CONCURRENT_WITH_END = "concurrent-with-end", + CODE_RELATIONSHIP_AFTER_START = "after-start", + CODE_RELATIONSHIP_BEFORE_START = "before-start" +} + +# CDSHooksRequestGroupActionPriority enum +public enum CDSHooksRequestGroupActionPriority { + CODE_PRIORITY_STAT = "stat", + CODE_PRIORITY_ROUTINE = "routine", + CODE_PRIORITY_URGENT = "urgent", + CODE_PRIORITY_ASAP = "asap" } -# CDS_Hooks_RequestGroupActionRelatedActionRelationship enum -public enum CDS_Hooks_RequestGroupActionRelatedActionRelationship { - CODE_RELATIONSHIP_AFTER_END = "after-end", - CODE_RELATIONSHIP_BEFORE = "before", - CODE_RELATIONSHIP_CONCURRENT_WITH_START = "concurrent-with-start", - CODE_RELATIONSHIP_CONCURRENT = "concurrent", - CODE_RELATIONSHIP_BEFORE_END = "before-end", - CODE_RELATIONSHIP_AFTER = "after", - CODE_RELATIONSHIP_CONCURRENT_WITH_END = "concurrent-with-end", - CODE_RELATIONSHIP_AFTER_START = "after-start", - CODE_RELATIONSHIP_BEFORE_START = "before-start" +# CDSHooksRequestGroupActionConditionKind enum +public enum CDSHooksRequestGroupActionConditionKind { + CODE_KIND_STOP = "stop", + CODE_KIND_START = "start", + CODE_KIND_APPLICABILITY = "applicability" } -# FHIR CDS_Hooks_RequestGroupActionRelatedAction datatype record. +# FHIR CDSHooksRequestGroupActionRelatedAction datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + offsetRequestGroupDuration - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + actionId - The element id of the action this is related to. +# + offsetDuration - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. +# + offsetRange - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + offsetRequestGroupRange - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. # + relationship - The relationship of this action to the related action. + @r4:DataTypeDefinition { - name: "CDS_Hooks_RequestGroupActionRelatedAction", + name: "CDSHooksRequestGroupActionRelatedAction", baseType: (), elements: { "extension": { @@ -350,15 +409,7 @@ public enum CDS_Hooks_RequestGroupActionRelatedActionRelationship { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "RequestGroup.action.relatedAction.extension" }, - "offsetRequestGroupDuration": { - name: "offsetRequestGroupDuration", - dataType: r4:Duration, - min: 0, - max: 1, - isArray: false, - description: "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", - path: "RequestGroup.action.relatedAction.offset[x]" - }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -368,6 +419,7 @@ public enum CDS_Hooks_RequestGroupActionRelatedActionRelationship { description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "RequestGroup.action.relatedAction.modifierExtension" }, + "actionId": { name: "actionId", dataType: r4:id, @@ -377,17 +429,19 @@ public enum CDS_Hooks_RequestGroupActionRelatedActionRelationship { description: "The element id of the action this is related to.", path: "RequestGroup.action.relatedAction.actionId" }, - "id": { - name: "id", - dataType: string, + + "offsetDuration": { + name: "offsetDuration", + dataType: r4:Duration, min: 0, max: 1, isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "RequestGroup.action.relatedAction.id" + description: "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", + path: "RequestGroup.action.relatedAction.offset[x]" }, - "offsetRequestGroupRange": { - name: "offsetRequestGroupRange", + + "offsetRange": { + name: "offsetRange", dataType: r4:Range, min: 0, max: 1, @@ -395,9 +449,20 @@ public enum CDS_Hooks_RequestGroupActionRelatedActionRelationship { description: "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", path: "RequestGroup.action.relatedAction.offset[x]" }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "RequestGroup.action.relatedAction.id" + }, + "relationship": { name: "relationship", - dataType: CDS_Hooks_RequestGroupActionRelatedActionRelationship, + dataType: CDSHooksRequestGroupActionRelatedActionRelationship, min: 1, max: 1, isArray: false, @@ -405,48 +470,116 @@ public enum CDS_Hooks_RequestGroupActionRelatedActionRelationship { path: "RequestGroup.action.relatedAction.relationship" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type CDS_Hooks_RequestGroupActionRelatedAction record {| + +public type CDSHooksRequestGroupActionRelatedAction record {| *r4:BackboneElement; r4:Extension[] extension?; - r4:Duration offsetRequestGroupDuration?; r4:Extension[] modifierExtension?; r4:id actionId; + r4:Duration offsetDuration?; + r4:Range offsetRange?; string id?; - r4:Range offsetRequestGroupRange?; - CDS_Hooks_RequestGroupActionRelatedActionRelationship relationship; + CDSHooksRequestGroupActionRelatedActionRelationship relationship; |}; -# CDS_Hooks_RequestGroupStatus enum -public enum CDS_Hooks_RequestGroupStatus { - CODE_STATUS_DRAFT = "draft", - CODE_STATUS_ACTIVE = "active", - CODE_STATUS_COMPLETED = "completed", - CODE_STATUS_REVOKED = "revoked", - CODE_STATUS_ENTERED_IN_ERROR = "entered-in-error", - CODE_STATUS_ON_HOLD = "on-hold", - CODE_STATUS_UNKNOWN = "unknown" -} +# FHIR CDSHooksRequestGroupActionCondition datatype record. +# +# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + expression - An expression that returns true or false, indicating whether or not the condition is satisfied. +# + kind - The kind of condition. +# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. + +@r4:DataTypeDefinition { + name: "CDSHooksRequestGroupActionCondition", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "RequestGroup.action.condition.extension" + }, + + "expression": { + name: "expression", + dataType: r4:Expression, + min: 0, + max: 1, + isArray: false, + description: "An expression that returns true or false, indicating whether or not the condition is satisfied.", + path: "RequestGroup.action.condition.expression" + }, -# CDS_Hooks_RequestGroupActionCardinalityBehavior enum -public enum CDS_Hooks_RequestGroupActionCardinalityBehavior { - CODE_CARDINALITYBEHAVIOR_SINGLE = "single", - CODE_CARDINALITYBEHAVIOR_MULTIPLE = "multiple" + "kind": { + name: "kind", + dataType: CDSHooksRequestGroupActionConditionKind, + min: 1, + max: 1, + isArray: false, + description: "The kind of condition.", + path: "RequestGroup.action.condition.kind" + }, + + "modifierExtension": { + name: "modifierExtension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + path: "RequestGroup.action.condition.modifierExtension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "RequestGroup.action.condition.id" + } + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } } -# CDS_Hooks_RequestGroupActionGroupingBehavior enum -public enum CDS_Hooks_RequestGroupActionGroupingBehavior { - CODE_GROUPINGBEHAVIOR_VISUAL_GROUP = "visual-group", - CODE_GROUPINGBEHAVIOR_SENTENCE_GROUP = "sentence-group", - CODE_GROUPINGBEHAVIOR_LOGICAL_GROUP = "logical-group" +public type CDSHooksRequestGroupActionCondition record {| + *r4:BackboneElement; + + r4:Extension[] extension?; + r4:Expression expression?; + CDSHooksRequestGroupActionConditionKind kind; + r4:Extension[] modifierExtension?; + string id?; +|}; + +# CDSHooksRequestGroupStatus enum +public enum CDSHooksRequestGroupStatus { + CODE_STATUS_DRAFT = "draft", + CODE_STATUS_ACTIVE = "active", + CODE_STATUS_COMPLETED = "completed", + CODE_STATUS_REVOKED = "revoked", + CODE_STATUS_ENTERED_IN_ERROR = "entered-in-error", + CODE_STATUS_ON_HOLD = "on-hold", + CODE_STATUS_UNKNOWN = "unknown" } -# FHIR CDS_Hooks_RequestGroupAction datatype record. +# FHIR CDSHooksRequestGroupAction datatype record. # # + cardinalityBehavior - Defines whether the action can be selected multiple times. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. @@ -458,6 +591,7 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { # + 'type - The type of action to perform (create, update, remove). # + groupingBehavior - Defines the grouping behavior for the action and its children. # + participant - The participant that should perform or be responsible for this action. +# + action - Sub actions. # + timingAge - An optional value describing when the action should be performed. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + relatedAction - A relationship to another action such as 'before' or '30-60 minutes after start of'. @@ -474,19 +608,21 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { # + timingRange - An optional value describing when the action should be performed. # + precheckBehavior - Defines whether the action should usually be preselected. # + timingDateTime - An optional value describing when the action should be performed. + @r4:DataTypeDefinition { - name: "CDS_Hooks_RequestGroupAction", + name: "CDSHooksRequestGroupAction", baseType: (), elements: { "cardinalityBehavior": { name: "cardinalityBehavior", - dataType: CDS_Hooks_RequestGroupActionCardinalityBehavior, + dataType: CDSHooksRequestGroupActionCardinalityBehavior, min: 0, max: 1, isArray: false, description: "Defines whether the action can be selected multiple times.", path: "RequestGroup.action.cardinalityBehavior" }, + "extension": { name: "extension", dataType: r4:Extension, @@ -496,6 +632,7 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "RequestGroup.action.extension" }, + "code": { name: "code", dataType: r4:CodeableConcept, @@ -505,6 +642,7 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "A code that provides meaning for the action or action group. For example, a section may have a LOINC code for a section of a documentation template.", path: "RequestGroup.action.code" }, + "prefix": { name: "prefix", dataType: string, @@ -514,6 +652,7 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "A user-visible prefix for the action.", path: "RequestGroup.action.prefix" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -523,6 +662,7 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "RequestGroup.action.modifierExtension" }, + "description": { name: "description", dataType: string, @@ -532,6 +672,7 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "A short description of the action used to provide a summary to display to the user.", path: "RequestGroup.action.description" }, + "title": { name: "title", dataType: string, @@ -541,6 +682,7 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "The title of the action displayed to a user.", path: "RequestGroup.action.title" }, + "type": { name: "type", dataType: r4:CodeableConcept, @@ -550,15 +692,17 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "The type of action to perform (create, update, remove).", path: "RequestGroup.action.type" }, + "groupingBehavior": { name: "groupingBehavior", - dataType: CDS_Hooks_RequestGroupActionGroupingBehavior, + dataType: CDSHooksRequestGroupActionGroupingBehavior, min: 0, max: 1, isArray: false, description: "Defines the grouping behavior for the action and its children.", path: "RequestGroup.action.groupingBehavior" }, + "participant": { name: "participant", dataType: r4:Reference, @@ -568,6 +712,17 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "The participant that should perform or be responsible for this action.", path: "RequestGroup.action.participant" }, + + "action": { + name: "action", + dataType: CDSHooksRequestGroupAction, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Sub actions.", + path: "RequestGroup.action.action" + }, + "timingAge": { name: "timingAge", dataType: r4:Age, @@ -577,6 +732,7 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "An optional value describing when the action should be performed.", path: "RequestGroup.action.timing[x]" }, + "id": { name: "id", dataType: string, @@ -586,15 +742,17 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "RequestGroup.action.id" }, + "relatedAction": { name: "relatedAction", - dataType: CDS_Hooks_RequestGroupActionRelatedAction, + dataType: CDSHooksRequestGroupActionRelatedAction, min: 0, max: int:MAX_VALUE, isArray: true, description: "A relationship to another action such as 'before' or '30-60 minutes after start of'.", path: "RequestGroup.action.relatedAction" }, + "timingDuration": { name: "timingDuration", dataType: r4:Duration, @@ -604,6 +762,7 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "An optional value describing when the action should be performed.", path: "RequestGroup.action.timing[x]" }, + "textEquivalent": { name: "textEquivalent", dataType: string, @@ -613,6 +772,7 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically.", path: "RequestGroup.action.textEquivalent" }, + "timingTiming": { name: "timingTiming", dataType: r4:Timing, @@ -622,6 +782,7 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "An optional value describing when the action should be performed.", path: "RequestGroup.action.timing[x]" }, + "resource": { name: "resource", dataType: r4:Reference, @@ -631,6 +792,7 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "The resource that is the target of the action (e.g. CommunicationRequest).", path: "RequestGroup.action.resource" }, + "timingPeriod": { name: "timingPeriod", dataType: r4:Period, @@ -640,6 +802,7 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "An optional value describing when the action should be performed.", path: "RequestGroup.action.timing[x]" }, + "documentation": { name: "documentation", dataType: r4:RelatedArtifact, @@ -649,42 +812,47 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources.", path: "RequestGroup.action.documentation" }, + "priority": { name: "priority", - dataType: CDS_Hooks_RequestGroupActionPriority, + dataType: CDSHooksRequestGroupActionPriority, min: 0, max: 1, isArray: false, description: "Indicates how quickly the action should be addressed with respect to other actions.", path: "RequestGroup.action.priority" }, + "requiredBehavior": { name: "requiredBehavior", - dataType: CDS_Hooks_RequestGroupActionRequiredBehavior, + dataType: CDSHooksRequestGroupActionRequiredBehavior, min: 0, max: 1, isArray: false, description: "Defines expectations around whether an action is required.", path: "RequestGroup.action.requiredBehavior" }, + "condition": { name: "condition", - dataType: CDS_Hooks_RequestGroupActionCondition, + dataType: CDSHooksRequestGroupActionCondition, min: 0, max: int:MAX_VALUE, isArray: true, description: "An expression that describes applicability criteria, or start/stop conditions for the action.", path: "RequestGroup.action.condition" }, + "selectionBehavior": { name: "selectionBehavior", - dataType: CDS_Hooks_RequestGroupActionSelectionBehavior, + dataType: CDSHooksRequestGroupActionSelectionBehavior, min: 0, max: 1, isArray: false, description: "Defines the selection behavior for the action and its children.", path: "RequestGroup.action.selectionBehavior" }, + "timingRange": { name: "timingRange", dataType: r4:Range, @@ -694,15 +862,17 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { description: "An optional value describing when the action should be performed.", path: "RequestGroup.action.timing[x]" }, + "precheckBehavior": { name: "precheckBehavior", - dataType: CDS_Hooks_RequestGroupActionPrecheckBehavior, + dataType: CDSHooksRequestGroupActionPrecheckBehavior, min: 0, max: 1, isArray: false, description: "Defines whether the action should usually be preselected.", path: "RequestGroup.action.precheckBehavior" }, + "timingDateTime": { name: "timingDateTime", dataType: r4:dateTime, @@ -713,15 +883,17 @@ public enum CDS_Hooks_RequestGroupActionGroupingBehavior { path: "RequestGroup.action.timing[x]" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type CDS_Hooks_RequestGroupAction record {| + +public type CDSHooksRequestGroupAction record {| *r4:BackboneElement; - CDS_Hooks_RequestGroupActionCardinalityBehavior cardinalityBehavior?; + CDSHooksRequestGroupActionCardinalityBehavior cardinalityBehavior?; r4:Extension[] extension?; r4:CodeableConcept[] code?; string prefix?; @@ -729,147 +901,81 @@ public type CDS_Hooks_RequestGroupAction record {| string description?; string title?; r4:CodeableConcept 'type?; - CDS_Hooks_RequestGroupActionGroupingBehavior groupingBehavior?; + CDSHooksRequestGroupActionGroupingBehavior groupingBehavior?; r4:Reference[] participant?; + CDSHooksRequestGroupAction[] action?; r4:Age timingAge?; string id?; - CDS_Hooks_RequestGroupActionRelatedAction[] relatedAction?; + CDSHooksRequestGroupActionRelatedAction[] relatedAction?; r4:Duration timingDuration?; string textEquivalent?; r4:Timing timingTiming?; r4:Reference 'resource?; r4:Period timingPeriod?; r4:RelatedArtifact[] documentation?; - CDS_Hooks_RequestGroupActionPriority priority?; - CDS_Hooks_RequestGroupActionRequiredBehavior requiredBehavior?; - CDS_Hooks_RequestGroupActionCondition[] condition?; - CDS_Hooks_RequestGroupActionSelectionBehavior selectionBehavior?; + CDSHooksRequestGroupActionPriority priority?; + CDSHooksRequestGroupActionRequiredBehavior requiredBehavior?; + CDSHooksRequestGroupActionCondition[] condition?; + CDSHooksRequestGroupActionSelectionBehavior selectionBehavior?; r4:Range timingRange?; - CDS_Hooks_RequestGroupActionPrecheckBehavior precheckBehavior?; + CDSHooksRequestGroupActionPrecheckBehavior precheckBehavior?; r4:dateTime timingDateTime?; |}; -# CDS_Hooks_RequestGroupPriority enum -public enum CDS_Hooks_RequestGroupPriority { - CODE_PRIORITY_STAT = "stat", - CODE_PRIORITY_ROUTINE = "routine", - CODE_PRIORITY_URGENT = "urgent", - CODE_PRIORITY_ASAP = "asap" +# CDSHooksRequestGroupActionSelectionBehavior enum +public enum CDSHooksRequestGroupActionSelectionBehavior { + CODE_SELECTIONBEHAVIOR_ALL = "all", + CODE_SELECTIONBEHAVIOR_EXACTLY_ONE = "exactly-one", + CODE_SELECTIONBEHAVIOR_AT_MOST_ONE = "at-most-one", + CODE_SELECTIONBEHAVIOR_ALL_OR_NONE = "all-or-none", + CODE_SELECTIONBEHAVIOR_ANY = "any", + CODE_SELECTIONBEHAVIOR_ONE_OR_MORE = "one-or-more" } -# CDS_Hooks_RequestGroupActionPrecheckBehavior enum -public enum CDS_Hooks_RequestGroupActionPrecheckBehavior { - CODE_PRECHECKBEHAVIOR_NO = "no", - CODE_PRECHECKBEHAVIOR_YES = "yes" +# CDSHooksRequestGroupActionPrecheckBehavior enum +public enum CDSHooksRequestGroupActionPrecheckBehavior { + CODE_PRECHECKBEHAVIOR_NO = "no", + CODE_PRECHECKBEHAVIOR_YES = "yes" } -# FHIR CDS_Hooks_RequestGroupActionCondition datatype record. -# -# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + expression - An expression that returns true or false, indicating whether or not the condition is satisfied. -# + kind - The kind of condition. -# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -@r4:DataTypeDefinition { - name: "CDS_Hooks_RequestGroupActionCondition", - baseType: (), - elements: { - "extension": { - name: "extension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "RequestGroup.action.condition.extension" - }, - "expression": { - name: "expression", - dataType: r4:Expression, - min: 0, - max: 1, - isArray: false, - description: "An expression that returns true or false, indicating whether or not the condition is satisfied.", - path: "RequestGroup.action.condition.expression" - }, - "kind": { - name: "kind", - dataType: CDS_Hooks_RequestGroupActionConditionKind, - min: 1, - max: 1, - isArray: false, - description: "The kind of condition.", - path: "RequestGroup.action.condition.kind" - }, - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "RequestGroup.action.condition.modifierExtension" - }, - "id": { - name: "id", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "RequestGroup.action.condition.id" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } +# CDSHooksRequestGroupPriority enum +public enum CDSHooksRequestGroupPriority { + CODE_PRIORITY_STAT = "stat", + CODE_PRIORITY_ROUTINE = "routine", + CODE_PRIORITY_URGENT = "urgent", + CODE_PRIORITY_ASAP = "asap" } -public type CDS_Hooks_RequestGroupActionCondition record {| - *r4:BackboneElement; - - r4:Extension[] extension?; - r4:Expression expression?; - CDS_Hooks_RequestGroupActionConditionKind kind; - r4:Extension[] modifierExtension?; - string id?; -|}; -# CDS_Hooks_RequestGroupActionPriority enum -public enum CDS_Hooks_RequestGroupActionPriority { - CODE_PRIORITY_STAT = "stat", - CODE_PRIORITY_ROUTINE = "routine", - CODE_PRIORITY_URGENT = "urgent", - CODE_PRIORITY_ASAP = "asap" +# CDSHooksRequestGroupActionCardinalityBehavior enum +public enum CDSHooksRequestGroupActionCardinalityBehavior { + CODE_CARDINALITYBEHAVIOR_SINGLE = "single", + CODE_CARDINALITYBEHAVIOR_MULTIPLE = "multiple" } -# CDS_Hooks_RequestGroupActionSelectionBehavior enum -public enum CDS_Hooks_RequestGroupActionSelectionBehavior { - CODE_SELECTIONBEHAVIOR_ALL = "all", - CODE_SELECTIONBEHAVIOR_EXACTLY_ONE = "exactly-one", - CODE_SELECTIONBEHAVIOR_AT_MOST_ONE = "at-most-one", - CODE_SELECTIONBEHAVIOR_ALL_OR_NONE = "all-or-none", - CODE_SELECTIONBEHAVIOR_ANY = "any", - CODE_SELECTIONBEHAVIOR_ONE_OR_MORE = "one-or-more" +# CDSHooksRequestGroupIntent enum +public enum CDSHooksRequestGroupIntent { + CODE_INTENT_PROPOSAL = "proposal", + CODE_INTENT_INSTANCE_ORDER = "instance-order", + CODE_INTENT_FILLER_ORDER = "filler-order", + CODE_INTENT_ORIGINAL_ORDER = "original-order", + CODE_INTENT_REFLEX_ORDER = "reflex-order", + CODE_INTENT_PLAN = "plan", + CODE_INTENT_DIRECTIVE = "directive", + CODE_INTENT_ORDER = "order", + CODE_INTENT_OPTION = "option" } -# CDS_Hooks_RequestGroupIntent enum -public enum CDS_Hooks_RequestGroupIntent { - CODE_INTENT_PROPOSAL = "proposal", - CODE_INTENT_INSTANCE_ORDER = "instance-order", - CODE_INTENT_FILLER_ORDER = "filler-order", - CODE_INTENT_ORIGINAL_ORDER = "original-order", - CODE_INTENT_REFLEX_ORDER = "reflex-order", - CODE_INTENT_PLAN = "plan", - CODE_INTENT_DIRECTIVE = "directive", - CODE_INTENT_ORDER = "order", - CODE_INTENT_OPTION = "option" +# CDSHooksRequestGroupActionGroupingBehavior enum +public enum CDSHooksRequestGroupActionGroupingBehavior { + CODE_GROUPINGBEHAVIOR_VISUAL_GROUP = "visual-group", + CODE_GROUPINGBEHAVIOR_SENTENCE_GROUP = "sentence-group", + CODE_GROUPINGBEHAVIOR_LOGICAL_GROUP = "logical-group" } -# CDS_Hooks_RequestGroupActionRequiredBehavior enum -public enum CDS_Hooks_RequestGroupActionRequiredBehavior { - CODE_REQUIREDBEHAVIOR_COULD = "could", - CODE_REQUIREDBEHAVIOR_MUST = "must", - CODE_REQUIREDBEHAVIOR_MUST_UNLESS_DOCUMENTED = "must-unless-documented" +# CDSHooksRequestGroupActionRequiredBehavior enum +public enum CDSHooksRequestGroupActionRequiredBehavior { + CODE_REQUIREDBEHAVIOR_COULD = "could", + CODE_REQUIREDBEHAVIOR_MUST = "must", + CODE_REQUIREDBEHAVIOR_MUST_UNLESS_DOCUMENTED = "must-unless-documented" } diff --git a/international401/resource_cds_hooks_service_plan_definition.bal b/international401/resource_cdshooks_service_plan_definition.bal similarity index 86% rename from international401/resource_cds_hooks_service_plan_definition.bal rename to international401/resource_cdshooks_service_plan_definition.bal index 98c2999e..afd2f005 100644 --- a/international401/resource_cds_hooks_service_plan_definition.bal +++ b/international401/resource_cdshooks_service_plan_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -13,26 +13,23 @@ // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. - +// // AUTO-GENERATED FILE. // This file is auto-generated by Ballerina. import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_CDS_HOOKS_SERVICE_PLANDEFINITION = "http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition"; -public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; +public const string PROFILE_BASE_CDSHOOKSSERVICEPLANDEFINITION = "http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition"; +public const RESOURCE_NAME_CDSHOOKSSERVICEPLANDEFINITION = "PlanDefinition"; + +public type CDSHooksServicePlanDefinitionExtensions (CqfCdsHooksEndpoint|CqfTargetInvariant|r4:Extension|Replaces|TargetConstraint|Variable|WorkflowShallComplyWith); -# FHIR CDS_Hooks_Service_PlanDefinition resource record. +# FHIR CDSHooksServicePlanDefinition resource record. # # + resourceType - The type of the resource describes # + date - The date (and optionally time) when the plan definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the plan definition changes. # + copyright - A copyright statement relating to the plan definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the plan definition. # + extension - An Extension -# * extension Slicings -# 1) Extension: Service endpoint -# - min = 1 -# - max = 1 -# # + approvalDate - The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. # + subjectCodeableConcept - A code or group definition that describes the intended subject of the plan definition. # + purpose - Explanation of why this plan definition is needed and why it has been designed as it has. @@ -70,12 +67,13 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; # + topic - Descriptive topics related to the content of the plan definition. Topics provide a high-level categorization of the definition that can be useful for filtering and searching. # + useContext - The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate plan definition instances. # + status - The status of this plan definition. Enables tracking the life-cycle of the content. + @r4:ResourceDefinition { resourceType: "PlanDefinition", baseType: r4:DomainResource, profile: "http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition", elements: { - "date" : { + "date": { name: "date", dataType: r4:dateTime, min: 0, @@ -83,7 +81,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.date" }, - "copyright" : { + + "copyright": { name: "copyright", dataType: r4:markdown, min: 0, @@ -91,7 +90,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.copyright" }, - "extension" : { + + "extension": { name: "extension", dataType: r4:Extension, min: 0, @@ -99,7 +99,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: true, path: "PlanDefinition.extension" }, - "approvalDate" : { + + "approvalDate": { name: "approvalDate", dataType: r4:date, min: 0, @@ -107,7 +108,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.approvalDate" }, - "subjectCodeableConcept" : { + + "subjectCodeableConcept": { name: "subjectCodeableConcept", dataType: r4:CodeableConcept, min: 0, @@ -116,7 +118,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; path: "PlanDefinition.subject[x]", valueSet: "http://hl7.org/fhir/ValueSet/subject-type" }, - "purpose" : { + + "purpose": { name: "purpose", dataType: r4:markdown, min: 0, @@ -124,7 +127,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.purpose" }, - "jurisdiction" : { + + "jurisdiction": { name: "jurisdiction", dataType: r4:CodeableConcept, min: 0, @@ -133,7 +137,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; path: "PlanDefinition.jurisdiction", valueSet: "http://hl7.org/fhir/ValueSet/jurisdiction" }, - "modifierExtension" : { + + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, min: 0, @@ -141,7 +146,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: true, path: "PlanDefinition.modifierExtension" }, - "usage" : { + + "usage": { name: "usage", dataType: string, min: 0, @@ -149,7 +155,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.usage" }, - "description" : { + + "description": { name: "description", dataType: r4:markdown, min: 0, @@ -157,7 +164,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.description" }, - "experimental" : { + + "experimental": { name: "experimental", dataType: boolean, min: 0, @@ -165,7 +173,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.experimental" }, - "language" : { + + "language": { name: "language", dataType: r4:code, min: 0, @@ -174,7 +183,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; path: "PlanDefinition.language", valueSet: "http://hl7.org/fhir/ValueSet/languages" }, - "title" : { + + "title": { name: "title", dataType: string, min: 0, @@ -182,7 +192,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.title" }, - "type" : { + + "type": { name: "type", dataType: r4:CodeableConcept, min: 0, @@ -191,7 +202,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; path: "PlanDefinition.type", valueSet: "http://hl7.org/fhir/ValueSet/plan-definition-type" }, - "library" : { + + "library": { name: "library", dataType: r4:canonical, min: 0, @@ -199,7 +211,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: true, path: "PlanDefinition.library" }, - "contact" : { + + "contact": { name: "contact", dataType: r4:ContactDetail, min: 0, @@ -207,7 +220,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: true, path: "PlanDefinition.contact" }, - "endorser" : { + + "endorser": { name: "endorser", dataType: r4:ContactDetail, min: 0, @@ -215,15 +229,17 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: true, path: "PlanDefinition.endorser" }, - "action" : { + + "action": { name: "action", - dataType: CDS_Hooks_Service_PlanDefinitionAction, + dataType: CDSHooksServicePlanDefinitionAction, min: 0, max: int:MAX_VALUE, isArray: true, path: "PlanDefinition.action" }, - "id" : { + + "id": { name: "id", dataType: string, min: 0, @@ -231,7 +247,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.id" }, - "text" : { + + "text": { name: "text", dataType: r4:Narrative, min: 0, @@ -239,7 +256,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.text" }, - "editor" : { + + "editor": { name: "editor", dataType: r4:ContactDetail, min: 0, @@ -247,7 +265,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: true, path: "PlanDefinition.editor" }, - "identifier" : { + + "identifier": { name: "identifier", dataType: r4:Identifier, min: 0, @@ -255,15 +274,17 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: true, path: "PlanDefinition.identifier" }, - "goal" : { + + "goal": { name: "goal", - dataType: CDS_Hooks_Service_PlanDefinitionGoal, + dataType: CDSHooksServicePlanDefinitionGoal, min: 0, max: int:MAX_VALUE, isArray: true, path: "PlanDefinition.goal" }, - "relatedArtifact" : { + + "relatedArtifact": { name: "relatedArtifact", dataType: r4:RelatedArtifact, min: 0, @@ -271,7 +292,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: true, path: "PlanDefinition.relatedArtifact" }, - "effectivePeriod" : { + + "effectivePeriod": { name: "effectivePeriod", dataType: r4:Period, min: 0, @@ -279,7 +301,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.effectivePeriod" }, - "author" : { + + "author": { name: "author", dataType: r4:ContactDetail, min: 0, @@ -287,7 +310,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: true, path: "PlanDefinition.author" }, - "reviewer" : { + + "reviewer": { name: "reviewer", dataType: r4:ContactDetail, min: 0, @@ -295,7 +319,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: true, path: "PlanDefinition.reviewer" }, - "subjectReference" : { + + "subjectReference": { name: "subjectReference", dataType: r4:Reference, min: 0, @@ -304,7 +329,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; path: "PlanDefinition.subject[x]", valueSet: "http://hl7.org/fhir/ValueSet/subject-type" }, - "version" : { + + "version": { name: "version", dataType: string, min: 0, @@ -312,7 +338,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.version" }, - "url" : { + + "url": { name: "url", dataType: r4:uri, min: 0, @@ -320,7 +347,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.url" }, - "contained" : { + + "contained": { name: "contained", dataType: r4:Resource, min: 0, @@ -328,7 +356,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: true, path: "PlanDefinition.contained" }, - "lastReviewDate" : { + + "lastReviewDate": { name: "lastReviewDate", dataType: r4:date, min: 0, @@ -336,7 +365,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.lastReviewDate" }, - "meta" : { + + "meta": { name: "meta", dataType: r4:Meta, min: 0, @@ -344,7 +374,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.meta" }, - "subtitle" : { + + "subtitle": { name: "subtitle", dataType: string, min: 0, @@ -352,7 +383,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.subtitle" }, - "name" : { + + "name": { name: "name", dataType: string, min: 0, @@ -360,7 +392,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.name" }, - "implicitRules" : { + + "implicitRules": { name: "implicitRules", dataType: r4:uri, min: 0, @@ -368,7 +401,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.implicitRules" }, - "publisher" : { + + "publisher": { name: "publisher", dataType: string, min: 0, @@ -376,7 +410,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: false, path: "PlanDefinition.publisher" }, - "topic" : { + + "topic": { name: "topic", dataType: r4:CodeableConcept, min: 0, @@ -385,7 +420,8 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; path: "PlanDefinition.topic", valueSet: "http://hl7.org/fhir/ValueSet/definition-topic" }, - "useContext" : { + + "useContext": { name: "useContext", dataType: r4:UsageContext, min: 0, @@ -393,25 +429,29 @@ public const RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION = "PlanDefinition"; isArray: true, path: "PlanDefinition.useContext" }, - "status" : { + + "status": { name: "status", - dataType: CDS_Hooks_Service_PlanDefinitionStatus, + dataType: CDSHooksServicePlanDefinitionStatus, min: 1, max: 1, isArray: false, path: "PlanDefinition.status", valueSet: "http://hl7.org/fhir/ValueSet/publication-status|4.0.1" } + }, + serializers: { 'xml: r4:fhirResourceXMLSerializer, 'json: r4:fhirResourceJsonSerializer } } -public type CDS_Hooks_Service_PlanDefinition record {| + +public type CDSHooksServicePlanDefinition record {| *r4:DomainResource; - RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION resourceType = RESOURCE_NAME_CDS_HOOKS_SERVICE_PLANDEFINITION; + RESOURCE_NAME_CDSHOOKSSERVICEPLANDEFINITION resourceType = RESOURCE_NAME_CDSHOOKSSERVICEPLANDEFINITION; r4:dateTime date?; r4:markdown copyright?; @@ -430,12 +470,12 @@ public type CDS_Hooks_Service_PlanDefinition record {| r4:canonical[] library?; r4:ContactDetail[] contact?; r4:ContactDetail[] endorser?; - CDS_Hooks_Service_PlanDefinitionAction[] action?; + CDSHooksServicePlanDefinitionAction[] action?; string id?; r4:Narrative text?; r4:ContactDetail[] editor?; r4:Identifier[] identifier?; - CDS_Hooks_Service_PlanDefinitionGoal[] goal?; + CDSHooksServicePlanDefinitionGoal[] goal?; r4:RelatedArtifact[] relatedArtifact?; r4:Period effectivePeriod?; r4:ContactDetail[] author?; @@ -452,19 +492,20 @@ public type CDS_Hooks_Service_PlanDefinition record {| string publisher?; r4:CodeableConcept[] topic?; r4:UsageContext[] useContext?; - CDS_Hooks_Service_PlanDefinitionStatus status; - r4:Element ...; + CDSHooksServicePlanDefinitionStatus status; + r4:Element...; |}; -# FHIR CDS_Hooks_Service_PlanDefinitionActionParticipant datatype record. +# FHIR CDSHooksServicePlanDefinitionActionRelatedAction datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + role - The role the participant should play in performing the described action. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + actionId - The element id of the related action. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + 'type - The type of participant in the action. +# + relationship - The relationship of this action to the related action. + @r4:DataTypeDefinition { - name: "CDS_Hooks_Service_PlanDefinitionActionParticipant", + name: "CDSHooksServicePlanDefinitionActionRelatedAction", baseType: (), elements: { "extension": { @@ -474,17 +515,9 @@ public type CDS_Hooks_Service_PlanDefinition record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "PlanDefinition.action.participant.extension" - }, - "role": { - name: "role", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "The role the participant should play in performing the described action.", - path: "PlanDefinition.action.participant.role" + path: "PlanDefinition.action.relatedAction.extension" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -492,8 +525,19 @@ public type CDS_Hooks_Service_PlanDefinition record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "PlanDefinition.action.participant.modifierExtension" + path: "PlanDefinition.action.relatedAction.modifierExtension" + }, + + "actionId": { + name: "actionId", + dataType: r4:id, + min: 1, + max: 1, + isArray: false, + description: "The element id of the related action.", + path: "PlanDefinition.action.relatedAction.actionId" }, + "id": { name: "id", dataType: string, @@ -501,55 +545,89 @@ public type CDS_Hooks_Service_PlanDefinition record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "PlanDefinition.action.participant.id" + path: "PlanDefinition.action.relatedAction.id" }, - "type": { - name: "type", - dataType: CDS_Hooks_Service_PlanDefinitionActionParticipantType, + + "relationship": { + name: "relationship", + dataType: CDSHooksServicePlanDefinitionActionRelatedActionRelationship, min: 1, max: 1, isArray: false, - description: "The type of participant in the action.", - path: "PlanDefinition.action.participant.type" + description: "The relationship of this action to the related action.", + path: "PlanDefinition.action.relatedAction.relationship" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type CDS_Hooks_Service_PlanDefinitionActionParticipant record {| + +public type CDSHooksServicePlanDefinitionActionRelatedAction record {| *r4:BackboneElement; r4:Extension[] extension?; - r4:CodeableConcept role?; r4:Extension[] modifierExtension?; + r4:id actionId; string id?; - CDS_Hooks_Service_PlanDefinitionActionParticipantType 'type; + CDSHooksServicePlanDefinitionActionRelatedActionRelationship relationship; |}; -# FHIR CDS_Hooks_Service_PlanDefinitionActionRelatedAction datatype record. +# CDSHooksServicePlanDefinitionActionSelectionBehavior enum +public enum CDSHooksServicePlanDefinitionActionSelectionBehavior { + CODE_SELECTIONBEHAVIOR_ALL = "all", + CODE_SELECTIONBEHAVIOR_EXACTLY_ONE = "exactly-one", + CODE_SELECTIONBEHAVIOR_AT_MOST_ONE = "at-most-one", + CODE_SELECTIONBEHAVIOR_ALL_OR_NONE = "all-or-none", + CODE_SELECTIONBEHAVIOR_ANY = "any", + CODE_SELECTIONBEHAVIOR_ONE_OR_MORE = "one-or-more" +} + +# CDSHooksServicePlanDefinitionActionPriority enum +public enum CDSHooksServicePlanDefinitionActionPriority { + CODE_PRIORITY_STAT = "stat", + CODE_PRIORITY_ROUTINE = "routine", + CODE_PRIORITY_URGENT = "urgent", + CODE_PRIORITY_ASAP = "asap" +} + +# CDSHooksServicePlanDefinitionActionConditionKind enum +public enum CDSHooksServicePlanDefinitionActionConditionKind { + CODE_KIND_STOP = "stop", + CODE_KIND_START = "start", + CODE_KIND_APPLICABILITY = "applicability" +} + +# CDSHooksServicePlanDefinitionActionPrecheckBehavior enum +public enum CDSHooksServicePlanDefinitionActionPrecheckBehavior { + CODE_PRECHECKBEHAVIOR_NO = "no", + CODE_PRECHECKBEHAVIOR_YES = "yes" +} + +# FHIR CDSHooksServicePlanDefinitionActionDynamicValue datatype record. # -# + offsetPlanDefinitionRange - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. +# + path - The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolveable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](http://hl7.org/fhir/fhirpath.html#simple) for full details). # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + offsetPlanDefinitionDuration - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. +# + expression - An expression specifying the value of the customized element. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + actionId - The element id of the related action. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + relationship - The relationship of this action to the related action. + @r4:DataTypeDefinition { - name: "CDS_Hooks_Service_PlanDefinitionActionRelatedAction", + name: "CDSHooksServicePlanDefinitionActionDynamicValue", baseType: (), elements: { - "offsetPlanDefinitionRange": { - name: "offsetPlanDefinitionRange", - dataType: r4:Range, + "path": { + name: "path", + dataType: string, min: 0, max: 1, isArray: false, - description: "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", - path: "PlanDefinition.action.relatedAction.offset[x]" + description: "The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolveable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](http://hl7.org/fhir/fhirpath.html#simple) for full details).", + path: "PlanDefinition.action.dynamicValue.path" }, + "extension": { name: "extension", dataType: r4:Extension, @@ -557,17 +635,19 @@ public type CDS_Hooks_Service_PlanDefinitionActionParticipant record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "PlanDefinition.action.relatedAction.extension" + path: "PlanDefinition.action.dynamicValue.extension" }, - "offsetPlanDefinitionDuration": { - name: "offsetPlanDefinitionDuration", - dataType: r4:Duration, + + "expression": { + name: "expression", + dataType: r4:Expression, min: 0, max: 1, isArray: false, - description: "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", - path: "PlanDefinition.action.relatedAction.offset[x]" + description: "An expression specifying the value of the customized element.", + path: "PlanDefinition.action.dynamicValue.expression" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -575,17 +655,9 @@ public type CDS_Hooks_Service_PlanDefinitionActionParticipant record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "PlanDefinition.action.relatedAction.modifierExtension" - }, - "actionId": { - name: "actionId", - dataType: r4:id, - min: 1, - max: 1, - isArray: false, - description: "The element id of the related action.", - path: "PlanDefinition.action.relatedAction.actionId" + path: "PlanDefinition.action.dynamicValue.modifierExtension" }, + "id": { name: "id", dataType: string, @@ -593,104 +665,44 @@ public type CDS_Hooks_Service_PlanDefinitionActionParticipant record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "PlanDefinition.action.relatedAction.id" - }, - "relationship": { - name: "relationship", - dataType: CDS_Hooks_Service_PlanDefinitionActionRelatedActionRelationship, - min: 1, - max: 1, - isArray: false, - description: "The relationship of this action to the related action.", - path: "PlanDefinition.action.relatedAction.relationship" + path: "PlanDefinition.action.dynamicValue.id" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type CDS_Hooks_Service_PlanDefinitionActionRelatedAction record {| + +public type CDSHooksServicePlanDefinitionActionDynamicValue record {| *r4:BackboneElement; - r4:Range offsetPlanDefinitionRange?; + string path?; r4:Extension[] extension?; - r4:Duration offsetPlanDefinitionDuration?; + r4:Expression expression?; r4:Extension[] modifierExtension?; - r4:id actionId; string id?; - CDS_Hooks_Service_PlanDefinitionActionRelatedActionRelationship relationship; |}; -# FHIR CDS_Hooks_Service_PlanDefinitionAction datatype record. +# CDSHooksServicePlanDefinitionActionCardinalityBehavior enum +public enum CDSHooksServicePlanDefinitionActionCardinalityBehavior { + CODE_CARDINALITYBEHAVIOR_SINGLE = "single", + CODE_CARDINALITYBEHAVIOR_MULTIPLE = "multiple" +} + +# FHIR CDSHooksServicePlanDefinitionActionParticipant datatype record. # -# + reason - A description of why this action is necessary or appropriate. -# + cardinalityBehavior - Defines whether the action can be selected multiple times. -# + definitionCanonical - A reference to an ActivityDefinition that describes the action to be taken in detail, or a PlanDefinition that describes a series of actions to be taken. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + code - A code that provides meaning for the action or action group. For example, a section may have a LOINC code for the section of a documentation template. -# + goalId - Identifies goals that this action supports. The reference must be to a goal element defined within this plan definition. -# + subjectCodeableConcept - A code or group definition that describes the intended subject of the action and its children, if any. -# + prefix - A user-visible prefix for the action. +# + role - The role the participant should play in performing the described action. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + description - A brief description of the action used to provide a summary to display to the user. -# + definitionUri - A reference to an ActivityDefinition that describes the action to be taken in detail, or a PlanDefinition that describes a series of actions to be taken. -# + title - The title of the action displayed to a user. -# + 'type - The type of action to perform (create, update, remove). -# + groupingBehavior - Defines the grouping behavior for the action and its children. -# + participant - Indicates who should participate in performing the action described. -# + output - Defines the outputs of the action, if any. -# + transform - A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input. -# + dynamicValue - Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result. -# + timingAge - An optional value describing when the action should be performed. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + relatedAction - A relationship to another action such as 'before' or '30-60 minutes after start of'. -# + timingDuration - An optional value describing when the action should be performed. -# + textEquivalent - A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically. -# + timingTiming - An optional value describing when the action should be performed. -# + timingPeriod - An optional value describing when the action should be performed. -# + documentation - Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources. -# + trigger - A description of when the action should be triggered. -# + priority - Indicates how quickly the action should be addressed with respect to other actions. -# + subjectReference - A code or group definition that describes the intended subject of the action and its children, if any. -# + input - Defines input data requirements for the action. -# + requiredBehavior - Defines the required behavior for the action. -# + condition - An expression that describes applicability criteria or start/stop conditions for the action. -# + selectionBehavior - Defines the selection behavior for the action and its children. -# + timingRange - An optional value describing when the action should be performed. -# + precheckBehavior - Defines whether the action should usually be preselected. -# + timingDateTime - An optional value describing when the action should be performed. +# + 'type - The type of participant in the action. + @r4:DataTypeDefinition { - name: "CDS_Hooks_Service_PlanDefinitionAction", + name: "CDSHooksServicePlanDefinitionActionParticipant", baseType: (), elements: { - "reason": { - name: "reason", - dataType: r4:CodeableConcept, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "A description of why this action is necessary or appropriate.", - path: "PlanDefinition.action.reason" - }, - "cardinalityBehavior": { - name: "cardinalityBehavior", - dataType: CDS_Hooks_Service_PlanDefinitionActionCardinalityBehavior, - min: 0, - max: 1, - isArray: false, - description: "Defines whether the action can be selected multiple times.", - path: "PlanDefinition.action.cardinalityBehavior" - }, - "definitionCanonical": { - name: "definitionCanonical", - dataType: r4:canonical, - min: 0, - max: 1, - isArray: false, - description: "A reference to an ActivityDefinition that describes the action to be taken in detail, or a PlanDefinition that describes a series of actions to be taken.", - path: "PlanDefinition.action.definition[x]" - }, "extension": { name: "extension", dataType: r4:Extension, @@ -698,143 +710,143 @@ public type CDS_Hooks_Service_PlanDefinitionActionRelatedAction record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "PlanDefinition.action.extension" + path: "PlanDefinition.action.participant.extension" }, - "code": { - name: "code", + + "role": { + name: "role", dataType: r4:CodeableConcept, min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "A code that provides meaning for the action or action group. For example, a section may have a LOINC code for the section of a documentation template.", - path: "PlanDefinition.action.code" + max: 1, + isArray: false, + description: "The role the participant should play in performing the described action.", + path: "PlanDefinition.action.participant.role" }, - "goalId": { - name: "goalId", - dataType: r4:id, + + "modifierExtension": { + name: "modifierExtension", + dataType: r4:Extension, min: 0, max: int:MAX_VALUE, isArray: true, - description: "Identifies goals that this action supports. The reference must be to a goal element defined within this plan definition.", - path: "PlanDefinition.action.goalId" + description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + path: "PlanDefinition.action.participant.modifierExtension" }, - "subjectCodeableConcept": { - name: "subjectCodeableConcept", - dataType: r4:CodeableConcept, + + "id": { + name: "id", + dataType: string, min: 0, max: 1, isArray: false, - description: "A code or group definition that describes the intended subject of the action and its children, if any.", - path: "PlanDefinition.action.subject[x]" - }, - "prefix": { - name: "prefix", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "A user-visible prefix for the action.", - path: "PlanDefinition.action.prefix" - }, - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "PlanDefinition.action.modifierExtension" - }, - "description": { - name: "description", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "A brief description of the action used to provide a summary to display to the user.", - path: "PlanDefinition.action.description" - }, - "definitionUri": { - name: "definitionUri", - dataType: r4:uri, - min: 0, - max: 1, - isArray: false, - description: "A reference to an ActivityDefinition that describes the action to be taken in detail, or a PlanDefinition that describes a series of actions to be taken.", - path: "PlanDefinition.action.definition[x]" - }, - "title": { - name: "title", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "The title of the action displayed to a user.", - path: "PlanDefinition.action.title" + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "PlanDefinition.action.participant.id" }, + "type": { name: "type", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "The type of action to perform (create, update, remove).", - path: "PlanDefinition.action.type" - }, - "groupingBehavior": { - name: "groupingBehavior", - dataType: CDS_Hooks_Service_PlanDefinitionActionGroupingBehavior, - min: 0, + dataType: CDSHooksServicePlanDefinitionActionParticipantType, + min: 1, max: 1, isArray: false, - description: "Defines the grouping behavior for the action and its children.", - path: "PlanDefinition.action.groupingBehavior" - }, - "participant": { - name: "participant", - dataType: CDS_Hooks_Service_PlanDefinitionActionParticipant, + description: "The type of participant in the action.", + path: "PlanDefinition.action.participant.type" + } + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CDSHooksServicePlanDefinitionActionParticipant record {| + *r4:BackboneElement; + + r4:Extension[] extension?; + r4:CodeableConcept role?; + r4:Extension[] modifierExtension?; + string id?; + CDSHooksServicePlanDefinitionActionParticipantType 'type; +|}; + +# FHIR CDSHooksServicePlanDefinitionGoal datatype record. +# +# + addresses - Identifies problems, conditions, issues, or concerns the goal is intended to address. +# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + documentation - Didactic or other informational resources associated with the goal that provide further supporting information about the goal. Information resources can include inline text commentary and links to web resources. +# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + 'start - The event after which the goal should begin being pursued. +# + description - Human-readable and/or coded description of a specific desired objective of care, such as 'control blood pressure' or 'negotiate an obstacle course' or 'dance with child at wedding'. +# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + category - Indicates a category the goal falls within. +# + priority - Identifies the expected level of importance associated with reaching/sustaining the defined goal. +# + target - Indicates what should be done and within what timeframe. + +@r4:DataTypeDefinition { + name: "CDSHooksServicePlanDefinitionGoal", + baseType: (), + elements: { + "addresses": { + name: "addresses", + dataType: r4:CodeableConcept, min: 0, max: int:MAX_VALUE, isArray: true, - description: "Indicates who should participate in performing the action described.", - path: "PlanDefinition.action.participant" + description: "Identifies problems, conditions, issues, or concerns the goal is intended to address.", + path: "PlanDefinition.goal.addresses" }, - "output": { - name: "output", - dataType: r4:DataRequirement, + + "extension": { + name: "extension", + dataType: r4:Extension, min: 0, max: int:MAX_VALUE, isArray: true, - description: "Defines the outputs of the action, if any.", - path: "PlanDefinition.action.output" + description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "PlanDefinition.goal.extension" }, - "transform": { - name: "transform", - dataType: r4:canonical, + + "documentation": { + name: "documentation", + dataType: r4:RelatedArtifact, min: 0, - max: 1, - isArray: false, - description: "A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input.", - path: "PlanDefinition.action.transform" + max: int:MAX_VALUE, + isArray: true, + description: "Didactic or other informational resources associated with the goal that provide further supporting information about the goal. Information resources can include inline text commentary and links to web resources.", + path: "PlanDefinition.goal.documentation" }, - "dynamicValue": { - name: "dynamicValue", - dataType: CDS_Hooks_Service_PlanDefinitionActionDynamicValue, + + "modifierExtension": { + name: "modifierExtension", + dataType: r4:Extension, min: 0, max: int:MAX_VALUE, isArray: true, - description: "Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result.", - path: "PlanDefinition.action.dynamicValue" + description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + path: "PlanDefinition.goal.modifierExtension" }, - "timingAge": { - name: "timingAge", - dataType: r4:Age, + + "start": { + name: "start", + dataType: r4:CodeableConcept, min: 0, max: 1, isArray: false, - description: "An optional value describing when the action should be performed.", - path: "PlanDefinition.action.timing[x]" + description: "The event after which the goal should begin being pursued.", + path: "PlanDefinition.goal.start" }, + + "description": { + name: "description", + dataType: r4:CodeableConcept, + min: 1, + max: 1, + isArray: false, + description: "Human-readable and/or coded description of a specific desired objective of care, such as 'control blood pressure' or 'negotiate an obstacle course' or 'dance with child at wedding'.", + path: "PlanDefinition.goal.description" + }, + "id": { name: "id", dataType: string, @@ -842,232 +854,231 @@ public type CDS_Hooks_Service_PlanDefinitionActionRelatedAction record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "PlanDefinition.action.id" - }, - "relatedAction": { - name: "relatedAction", - dataType: CDS_Hooks_Service_PlanDefinitionActionRelatedAction, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "A relationship to another action such as 'before' or '30-60 minutes after start of'.", - path: "PlanDefinition.action.relatedAction" + path: "PlanDefinition.goal.id" }, - "timingDuration": { - name: "timingDuration", - dataType: r4:Duration, + + "category": { + name: "category", + dataType: r4:CodeableConcept, min: 0, max: 1, isArray: false, - description: "An optional value describing when the action should be performed.", - path: "PlanDefinition.action.timing[x]" + description: "Indicates a category the goal falls within.", + path: "PlanDefinition.goal.category" }, - "textEquivalent": { - name: "textEquivalent", - dataType: string, + + "priority": { + name: "priority", + dataType: r4:CodeableConcept, min: 0, max: 1, isArray: false, - description: "A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically.", - path: "PlanDefinition.action.textEquivalent" + description: "Identifies the expected level of importance associated with reaching/sustaining the defined goal.", + path: "PlanDefinition.goal.priority" }, - "timingTiming": { - name: "timingTiming", - dataType: r4:Timing, + + "target": { + name: "target", + dataType: CDSHooksServicePlanDefinitionGoalTarget, min: 0, - max: 1, - isArray: false, - description: "An optional value describing when the action should be performed.", - path: "PlanDefinition.action.timing[x]" - }, - "timingPeriod": { - name: "timingPeriod", - dataType: r4:Period, + max: int:MAX_VALUE, + isArray: true, + description: "Indicates what should be done and within what timeframe.", + path: "PlanDefinition.goal.target" + } + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type CDSHooksServicePlanDefinitionGoal record {| + *r4:BackboneElement; + + r4:CodeableConcept[] addresses?; + r4:Extension[] extension?; + r4:RelatedArtifact[] documentation?; + r4:Extension[] modifierExtension?; + r4:CodeableConcept 'start?; + r4:CodeableConcept description; + string id?; + r4:CodeableConcept category?; + r4:CodeableConcept priority?; + CDSHooksServicePlanDefinitionGoalTarget[] target?; +|}; + +# CDSHooksServicePlanDefinitionStatus enum +public enum CDSHooksServicePlanDefinitionStatus { + CODE_STATUS_DRAFT = "draft", + CODE_STATUS_ACTIVE = "active", + CODE_STATUS_RETIRED = "retired", + CODE_STATUS_UNKNOWN = "unknown" +} + +# CDSHooksServicePlanDefinitionActionRelatedActionRelationship enum +public enum CDSHooksServicePlanDefinitionActionRelatedActionRelationship { + CODE_RELATIONSHIP_AFTER_END = "after-end", + CODE_RELATIONSHIP_BEFORE = "before", + CODE_RELATIONSHIP_CONCURRENT_WITH_START = "concurrent-with-start", + CODE_RELATIONSHIP_CONCURRENT = "concurrent", + CODE_RELATIONSHIP_BEFORE_END = "before-end", + CODE_RELATIONSHIP_AFTER = "after", + CODE_RELATIONSHIP_CONCURRENT_WITH_END = "concurrent-with-end", + CODE_RELATIONSHIP_AFTER_START = "after-start", + CODE_RELATIONSHIP_BEFORE_START = "before-start" +} + +# CDSHooksServicePlanDefinitionActionRequiredBehavior enum +public enum CDSHooksServicePlanDefinitionActionRequiredBehavior { + CODE_REQUIREDBEHAVIOR_COULD = "could", + CODE_REQUIREDBEHAVIOR_MUST = "must", + CODE_REQUIREDBEHAVIOR_MUST_UNLESS_DOCUMENTED = "must-unless-documented" +} + +# FHIR CDSHooksServicePlanDefinitionGoalTarget datatype record. +# +# + detailRange - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + measure - The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level. +# + due - Indicates the timeframe after the start of the goal in which the goal should be met. +# + detailQuantity - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + detailCodeableConcept - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. + +@r4:DataTypeDefinition { + name: "CDSHooksServicePlanDefinitionGoalTarget", + baseType: (), + elements: { + "detailRange": { + name: "detailRange", + dataType: r4:Range, min: 0, max: 1, isArray: false, - description: "An optional value describing when the action should be performed.", - path: "PlanDefinition.action.timing[x]" - }, - "documentation": { - name: "documentation", - dataType: r4:RelatedArtifact, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources.", - path: "PlanDefinition.action.documentation" + description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", + path: "PlanDefinition.goal.target.detail[x]" }, - "trigger": { - name: "trigger", - dataType: r4:TriggerDefinition, + + "extension": { + name: "extension", + dataType: r4:Extension, min: 0, max: int:MAX_VALUE, isArray: true, - description: "A description of when the action should be triggered.", - path: "PlanDefinition.action.trigger" + description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "PlanDefinition.goal.target.extension" }, - "priority": { - name: "priority", - dataType: CDS_Hooks_Service_PlanDefinitionActionPriority, + + "measure": { + name: "measure", + dataType: r4:CodeableConcept, min: 0, max: 1, isArray: false, - description: "Indicates how quickly the action should be addressed with respect to other actions.", - path: "PlanDefinition.action.priority" + description: "The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.", + path: "PlanDefinition.goal.target.measure" }, - "subjectReference": { - name: "subjectReference", - dataType: r4:Reference, + + "due": { + name: "due", + dataType: r4:Duration, min: 0, max: 1, isArray: false, - description: "A code or group definition that describes the intended subject of the action and its children, if any.", - path: "PlanDefinition.action.subject[x]" - }, - "input": { - name: "input", - dataType: r4:DataRequirement, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Defines input data requirements for the action.", - path: "PlanDefinition.action.input" + description: "Indicates the timeframe after the start of the goal in which the goal should be met.", + path: "PlanDefinition.goal.target.due" }, - "requiredBehavior": { - name: "requiredBehavior", - dataType: CDS_Hooks_Service_PlanDefinitionActionRequiredBehavior, + + "detailQuantity": { + name: "detailQuantity", + dataType: r4:Quantity, min: 0, max: 1, isArray: false, - description: "Defines the required behavior for the action.", - path: "PlanDefinition.action.requiredBehavior" + description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", + path: "PlanDefinition.goal.target.detail[x]" }, - "condition": { - name: "condition", - dataType: CDS_Hooks_Service_PlanDefinitionActionCondition, + + "modifierExtension": { + name: "modifierExtension", + dataType: r4:Extension, min: 0, max: int:MAX_VALUE, isArray: true, - description: "An expression that describes applicability criteria or start/stop conditions for the action.", - path: "PlanDefinition.action.condition" - }, - "selectionBehavior": { - name: "selectionBehavior", - dataType: CDS_Hooks_Service_PlanDefinitionActionSelectionBehavior, - min: 0, - max: 1, - isArray: false, - description: "Defines the selection behavior for the action and its children.", - path: "PlanDefinition.action.selectionBehavior" - }, - "timingRange": { - name: "timingRange", - dataType: r4:Range, - min: 0, - max: 1, - isArray: false, - description: "An optional value describing when the action should be performed.", - path: "PlanDefinition.action.timing[x]" + description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + path: "PlanDefinition.goal.target.modifierExtension" }, - "precheckBehavior": { - name: "precheckBehavior", - dataType: CDS_Hooks_Service_PlanDefinitionActionPrecheckBehavior, + + "detailCodeableConcept": { + name: "detailCodeableConcept", + dataType: r4:CodeableConcept, min: 0, max: 1, isArray: false, - description: "Defines whether the action should usually be preselected.", - path: "PlanDefinition.action.precheckBehavior" + description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", + path: "PlanDefinition.goal.target.detail[x]" }, - "timingDateTime": { - name: "timingDateTime", - dataType: r4:dateTime, + + "id": { + name: "id", + dataType: string, min: 0, max: 1, isArray: false, - description: "An optional value describing when the action should be performed.", - path: "PlanDefinition.action.timing[x]" + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "PlanDefinition.goal.target.id" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type CDS_Hooks_Service_PlanDefinitionAction record {| + +public type CDSHooksServicePlanDefinitionGoalTarget record {| *r4:BackboneElement; - r4:CodeableConcept[] reason?; - CDS_Hooks_Service_PlanDefinitionActionCardinalityBehavior cardinalityBehavior?; - r4:canonical definitionCanonical?; + r4:Range detailRange?; r4:Extension[] extension?; - r4:CodeableConcept[] code?; - r4:id[] goalId?; - r4:CodeableConcept subjectCodeableConcept?; - string prefix?; + r4:CodeableConcept measure?; + r4:Duration due?; + r4:Quantity detailQuantity?; r4:Extension[] modifierExtension?; - string description?; - r4:uri definitionUri?; - string title?; - r4:CodeableConcept 'type?; - CDS_Hooks_Service_PlanDefinitionActionGroupingBehavior groupingBehavior?; - CDS_Hooks_Service_PlanDefinitionActionParticipant[] participant?; - r4:DataRequirement[] output?; - r4:canonical transform?; - CDS_Hooks_Service_PlanDefinitionActionDynamicValue[] dynamicValue?; - r4:Age timingAge?; + r4:CodeableConcept detailCodeableConcept?; string id?; - CDS_Hooks_Service_PlanDefinitionActionRelatedAction[] relatedAction?; - r4:Duration timingDuration?; - string textEquivalent?; - r4:Timing timingTiming?; - r4:Period timingPeriod?; - r4:RelatedArtifact[] documentation?; - r4:TriggerDefinition[] trigger?; - CDS_Hooks_Service_PlanDefinitionActionPriority priority?; - r4:Reference subjectReference?; - r4:DataRequirement[] input?; - CDS_Hooks_Service_PlanDefinitionActionRequiredBehavior requiredBehavior?; - CDS_Hooks_Service_PlanDefinitionActionCondition[] condition?; - CDS_Hooks_Service_PlanDefinitionActionSelectionBehavior selectionBehavior?; - r4:Range timingRange?; - CDS_Hooks_Service_PlanDefinitionActionPrecheckBehavior precheckBehavior?; - r4:dateTime timingDateTime?; |}; -# CDS_Hooks_Service_PlanDefinitionActionRequiredBehavior enum -public enum CDS_Hooks_Service_PlanDefinitionActionRequiredBehavior { - CODE_REQUIREDBEHAVIOR_COULD = "could", - CODE_REQUIREDBEHAVIOR_MUST = "must", - CODE_REQUIREDBEHAVIOR_MUST_UNLESS_DOCUMENTED = "must-unless-documented" +# CDSHooksServicePlanDefinitionActionGroupingBehavior enum +public enum CDSHooksServicePlanDefinitionActionGroupingBehavior { + CODE_GROUPINGBEHAVIOR_VISUAL_GROUP = "visual-group", + CODE_GROUPINGBEHAVIOR_SENTENCE_GROUP = "sentence-group", + CODE_GROUPINGBEHAVIOR_LOGICAL_GROUP = "logical-group" } -# CDS_Hooks_Service_PlanDefinitionActionPrecheckBehavior enum -public enum CDS_Hooks_Service_PlanDefinitionActionPrecheckBehavior { - CODE_PRECHECKBEHAVIOR_NO = "no", - CODE_PRECHECKBEHAVIOR_YES = "yes" +# CDSHooksServicePlanDefinitionActionParticipantType enum +public enum CDSHooksServicePlanDefinitionActionParticipantType { + CODE_TYPE_RELATED_PERSON = "related-person", + CODE_TYPE_PRACTITIONER = "practitioner", + CODE_TYPE_PATIENT = "patient", + CODE_TYPE_DEVICE = "device" } -# FHIR CDS_Hooks_Service_PlanDefinitionActionDynamicValue datatype record. +# FHIR CDSHooksServicePlanDefinitionActionCondition datatype record. # -# + path - The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolveable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](http://hl7.org/fhir/fhirpath.html#simple) for full details). # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + expression - An expression specifying the value of the customized element. +# + expression - An expression that returns true or false, indicating whether the condition is satisfied. +# + kind - The kind of condition. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -@r4:DataTypeDefinition { - name: "CDS_Hooks_Service_PlanDefinitionActionDynamicValue", - baseType: (), - elements: { - "path": { - name: "path", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolveable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](http://hl7.org/fhir/fhirpath.html#simple) for full details).", - path: "PlanDefinition.action.dynamicValue.path" - }, + +@r4:DataTypeDefinition { + name: "CDSHooksServicePlanDefinitionActionCondition", + baseType: (), + elements: { "extension": { name: "extension", dataType: r4:Extension, @@ -1075,17 +1086,29 @@ public enum CDS_Hooks_Service_PlanDefinitionActionPrecheckBehavior { max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "PlanDefinition.action.dynamicValue.extension" + path: "PlanDefinition.action.condition.extension" }, + "expression": { name: "expression", dataType: r4:Expression, min: 0, max: 1, isArray: false, - description: "An expression specifying the value of the customized element.", - path: "PlanDefinition.action.dynamicValue.expression" + description: "An expression that returns true or false, indicating whether the condition is satisfied.", + path: "PlanDefinition.action.condition.expression" + }, + + "kind": { + name: "kind", + dataType: CDSHooksServicePlanDefinitionActionConditionKind, + min: 1, + max: 1, + isArray: false, + description: "The kind of condition.", + path: "PlanDefinition.action.condition.kind" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -1093,8 +1116,9 @@ public enum CDS_Hooks_Service_PlanDefinitionActionPrecheckBehavior { max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "PlanDefinition.action.dynamicValue.modifierExtension" + path: "PlanDefinition.action.condition.modifierExtension" }, + "id": { name: "id", dataType: string, @@ -1102,64 +1126,100 @@ public enum CDS_Hooks_Service_PlanDefinitionActionPrecheckBehavior { max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "PlanDefinition.action.dynamicValue.id" + path: "PlanDefinition.action.condition.id" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type CDS_Hooks_Service_PlanDefinitionActionDynamicValue record {| + +public type CDSHooksServicePlanDefinitionActionCondition record {| *r4:BackboneElement; - string path?; r4:Extension[] extension?; r4:Expression expression?; + CDSHooksServicePlanDefinitionActionConditionKind kind; r4:Extension[] modifierExtension?; string id?; |}; -# CDS_Hooks_Service_PlanDefinitionActionConditionKind enum -public enum CDS_Hooks_Service_PlanDefinitionActionConditionKind { - CODE_KIND_STOP = "stop", - CODE_KIND_START = "start", - CODE_KIND_APPLICABILITY = "applicability" -} - -# CDS_Hooks_Service_PlanDefinitionActionSelectionBehavior enum -public enum CDS_Hooks_Service_PlanDefinitionActionSelectionBehavior { - CODE_SELECTIONBEHAVIOR_ALL = "all", - CODE_SELECTIONBEHAVIOR_EXACTLY_ONE = "exactly-one", - CODE_SELECTIONBEHAVIOR_AT_MOST_ONE = "at-most-one", - CODE_SELECTIONBEHAVIOR_ALL_OR_NONE = "all-or-none", - CODE_SELECTIONBEHAVIOR_ANY = "any", - CODE_SELECTIONBEHAVIOR_ONE_OR_MORE = "one-or-more" -} - -# FHIR CDS_Hooks_Service_PlanDefinitionGoalTarget datatype record. +# FHIR CDSHooksServicePlanDefinitionAction datatype record. # -# + detailPlanDefinitionCodeableConcept - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + reason - A description of why this action is necessary or appropriate. +# + cardinalityBehavior - Defines whether the action can be selected multiple times. +# + definitionCanonical - A reference to an ActivityDefinition that describes the action to be taken in detail, or a PlanDefinition that describes a series of actions to be taken. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + measure - The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level. -# + due - Indicates the timeframe after the start of the goal in which the goal should be met. -# + detailPlanDefinitionQuantity - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + code - A code that provides meaning for the action or action group. For example, a section may have a LOINC code for the section of a documentation template. +# + goalId - Identifies goals that this action supports. The reference must be to a goal element defined within this plan definition. +# + subjectCodeableConcept - A code or group definition that describes the intended subject of the action and its children, if any. +# + prefix - A user-visible prefix for the action. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + description - A brief description of the action used to provide a summary to display to the user. +# + definitionUri - A reference to an ActivityDefinition that describes the action to be taken in detail, or a PlanDefinition that describes a series of actions to be taken. +# + title - The title of the action displayed to a user. +# + 'type - The type of action to perform (create, update, remove). +# + groupingBehavior - Defines the grouping behavior for the action and its children. +# + participant - Indicates who should participate in performing the action described. +# + output - Defines the outputs of the action, if any. +# + transform - A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input. +# + dynamicValue - Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result. +# + action - Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition. +# + timingAge - An optional value describing when the action should be performed. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + detailPlanDefinitionRange - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + relatedAction - A relationship to another action such as 'before' or '30-60 minutes after start of'. +# + timingDuration - An optional value describing when the action should be performed. +# + textEquivalent - A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically. +# + timingTiming - An optional value describing when the action should be performed. +# + timingPeriod - An optional value describing when the action should be performed. +# + documentation - Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources. +# + trigger - A description of when the action should be triggered. +# + priority - Indicates how quickly the action should be addressed with respect to other actions. +# + subjectReference - A code or group definition that describes the intended subject of the action and its children, if any. +# + input - Defines input data requirements for the action. +# + requiredBehavior - Defines the required behavior for the action. +# + condition - An expression that describes applicability criteria or start/stop conditions for the action. +# + selectionBehavior - Defines the selection behavior for the action and its children. +# + timingRange - An optional value describing when the action should be performed. +# + precheckBehavior - Defines whether the action should usually be preselected. +# + timingDateTime - An optional value describing when the action should be performed. + @r4:DataTypeDefinition { - name: "CDS_Hooks_Service_PlanDefinitionGoalTarget", + name: "CDSHooksServicePlanDefinitionAction", baseType: (), elements: { - "detailPlanDefinitionCodeableConcept": { - name: "detailPlanDefinitionCodeableConcept", + "reason": { + name: "reason", dataType: r4:CodeableConcept, min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A description of why this action is necessary or appropriate.", + path: "PlanDefinition.action.reason" + }, + + "cardinalityBehavior": { + name: "cardinalityBehavior", + dataType: CDSHooksServicePlanDefinitionActionCardinalityBehavior, + min: 0, max: 1, isArray: false, - description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", - path: "PlanDefinition.goal.target.detail[x]" + description: "Defines whether the action can be selected multiple times.", + path: "PlanDefinition.action.cardinalityBehavior" + }, + + "definitionCanonical": { + name: "definitionCanonical", + dataType: r4:canonical, + min: 0, + max: 1, + isArray: false, + description: "A reference to an ActivityDefinition that describes the action to be taken in detail, or a PlanDefinition that describes a series of actions to be taken.", + path: "PlanDefinition.action.definition[x]" }, + "extension": { name: "extension", dataType: r4:Extension, @@ -1167,35 +1227,49 @@ public enum CDS_Hooks_Service_PlanDefinitionActionSelectionBehavior { max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "PlanDefinition.goal.target.extension" + path: "PlanDefinition.action.extension" }, - "measure": { - name: "measure", + + "code": { + name: "code", dataType: r4:CodeableConcept, min: 0, - max: 1, - isArray: false, - description: "The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.", - path: "PlanDefinition.goal.target.measure" + max: int:MAX_VALUE, + isArray: true, + description: "A code that provides meaning for the action or action group. For example, a section may have a LOINC code for the section of a documentation template.", + path: "PlanDefinition.action.code" }, - "due": { - name: "due", - dataType: r4:Duration, + + "goalId": { + name: "goalId", + dataType: r4:id, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Identifies goals that this action supports. The reference must be to a goal element defined within this plan definition.", + path: "PlanDefinition.action.goalId" + }, + + "subjectCodeableConcept": { + name: "subjectCodeableConcept", + dataType: r4:CodeableConcept, min: 0, max: 1, isArray: false, - description: "Indicates the timeframe after the start of the goal in which the goal should be met.", - path: "PlanDefinition.goal.target.due" + description: "A code or group definition that describes the intended subject of the action and its children, if any.", + path: "PlanDefinition.action.subject[x]" }, - "detailPlanDefinitionQuantity": { - name: "detailPlanDefinitionQuantity", - dataType: r4:Quantity, + + "prefix": { + name: "prefix", + dataType: string, min: 0, max: 1, isArray: false, - description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", - path: "PlanDefinition.goal.target.detail[x]" + description: "A user-visible prefix for the action.", + path: "PlanDefinition.action.prefix" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -1203,100 +1277,119 @@ public enum CDS_Hooks_Service_PlanDefinitionActionSelectionBehavior { max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "PlanDefinition.goal.target.modifierExtension" + path: "PlanDefinition.action.modifierExtension" }, - "id": { - name: "id", + + "description": { + name: "description", dataType: string, min: 0, max: 1, isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "PlanDefinition.goal.target.id" + description: "A brief description of the action used to provide a summary to display to the user.", + path: "PlanDefinition.action.description" }, - "detailPlanDefinitionRange": { - name: "detailPlanDefinitionRange", - dataType: r4:Range, + + "definitionUri": { + name: "definitionUri", + dataType: r4:uri, min: 0, max: 1, isArray: false, - description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", - path: "PlanDefinition.goal.target.detail[x]" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CDS_Hooks_Service_PlanDefinitionGoalTarget record {| - *r4:BackboneElement; + description: "A reference to an ActivityDefinition that describes the action to be taken in detail, or a PlanDefinition that describes a series of actions to be taken.", + path: "PlanDefinition.action.definition[x]" + }, - r4:CodeableConcept detailPlanDefinitionCodeableConcept?; - r4:Extension[] extension?; - r4:CodeableConcept measure?; - r4:Duration due?; - r4:Quantity detailPlanDefinitionQuantity?; - r4:Extension[] modifierExtension?; - string id?; - r4:Range detailPlanDefinitionRange?; -|}; + "title": { + name: "title", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "The title of the action displayed to a user.", + path: "PlanDefinition.action.title" + }, -# CDS_Hooks_Service_PlanDefinitionActionPriority enum -public enum CDS_Hooks_Service_PlanDefinitionActionPriority { - CODE_PRIORITY_STAT = "stat", - CODE_PRIORITY_ROUTINE = "routine", - CODE_PRIORITY_URGENT = "urgent", - CODE_PRIORITY_ASAP = "asap" -} + "type": { + name: "type", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "The type of action to perform (create, update, remove).", + path: "PlanDefinition.action.type" + }, -# FHIR CDS_Hooks_Service_PlanDefinitionActionCondition datatype record. -# -# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + expression - An expression that returns true or false, indicating whether the condition is satisfied. -# + kind - The kind of condition. -# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -@r4:DataTypeDefinition { - name: "CDS_Hooks_Service_PlanDefinitionActionCondition", - baseType: (), - elements: { - "extension": { - name: "extension", - dataType: r4:Extension, + "groupingBehavior": { + name: "groupingBehavior", + dataType: CDSHooksServicePlanDefinitionActionGroupingBehavior, + min: 0, + max: 1, + isArray: false, + description: "Defines the grouping behavior for the action and its children.", + path: "PlanDefinition.action.groupingBehavior" + }, + + "participant": { + name: "participant", + dataType: CDSHooksServicePlanDefinitionActionParticipant, min: 0, max: int:MAX_VALUE, isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "PlanDefinition.action.condition.extension" + description: "Indicates who should participate in performing the action described.", + path: "PlanDefinition.action.participant" }, - "expression": { - name: "expression", - dataType: r4:Expression, + + "output": { + name: "output", + dataType: r4:DataRequirement, min: 0, - max: 1, - isArray: false, - description: "An expression that returns true or false, indicating whether the condition is satisfied.", - path: "PlanDefinition.action.condition.expression" + max: int:MAX_VALUE, + isArray: true, + description: "Defines the outputs of the action, if any.", + path: "PlanDefinition.action.output" }, - "kind": { - name: "kind", - dataType: CDS_Hooks_Service_PlanDefinitionActionConditionKind, - min: 1, + + "transform": { + name: "transform", + dataType: r4:canonical, + min: 0, max: 1, isArray: false, - description: "The kind of condition.", - path: "PlanDefinition.action.condition.kind" + description: "A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input.", + path: "PlanDefinition.action.transform" + }, + + "dynamicValue": { + name: "dynamicValue", + dataType: CDSHooksServicePlanDefinitionActionDynamicValue, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result.", + path: "PlanDefinition.action.dynamicValue" }, - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, + + "action": { + name: "action", + dataType: CDSHooksServicePlanDefinitionAction, min: 0, max: int:MAX_VALUE, isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "PlanDefinition.action.condition.modifierExtension" + description: "Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition.", + path: "PlanDefinition.action.action" + }, + + "timingAge": { + name: "timingAge", + dataType: r4:Age, + min: 0, + max: 1, + isArray: false, + description: "An optional value describing when the action should be performed.", + path: "PlanDefinition.action.timing[x]" }, + "id": { name: "id", dataType: string, @@ -1304,190 +1397,215 @@ public enum CDS_Hooks_Service_PlanDefinitionActionPriority { max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "PlanDefinition.action.condition.id" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type CDS_Hooks_Service_PlanDefinitionActionCondition record {| - *r4:BackboneElement; + path: "PlanDefinition.action.id" + }, - r4:Extension[] extension?; - r4:Expression expression?; - CDS_Hooks_Service_PlanDefinitionActionConditionKind kind; - r4:Extension[] modifierExtension?; - string id?; -|}; + "relatedAction": { + name: "relatedAction", + dataType: CDSHooksServicePlanDefinitionActionRelatedAction, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A relationship to another action such as 'before' or '30-60 minutes after start of'.", + path: "PlanDefinition.action.relatedAction" + }, -# CDS_Hooks_Service_PlanDefinitionActionGroupingBehavior enum -public enum CDS_Hooks_Service_PlanDefinitionActionGroupingBehavior { - CODE_GROUPINGBEHAVIOR_VISUAL_GROUP = "visual-group", - CODE_GROUPINGBEHAVIOR_SENTENCE_GROUP = "sentence-group", - CODE_GROUPINGBEHAVIOR_LOGICAL_GROUP = "logical-group" -} + "timingDuration": { + name: "timingDuration", + dataType: r4:Duration, + min: 0, + max: 1, + isArray: false, + description: "An optional value describing when the action should be performed.", + path: "PlanDefinition.action.timing[x]" + }, -# CDS_Hooks_Service_PlanDefinitionStatus enum -public enum CDS_Hooks_Service_PlanDefinitionStatus { - CODE_STATUS_DRAFT = "draft", - CODE_STATUS_ACTIVE = "active", - CODE_STATUS_RETIRED = "retired", - CODE_STATUS_UNKNOWN = "unknown" -} + "textEquivalent": { + name: "textEquivalent", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically.", + path: "PlanDefinition.action.textEquivalent" + }, -# FHIR CDS_Hooks_Service_PlanDefinitionGoal datatype record. -# -# + addresses - Identifies problems, conditions, issues, or concerns the goal is intended to address. -# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + documentation - Didactic or other informational resources associated with the goal that provide further supporting information about the goal. Information resources can include inline text commentary and links to web resources. -# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + 'start - The event after which the goal should begin being pursued. -# + description - Human-readable and/or coded description of a specific desired objective of care, such as 'control blood pressure' or 'negotiate an obstacle course' or 'dance with child at wedding'. -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + category - Indicates a category the goal falls within. -# + priority - Identifies the expected level of importance associated with reaching/sustaining the defined goal. -# + target - Indicates what should be done and within what timeframe. -@r4:DataTypeDefinition { - name: "CDS_Hooks_Service_PlanDefinitionGoal", - baseType: (), - elements: { - "addresses": { - name: "addresses", - dataType: r4:CodeableConcept, + "timingTiming": { + name: "timingTiming", + dataType: r4:Timing, min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Identifies problems, conditions, issues, or concerns the goal is intended to address.", - path: "PlanDefinition.goal.addresses" + max: 1, + isArray: false, + description: "An optional value describing when the action should be performed.", + path: "PlanDefinition.action.timing[x]" }, - "extension": { - name: "extension", - dataType: r4:Extension, + + "timingPeriod": { + name: "timingPeriod", + dataType: r4:Period, min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "PlanDefinition.goal.extension" + max: 1, + isArray: false, + description: "An optional value describing when the action should be performed.", + path: "PlanDefinition.action.timing[x]" }, + "documentation": { name: "documentation", dataType: r4:RelatedArtifact, min: 0, max: int:MAX_VALUE, isArray: true, - description: "Didactic or other informational resources associated with the goal that provide further supporting information about the goal. Information resources can include inline text commentary and links to web resources.", - path: "PlanDefinition.goal.documentation" + description: "Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources.", + path: "PlanDefinition.action.documentation" }, - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, + + "trigger": { + name: "trigger", + dataType: r4:TriggerDefinition, min: 0, max: int:MAX_VALUE, isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "PlanDefinition.goal.modifierExtension" + description: "A description of when the action should be triggered.", + path: "PlanDefinition.action.trigger" }, - "start": { - name: "start", - dataType: r4:CodeableConcept, + + "priority": { + name: "priority", + dataType: CDSHooksServicePlanDefinitionActionPriority, min: 0, max: 1, isArray: false, - description: "The event after which the goal should begin being pursued.", - path: "PlanDefinition.goal.start" + description: "Indicates how quickly the action should be addressed with respect to other actions.", + path: "PlanDefinition.action.priority" }, - "description": { - name: "description", - dataType: r4:CodeableConcept, - min: 1, + + "subjectReference": { + name: "subjectReference", + dataType: r4:Reference, + min: 0, max: 1, isArray: false, - description: "Human-readable and/or coded description of a specific desired objective of care, such as 'control blood pressure' or 'negotiate an obstacle course' or 'dance with child at wedding'.", - path: "PlanDefinition.goal.description" + description: "A code or group definition that describes the intended subject of the action and its children, if any.", + path: "PlanDefinition.action.subject[x]" }, - "id": { - name: "id", - dataType: string, + + "input": { + name: "input", + dataType: r4:DataRequirement, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Defines input data requirements for the action.", + path: "PlanDefinition.action.input" + }, + + "requiredBehavior": { + name: "requiredBehavior", + dataType: CDSHooksServicePlanDefinitionActionRequiredBehavior, min: 0, max: 1, isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "PlanDefinition.goal.id" + description: "Defines the required behavior for the action.", + path: "PlanDefinition.action.requiredBehavior" }, - "category": { - name: "category", - dataType: r4:CodeableConcept, + + "condition": { + name: "condition", + dataType: CDSHooksServicePlanDefinitionActionCondition, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "An expression that describes applicability criteria or start/stop conditions for the action.", + path: "PlanDefinition.action.condition" + }, + + "selectionBehavior": { + name: "selectionBehavior", + dataType: CDSHooksServicePlanDefinitionActionSelectionBehavior, min: 0, max: 1, isArray: false, - description: "Indicates a category the goal falls within.", - path: "PlanDefinition.goal.category" + description: "Defines the selection behavior for the action and its children.", + path: "PlanDefinition.action.selectionBehavior" }, - "priority": { - name: "priority", - dataType: r4:CodeableConcept, + + "timingRange": { + name: "timingRange", + dataType: r4:Range, min: 0, max: 1, isArray: false, - description: "Identifies the expected level of importance associated with reaching/sustaining the defined goal.", - path: "PlanDefinition.goal.priority" + description: "An optional value describing when the action should be performed.", + path: "PlanDefinition.action.timing[x]" }, - "target": { - name: "target", - dataType: CDS_Hooks_Service_PlanDefinitionGoalTarget, + + "precheckBehavior": { + name: "precheckBehavior", + dataType: CDSHooksServicePlanDefinitionActionPrecheckBehavior, min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Indicates what should be done and within what timeframe.", - path: "PlanDefinition.goal.target" + max: 1, + isArray: false, + description: "Defines whether the action should usually be preselected.", + path: "PlanDefinition.action.precheckBehavior" + }, + + "timingDateTime": { + name: "timingDateTime", + dataType: r4:dateTime, + min: 0, + max: 1, + isArray: false, + description: "An optional value describing when the action should be performed.", + path: "PlanDefinition.action.timing[x]" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type CDS_Hooks_Service_PlanDefinitionGoal record {| + +public type CDSHooksServicePlanDefinitionAction record {| *r4:BackboneElement; - r4:CodeableConcept[] addresses?; + r4:CodeableConcept[] reason?; + CDSHooksServicePlanDefinitionActionCardinalityBehavior cardinalityBehavior?; + r4:canonical definitionCanonical?; r4:Extension[] extension?; - r4:RelatedArtifact[] documentation?; + r4:CodeableConcept[] code?; + r4:id[] goalId?; + r4:CodeableConcept subjectCodeableConcept?; + string prefix?; r4:Extension[] modifierExtension?; - r4:CodeableConcept 'start?; - r4:CodeableConcept description; + string description?; + r4:uri definitionUri?; + string title?; + r4:CodeableConcept 'type?; + CDSHooksServicePlanDefinitionActionGroupingBehavior groupingBehavior?; + CDSHooksServicePlanDefinitionActionParticipant[] participant?; + r4:DataRequirement[] output?; + r4:canonical transform?; + CDSHooksServicePlanDefinitionActionDynamicValue[] dynamicValue?; + CDSHooksServicePlanDefinitionAction[] action?; + r4:Age timingAge?; string id?; - r4:CodeableConcept category?; - r4:CodeableConcept priority?; - CDS_Hooks_Service_PlanDefinitionGoalTarget[] target?; + CDSHooksServicePlanDefinitionActionRelatedAction[] relatedAction?; + r4:Duration timingDuration?; + string textEquivalent?; + r4:Timing timingTiming?; + r4:Period timingPeriod?; + r4:RelatedArtifact[] documentation?; + r4:TriggerDefinition[] trigger?; + CDSHooksServicePlanDefinitionActionPriority priority?; + r4:Reference subjectReference?; + r4:DataRequirement[] input?; + CDSHooksServicePlanDefinitionActionRequiredBehavior requiredBehavior?; + CDSHooksServicePlanDefinitionActionCondition[] condition?; + CDSHooksServicePlanDefinitionActionSelectionBehavior selectionBehavior?; + r4:Range timingRange?; + CDSHooksServicePlanDefinitionActionPrecheckBehavior precheckBehavior?; + r4:dateTime timingDateTime?; |}; -# CDS_Hooks_Service_PlanDefinitionActionCardinalityBehavior enum -public enum CDS_Hooks_Service_PlanDefinitionActionCardinalityBehavior { - CODE_CARDINALITYBEHAVIOR_SINGLE = "single", - CODE_CARDINALITYBEHAVIOR_MULTIPLE = "multiple" -} - -# CDS_Hooks_Service_PlanDefinitionActionRelatedActionRelationship enum -public enum CDS_Hooks_Service_PlanDefinitionActionRelatedActionRelationship { - CODE_RELATIONSHIP_AFTER_END = "after-end", - CODE_RELATIONSHIP_BEFORE = "before", - CODE_RELATIONSHIP_CONCURRENT_WITH_START = "concurrent-with-start", - CODE_RELATIONSHIP_CONCURRENT = "concurrent", - CODE_RELATIONSHIP_BEFORE_END = "before-end", - CODE_RELATIONSHIP_AFTER = "after", - CODE_RELATIONSHIP_CONCURRENT_WITH_END = "concurrent-with-end", - CODE_RELATIONSHIP_AFTER_START = "after-start", - CODE_RELATIONSHIP_BEFORE_START = "before-start" -} - -# CDS_Hooks_Service_PlanDefinitionActionParticipantType enum -public enum CDS_Hooks_Service_PlanDefinitionActionParticipantType { - CODE_TYPE_RELATED_PERSON = "related-person", - CODE_TYPE_PRACTITIONER = "practitioner", - CODE_TYPE_PATIENT = "patient", - CODE_TYPE_DEVICE = "device" -} - diff --git a/international401/resource_charge_item.bal b/international401/resource_charge_item.bal index 5d8a84f1..720317da 100644 --- a/international401/resource_charge_item.bal +++ b/international401/resource_charge_item.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_CHARGEITEM = "http://hl7.org/fhir/StructureDefinition/ChargeItem"; public const RESOURCE_NAME_CHARGEITEM = "ChargeItem"; +public type ChargeItemExtensions (EventBasedOn|r4:Extension|WorkflowEpisodeOfCare); + # FHIR ChargeItem resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_charge_item_definition.bal b/international401/resource_charge_item_definition.bal index 6a0726ff..00c87cd4 100644 --- a/international401/resource_charge_item_definition.bal +++ b/international401/resource_charge_item_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_CHARGEITEMDEFINITION = "http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition"; public const RESOURCE_NAME_CHARGEITEMDEFINITION = "ChargeItemDefinition"; +public type ChargeItemDefinitionExtensions (r4:Extension|Replaces); + # FHIR ChargeItemDefinition resource record. # # + resourceType - The type of the resource describes @@ -547,6 +549,7 @@ public enum ChargeItemDefinitionStatus { # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + applicability - Expressions that describe applicability criteria for the priceComponent. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + priceComponent - The price for a ChargeItem may be calculated as a base price with surcharges/deductions that apply in certain conditions. A ChargeItemDefinition resource that defines the prices, factors and conditions that apply to a billing code is currently under development. The priceComponent element can be used to offer transparency to the recipient of the Invoice of how the prices have been calculated. @r4:DataTypeDefinition { @@ -571,6 +574,17 @@ public enum ChargeItemDefinitionStatus { description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "ChargeItemDefinition.propertyGroup.modifierExtension" }, + + "applicability": { + name: "applicability", + dataType: ChargeItemDefinitionApplicability, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Expressions that describe applicability criteria for the priceComponent.", + path: "ChargeItemDefinition.propertyGroup.applicability" + }, + "id": { name: "id", dataType: string, @@ -600,6 +614,7 @@ public type ChargeItemDefinitionPropertyGroup record {| r4:Extension[] extension?; r4:Extension[] modifierExtension?; + ChargeItemDefinitionApplicability[] applicability?; string id?; ChargeItemDefinitionPropertyGroupPriceComponent[] priceComponent?; |}; diff --git a/international401/resource_claim.bal b/international401/resource_claim.bal index 5a82db4d..10025d60 100644 --- a/international401/resource_claim.bal +++ b/international401/resource_claim.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -365,7 +365,10 @@ public type Claim record {| RESOURCE_NAME_CLAIM resourceType = RESOURCE_NAME_CLAIM; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Claim.insurance constraint. This field must be an array containing at least one item." + } } ClaimInsurance[] insurance; r4:Extension[] extension?; @@ -938,9 +941,9 @@ public type ClaimProcedure record {| r4:dateTime date?; r4:positiveInt sequence; r4:Extension[] extension?; - r4:CodeableConcept procedureCodeableConcept; + r4:CodeableConcept procedureCodeableConcept?; r4:Extension[] modifierExtension?; - r4:Reference procedureReference; + r4:Reference procedureReference?; string id?; r4:Reference[] udi?; r4:CodeableConcept[] 'type?; @@ -1152,8 +1155,8 @@ public type ClaimDiagnosis record {| r4:Extension[] modifierExtension?; string id?; r4:CodeableConcept[] 'type?; - r4:Reference diagnosisReference; - r4:CodeableConcept diagnosisCodeableConcept; + r4:Reference diagnosisReference?; + r4:CodeableConcept diagnosisCodeableConcept?; |}; # FHIR ClaimItemDetailSubDetail datatype record. diff --git a/international401/resource_claim_response.bal b/international401/resource_claim_response.bal index 4984fe07..11a6e71f 100644 --- a/international401/resource_claim_response.bal +++ b/international401/resource_claim_response.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -37,6 +37,7 @@ public const RESOURCE_NAME_CLAIMRESPONSE = "ClaimResponse"; # + 'error - Errors encountered during the processing of the adjudication. # + 'type - A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service. # + processNote - A note that describes or explains adjudication results in a human readable form. +# + adjudication - The adjudication results which are presented at the header level rather than at the line-item or add-item levels. # + addItem - The first-tier service adjudications for payor added product or service lines. # + total - Categorized monetary totals for the adjudication. # + fundsReserve - A code, used only on a response to a preauthorization, to indicate whether the benefits payable have been reserved and for whom. @@ -157,6 +158,16 @@ public const RESOURCE_NAME_CLAIMRESPONSE = "ClaimResponse"; isArray: true, path: "ClaimResponse.processNote" }, + + "adjudication": { + name: "adjudication", + dataType: ClaimResponseItemAdjudication, + min: 0, + max: int:MAX_VALUE, + isArray: true, + path: "ClaimResponse.adjudication" + }, + "addItem" : { name: "addItem", dataType: ClaimResponseAddItem, @@ -368,6 +379,7 @@ public type ClaimResponse record {| ClaimResponseError[] 'error?; r4:CodeableConcept 'type; ClaimResponseProcessNote[] processNote?; + ClaimResponseItemAdjudication[] adjudication?; ClaimResponseAddItem[] addItem?; ClaimResponseTotal[] total?; r4:CodeableConcept fundsReserve?; @@ -690,7 +702,14 @@ public type ClaimResponseItem record {| *r4:BackboneElement; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.ClaimResponse.item.adjudication constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.ClaimResponse.item.adjudication constraint. This field must be an array containing at most one item." + } } ClaimResponseItemAdjudication[] adjudication; r4:positiveInt itemSequence; @@ -902,6 +921,7 @@ public type ClaimResponseProcessNote record {| # + productOrService - When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item. # + noteNumber - The numbers associated with notes below which apply to the adjudication of this item. # + servicedPeriod - The date or dates when the service or product was supplied, performed or completed. +# + adjudication - The adjudication results. # + itemSequence - Claim items which this service line is intended to replace. # + bodySite - Physical service site on the patient (limb, tooth, etc.). # + locationCodeableConcept - Where the product or service was provided. @@ -1017,6 +1037,17 @@ public type ClaimResponseProcessNote record {| description: "The date or dates when the service or product was supplied, performed or completed.", path: "ClaimResponse.addItem.serviced[x]" }, + + "adjudication": { + name: "adjudication", + dataType: ClaimResponseItemAdjudication, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "The adjudication results.", + path: "ClaimResponse.addItem.adjudication" + }, + "itemSequence": { name: "itemSequence", dataType: r4:positiveInt, @@ -1145,6 +1176,17 @@ public type ClaimResponseAddItem record {| r4:CodeableConcept productOrService; r4:positiveInt[] noteNumber?; r4:Period servicedPeriod?; + @constraint:Array { + minLength: { + value: 1, + message: "Validation failed for $.ClaimResponse.addItem.adjudication constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.ClaimResponse.addItem.adjudication constraint. This field must be an array containing at most one item." + } + } + ClaimResponseItemAdjudication[] adjudication; r4:positiveInt[] itemSequence?; r4:CodeableConcept bodySite?; r4:CodeableConcept locationCodeableConcept?; @@ -1161,6 +1203,7 @@ public type ClaimResponseAddItem record {| # FHIR ClaimResponseAddItemDetailSubDetail datatype record. # +# + adjudication - The adjudication results. # + unitPrice - If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + quantity - The number of repetitions of a service or product. @@ -1175,6 +1218,16 @@ public type ClaimResponseAddItem record {| name: "ClaimResponseAddItemDetailSubDetail", baseType: (), elements: { + "adjudication": { + name: "adjudication", + dataType: ClaimResponseItemAdjudication, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "The adjudication results.", + path: "ClaimResponse.addItem.detail.subDetail.adjudication" + }, + "unitPrice": { name: "unitPrice", dataType: r4:Money, @@ -1274,6 +1327,17 @@ public type ClaimResponseAddItem record {| public type ClaimResponseAddItemDetailSubDetail record {| *r4:BackboneElement; + @constraint:Array { + minLength: { + value: 1, + message: "Validation failed for $.ClaimResponse.addItem.detail.subDetail.adjudication constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.ClaimResponse.addItem.detail.subDetail.adjudication constraint. This field must be an array containing at most one item." + } + } + ClaimResponseItemAdjudication[] adjudication; r4:Money unitPrice?; r4:Extension[] extension?; r4:Quantity quantity?; @@ -1296,6 +1360,7 @@ public enum ClaimResponseStatus { # FHIR ClaimResponseItemDetail datatype record. # +# + adjudication - The adjudication results. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + detailSequence - A number to uniquely reference the claim detail entry. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). @@ -1306,6 +1371,16 @@ public enum ClaimResponseStatus { name: "ClaimResponseItemDetail", baseType: (), elements: { + "adjudication": { + name: "adjudication", + dataType: ClaimResponseItemAdjudication, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "The adjudication results.", + path: "ClaimResponse.item.detail.adjudication" + }, + "extension": { name: "extension", dataType: r4:Extension, @@ -1369,6 +1444,17 @@ public enum ClaimResponseStatus { public type ClaimResponseItemDetail record {| *r4:BackboneElement; + @constraint:Array { + minLength: { + value: 1, + message: "Validation failed for $.ClaimResponse.item.detail.adjudication constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.ClaimResponse.item.detail.adjudication constraint. This field must be an array containing at most one item." + } + } + ClaimResponseItemAdjudication[] adjudication; r4:Extension[] extension?; r4:positiveInt detailSequence; r4:Extension[] modifierExtension?; @@ -1394,6 +1480,7 @@ public enum ClaimResponseOutcome { # FHIR ClaimResponseItemDetailSubDetail datatype record. # +# + adjudication - The adjudication results. # + subDetailSequence - A number to uniquely reference the claim sub-detail entry. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). @@ -1403,6 +1490,16 @@ public enum ClaimResponseOutcome { name: "ClaimResponseItemDetailSubDetail", baseType: (), elements: { + "adjudication": { + name: "adjudication", + dataType: ClaimResponseItemAdjudication, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The adjudication results.", + path: "ClaimResponse.item.detail.subDetail.adjudication" + }, + "subDetailSequence": { name: "subDetailSequence", dataType: r4:positiveInt, @@ -1457,6 +1554,7 @@ public enum ClaimResponseOutcome { public type ClaimResponseItemDetailSubDetail record {| *r4:BackboneElement; + ClaimResponseItemAdjudication[] adjudication?; r4:positiveInt subDetailSequence; r4:Extension[] extension?; r4:Extension[] modifierExtension?; @@ -1571,6 +1669,7 @@ public type ClaimResponseInsurance record {| # FHIR ClaimResponseAddItemDetail datatype record. # +# + adjudication - The adjudication results. # + unitPrice - If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + quantity - The number of repetitions of a service or product. @@ -1586,6 +1685,16 @@ public type ClaimResponseInsurance record {| name: "ClaimResponseAddItemDetail", baseType: (), elements: { + "adjudication": { + name: "adjudication", + dataType: ClaimResponseItemAdjudication, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "The adjudication results.", + path: "ClaimResponse.addItem.detail.adjudication" + }, + "unitPrice": { name: "unitPrice", dataType: r4:Money, @@ -1694,6 +1803,17 @@ public type ClaimResponseInsurance record {| public type ClaimResponseAddItemDetail record {| *r4:BackboneElement; + @constraint:Array { + minLength: { + value: 1, + message: "Validation failed for $.ClaimResponse.addItem.detail.adjudication constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.ClaimResponse.addItem.detail.adjudication constraint. This field must be an array containing at most one item." + } + } + ClaimResponseItemAdjudication[] adjudication; r4:Money unitPrice?; r4:Extension[] extension?; r4:Quantity quantity?; diff --git a/international401/resource_clinical_document.bal b/international401/resource_clinical_document.bal index f28707d9..88bcca25 100644 --- a/international401/resource_clinical_document.bal +++ b/international401/resource_clinical_document.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -20,20 +20,17 @@ import ballerina/constraint; import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_CLINICAL_DOCUMENT = "http://hl7.org/fhir/StructureDefinition/clinicaldocument"; -public const RESOURCE_NAME_CLINICAL_DOCUMENT = "Composition"; +public const string PROFILE_BASE_CLINICALDOCUMENT = "http://hl7.org/fhir/StructureDefinition/clinicaldocument"; +public const RESOURCE_NAME_CLINICALDOCUMENT = "Composition"; -# FHIR Clinical_Document resource record. +public type ClinicalDocumentExtensions (CompositionClinicaldocumentOtherConfidentiality|CompositionClinicaldocumentVersionNumber|CqmValidityPeriod|EventBasedOn|r4:Extension|WorkflowEpisodeOfCare|WorkflowResearchStudy); + +# FHIR ClinicalDocument resource record. # # + resourceType - The type of the resource describes # + date - The composition editing time, when the composition was last logically changed by the author. # + identifier - A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time. # + extension - An Extension -# * extension Slicings -# 1) Extension: Version-specific identifier for composition -# - min = 0 -# - max = * -# # + custodian - Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information. # + author - Identifies who is responsible for the information in the composition, not necessarily who typed it in. # + subject - Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure). @@ -135,7 +132,7 @@ public const RESOURCE_NAME_CLINICAL_DOCUMENT = "Composition"; }, "section" : { name: "section", - dataType: Clinical_DocumentSection, + dataType: ClinicalDocumentSection, min: 0, max: int:MAX_VALUE, isArray: true, @@ -168,7 +165,7 @@ public const RESOURCE_NAME_CLINICAL_DOCUMENT = "Composition"; }, "attester" : { name: "attester", - dataType: Clinical_DocumentAttester, + dataType: ClinicalDocumentAttester, min: 0, max: int:MAX_VALUE, isArray: true, @@ -225,7 +222,7 @@ public const RESOURCE_NAME_CLINICAL_DOCUMENT = "Composition"; }, "event" : { name: "event", - dataType: Clinical_DocumentEvent, + dataType: ClinicalDocumentEvent, min: 0, max: int:MAX_VALUE, isArray: true, @@ -233,7 +230,7 @@ public const RESOURCE_NAME_CLINICAL_DOCUMENT = "Composition"; }, "relatesTo" : { name: "relatesTo", - dataType: Clinical_DocumentRelatesTo, + dataType: ClinicalDocumentRelatesTo, min: 0, max: int:MAX_VALUE, isArray: true, @@ -241,7 +238,7 @@ public const RESOURCE_NAME_CLINICAL_DOCUMENT = "Composition"; }, "status" : { name: "status", - dataType: Clinical_DocumentStatus, + dataType: ClinicalDocumentStatus, min: 1, max: 1, isArray: false, @@ -254,83 +251,57 @@ public const RESOURCE_NAME_CLINICAL_DOCUMENT = "Composition"; 'json: r4:fhirResourceJsonSerializer } } -public type Clinical_Document record {| + +public type ClinicalDocument record {| *r4:DomainResource; - RESOURCE_NAME_CLINICAL_DOCUMENT resourceType = RESOURCE_NAME_CLINICAL_DOCUMENT; + RESOURCE_NAME_CLINICALDOCUMENT resourceType = RESOURCE_NAME_CLINICALDOCUMENT; r4:dateTime date; r4:Identifier identifier?; r4:Extension[] extension?; r4:Reference custodian?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Composition.author constraint. This field must be an array containing at least one item." + } } r4:Reference[] author; r4:Reference subject?; r4:code confidentiality?; r4:Extension[] modifierExtension?; r4:code language?; - Clinical_DocumentSection[] section?; + ClinicalDocumentSection[] section?; r4:Reference encounter?; string title; r4:CodeableConcept 'type; - Clinical_DocumentAttester[] attester?; + ClinicalDocumentAttester[] attester?; r4:Resource[] contained?; r4:Meta meta?; r4:uri implicitRules?; string id?; r4:Narrative text?; r4:CodeableConcept[] category?; - Clinical_DocumentEvent[] event?; - Clinical_DocumentRelatesTo[] relatesTo?; - Clinical_DocumentStatus status; + ClinicalDocumentEvent[] event?; + ClinicalDocumentRelatesTo[] relatesTo?; + ClinicalDocumentStatus status; r4:Element ...; |}; -# Clinical_DocumentSectionMode enum -public enum Clinical_DocumentSectionMode { - CODE_MODE_CHANGES = "changes", - CODE_MODE_WORKING = "working", - CODE_MODE_SNAPSHOT = "snapshot" -} - -# FHIR Clinical_DocumentSection datatype record. +# FHIR ClinicalDocumentEvent datatype record. # -# + mode - How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted. -# + entry - A reference to the actual resource from which the narrative in the section is derived. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + code - A code identifying the kind of content contained within the section. This must be consistent with the section title. -# + emptyReason - If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason. -# + orderedBy - Specifies the order applied to the items in the section entries. -# + author - Identifies who is responsible for the information in this section, not necessarily who typed it in. +# + period - The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time. +# + code - This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a 'History and Physical Report' in which the procedure being documented is necessarily a 'History and Physical' act. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + focus - The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources). +# + detail - The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + text - A human-readable narrative that contains the attested content of the section, 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. -# + title - The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents. + @r4:DataTypeDefinition { - name: "Clinical_DocumentSection", + name: "ClinicalDocumentEvent", baseType: (), elements: { - "mode": { - name: "mode", - dataType: Clinical_DocumentSectionMode, - min: 0, - max: 1, - isArray: false, - description: "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.", - path: "Composition.section.mode" - }, - "entry": { - name: "entry", - dataType: r4:Reference, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "A reference to the actual resource from which the narrative in the section is derived.", - path: "Composition.section.entry" - }, "extension": { name: "extension", dataType: r4:Extension, @@ -338,43 +309,27 @@ public enum Clinical_DocumentSectionMode { max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Composition.section.extension" - }, - "code": { - name: "code", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "A code identifying the kind of content contained within the section. This must be consistent with the section title.", - path: "Composition.section.code" + path: "Composition.event.extension" }, - "emptyReason": { - name: "emptyReason", - dataType: r4:CodeableConcept, + + "period": { + name: "period", + dataType: r4:Period, min: 0, max: 1, isArray: false, - description: "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.", - path: "Composition.section.emptyReason" + description: "The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time.", + path: "Composition.event.period" }, - "orderedBy": { - name: "orderedBy", + + "code": { + name: "code", dataType: r4:CodeableConcept, min: 0, - max: 1, - isArray: false, - description: "Specifies the order applied to the items in the section entries.", - path: "Composition.section.orderedBy" - }, - "author": { - name: "author", - dataType: r4:Reference, - min: 0, max: int:MAX_VALUE, isArray: true, - description: "Identifies who is responsible for the information in this section, not necessarily who typed it in.", - path: "Composition.section.author" + description: "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a 'History and Physical Report' in which the procedure being documented is necessarily a 'History and Physical' act.", + path: "Composition.event.code" }, "modifierExtension": { name: "modifierExtension", @@ -383,16 +338,17 @@ public enum Clinical_DocumentSectionMode { max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Composition.section.modifierExtension" + path: "Composition.event.modifierExtension" }, - "focus": { - name: "focus", + + "detail": { + name: "detail", dataType: r4:Reference, min: 0, - max: 1, - isArray: false, - description: "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).", - path: "Composition.section.focus" + max: int:MAX_VALUE, + isArray: true, + description: "The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy.", + path: "Composition.event.detail" }, "id": { name: "id", @@ -401,25 +357,7 @@ public enum Clinical_DocumentSectionMode { max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Composition.section.id" - }, - "text": { - name: "text", - dataType: r4:Narrative, - min: 0, - max: 1, - isArray: false, - description: "A human-readable narrative that contains the attested content of the section, 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.", - path: "Composition.section.text" - }, - "title": { - name: "title", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.", - path: "Composition.section.title" + path: "Composition.event.id" } }, serializers: { @@ -427,52 +365,39 @@ public enum Clinical_DocumentSectionMode { 'json: r4:complexDataTypeJsonSerializer } } -public type Clinical_DocumentSection record {| + +public type ClinicalDocumentEvent record {| *r4:BackboneElement; - Clinical_DocumentSectionMode mode?; - r4:Reference[] entry?; r4:Extension[] extension?; - r4:CodeableConcept code?; - r4:CodeableConcept emptyReason?; - r4:CodeableConcept orderedBy?; - r4:Reference[] author?; + r4:Period period?; + r4:CodeableConcept[] code?; r4:Extension[] modifierExtension?; - r4:Reference focus?; + r4:Reference[] detail?; string id?; - r4:Narrative text?; - string title?; |}; -# Clinical_DocumentStatus enum -public enum Clinical_DocumentStatus { - CODE_STATUS_AMENDED = "amended", - CODE_STATUS_FINAL = "final", - CODE_STATUS_PRELIMINARY = "preliminary", - CODE_STATUS_ENTERED_IN_ERROR = "entered-in-error" +# ClinicalDocumentRelatesToCode enum +public enum ClinicalDocumentRelatesToCode { + CODE_CODE_SIGNS = "signs", + CODE_CODE_REPLACES = "replaces", + CODE_CODE_TRANSFORMS = "transforms", + CODE_CODE_APPENDS = "appends" } -# FHIR Clinical_DocumentAttester datatype record. +# FHIR ClinicalDocumentRelatesTo datatype record. # -# + mode - The type of attestation the authenticator offers. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + targetIdentifier - The target composition/document of this relationship. +# + code - The type of relationship that this composition has with anther composition or document. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + time - When the composition was attested by the party. -# + party - Who attested the composition in the specified way. +# + targetReference - The target composition/document of this relationship. + @r4:DataTypeDefinition { - name: "Clinical_DocumentAttester", + name: "ClinicalDocumentRelatesTo", baseType: (), elements: { - "mode": { - name: "mode", - dataType: Clinical_DocumentAttesterMode, - min: 1, - max: 1, - isArray: false, - description: "The type of attestation the authenticator offers.", - path: "Composition.attester.mode" - }, "extension": { name: "extension", dataType: r4:Extension, @@ -480,7 +405,27 @@ public enum Clinical_DocumentStatus { max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Composition.attester.extension" + path: "Composition.relatesTo.extension" + }, + + "targetIdentifier": { + name: "targetIdentifier", + dataType: r4:Identifier, + min: 0, + max: 1, + isArray: false, + description: "The target composition/document of this relationship.", + path: "Composition.relatesTo.target[x]" + }, + + "code": { + name: "code", + dataType: ClinicalDocumentRelatesToCode, + min: 1, + max: 1, + isArray: false, + description: "The type of relationship that this composition has with anther composition or document.", + path: "Composition.relatesTo.code" }, "modifierExtension": { name: "modifierExtension", @@ -489,7 +434,7 @@ public enum Clinical_DocumentStatus { max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Composition.attester.modifierExtension" + path: "Composition.relatesTo.modifierExtension" }, "id": { name: "id", @@ -498,25 +443,17 @@ public enum Clinical_DocumentStatus { max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Composition.attester.id" - }, - "time": { - name: "time", - dataType: r4:dateTime, - min: 0, - max: 1, - isArray: false, - description: "When the composition was attested by the party.", - path: "Composition.attester.time" + path: "Composition.relatesTo.id" }, - "party": { - name: "party", + + "targetReference": { + name: "targetReference", dataType: r4:Reference, min: 0, max: 1, isArray: false, - description: "Who attested the composition in the specified way.", - path: "Composition.attester.party" + description: "The target composition/document of this relationship.", + path: "Composition.relatesTo.target[x]" } }, serializers: { @@ -524,27 +461,50 @@ public enum Clinical_DocumentStatus { 'json: r4:complexDataTypeJsonSerializer } } -public type Clinical_DocumentAttester record {| + +public type ClinicalDocumentRelatesTo record {| *r4:BackboneElement; - Clinical_DocumentAttesterMode mode; r4:Extension[] extension?; + r4:Identifier targetIdentifier?; + ClinicalDocumentRelatesToCode code; r4:Extension[] modifierExtension?; string id?; - r4:dateTime time?; - r4:Reference party?; + r4:Reference targetReference?; |}; -# FHIR Clinical_DocumentRelatesTo datatype record. +# ClinicalDocumentSectionMode enum +public enum ClinicalDocumentSectionMode { + CODE_MODE_CHANGES = "changes", + CODE_MODE_WORKING = "working", + CODE_MODE_SNAPSHOT = "snapshot" +} + +# ClinicalDocumentAttesterMode enum +public enum ClinicalDocumentAttesterMode { + CODE_MODE_LEGAL = "legal", + CODE_MODE_OFFICIAL = "official", + CODE_MODE_PERSONAL = "personal", + CODE_MODE_PROFESSIONAL = "professional" +} + +# FHIR ClinicalDocumentSection datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + targetIdentifier - The target composition/document of this relationship. -# + code - The type of relationship that this composition has with anther composition or document. +# + code - A code identifying the kind of content contained within the section. This must be consistent with the section title. +# + emptyReason - If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason. +# + author - Identifies who is responsible for the information in this section, not necessarily who typed it in. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + focus - The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources). +# + section - A nested sub-section within this section. +# + title - The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents. +# + mode - How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted. +# + entry - A reference to the actual resource from which the narrative in the section is derived. +# + orderedBy - Specifies the order applied to the items in the section entries. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + targetReference - The target composition/document of this relationship. +# + text - A human-readable narrative that contains the attested content of the section, 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. @r4:DataTypeDefinition { - name: "Clinical_DocumentRelatesTo", + name: "ClinicalDocumentSection", baseType: (), elements: { "extension": { @@ -554,25 +514,37 @@ public type Clinical_DocumentAttester record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Composition.relatesTo.extension" + path: "Composition.section.extension" }, - "targetIdentifier": { - name: "targetIdentifier", - dataType: r4:Identifier, + + "code": { + name: "code", + dataType: r4:CodeableConcept, min: 0, max: 1, isArray: false, - description: "The target composition/document of this relationship.", - path: "Composition.relatesTo.target[x]" + description: "A code identifying the kind of content contained within the section. This must be consistent with the section title.", + path: "Composition.section.code" }, - "code": { - name: "code", - dataType: Clinical_DocumentRelatesToCode, - min: 1, + + "emptyReason": { + name: "emptyReason", + dataType: r4:CodeableConcept, + min: 0, max: 1, isArray: false, - description: "The type of relationship that this composition has with anther composition or document.", - path: "Composition.relatesTo.code" + description: "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.", + path: "Composition.section.emptyReason" + }, + + "author": { + name: "author", + dataType: r4:Reference, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Identifies who is responsible for the information in this section, not necessarily who typed it in.", + path: "Composition.section.author" }, "modifierExtension": { name: "modifierExtension", @@ -581,8 +553,69 @@ public type Clinical_DocumentAttester record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Composition.relatesTo.modifierExtension" + path: "Composition.section.modifierExtension" + }, + + "focus": { + name: "focus", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).", + path: "Composition.section.focus" }, + + "section": { + name: "section", + dataType: ClinicalDocumentSection, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A nested sub-section within this section.", + path: "Composition.section.section" + }, + + "title": { + name: "title", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.", + path: "Composition.section.title" + }, + + "mode": { + name: "mode", + dataType: ClinicalDocumentSectionMode, + min: 0, + max: 1, + isArray: false, + description: "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.", + path: "Composition.section.mode" + }, + + "entry": { + name: "entry", + dataType: r4:Reference, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A reference to the actual resource from which the narrative in the section is derived.", + path: "Composition.section.entry" + }, + + "orderedBy": { + name: "orderedBy", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "Specifies the order applied to the items in the section entries.", + path: "Composition.section.orderedBy" + }, + "id": { name: "id", dataType: string, @@ -590,16 +623,17 @@ public type Clinical_DocumentAttester record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Composition.relatesTo.id" + path: "Composition.section.id" }, - "targetReference": { - name: "targetReference", - dataType: r4:Reference, + + "text": { + name: "text", + dataType: r4:Narrative, min: 0, max: 1, isArray: false, - description: "The target composition/document of this relationship.", - path: "Composition.relatesTo.target[x]" + description: "A human-readable narrative that contains the attested content of the section, 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.", + path: "Composition.section.text" } }, serializers: { @@ -607,45 +641,56 @@ public type Clinical_DocumentAttester record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Clinical_DocumentRelatesTo record {| + +public type ClinicalDocumentSection record {| *r4:BackboneElement; r4:Extension[] extension?; - r4:Identifier targetIdentifier; - Clinical_DocumentRelatesToCode code; + r4:CodeableConcept code?; + r4:CodeableConcept emptyReason?; + r4:Reference[] author?; r4:Extension[] modifierExtension?; + r4:Reference focus?; + ClinicalDocumentSection[] section?; + string title?; + ClinicalDocumentSectionMode mode?; + r4:Reference[] entry?; + r4:CodeableConcept orderedBy?; string id?; - r4:Reference targetReference; + r4:Narrative text?; |}; -# Clinical_DocumentAttesterMode enum -public enum Clinical_DocumentAttesterMode { - CODE_MODE_LEGAL = "legal", - CODE_MODE_OFFICIAL = "official", - CODE_MODE_PERSONAL = "personal", - CODE_MODE_PROFESSIONAL = "professional" -} - -# Clinical_DocumentRelatesToCode enum -public enum Clinical_DocumentRelatesToCode { - CODE_CODE_SIGNS = "signs", - CODE_CODE_REPLACES = "replaces", - CODE_CODE_TRANSFORMS = "transforms", - CODE_CODE_APPENDS = "appends" +# ClinicalDocumentStatus enum +public enum ClinicalDocumentStatus { + CODE_STATUS_AMENDED = "amended", + CODE_STATUS_FINAL = "final", + CODE_STATUS_PRELIMINARY = "preliminary", + CODE_STATUS_ENTERED_IN_ERROR = "entered-in-error" } -# FHIR Clinical_DocumentEvent datatype record. +# FHIR ClinicalDocumentAttester datatype record. # +# + mode - The type of attestation the authenticator offers. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + period - The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time. -# + code - This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a 'History and Physical Report' in which the procedure being documented is necessarily a 'History and Physical' act. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + detail - The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + time - When the composition was attested by the party. +# + party - Who attested the composition in the specified way. + @r4:DataTypeDefinition { - name: "Clinical_DocumentEvent", + name: "ClinicalDocumentAttester", baseType: (), elements: { + "mode": { + name: "mode", + dataType: ClinicalDocumentAttesterMode, + min: 1, + max: 1, + isArray: false, + description: "The type of attestation the authenticator offers.", + path: "Composition.attester.mode" + }, + "extension": { name: "extension", dataType: r4:Extension, @@ -653,25 +698,7 @@ public enum Clinical_DocumentRelatesToCode { max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Composition.event.extension" - }, - "period": { - name: "period", - dataType: r4:Period, - min: 0, - max: 1, - isArray: false, - description: "The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time.", - path: "Composition.event.period" - }, - "code": { - name: "code", - dataType: r4:CodeableConcept, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a 'History and Physical Report' in which the procedure being documented is necessarily a 'History and Physical' act.", - path: "Composition.event.code" + path: "Composition.attester.extension" }, "modifierExtension": { name: "modifierExtension", @@ -680,16 +707,7 @@ public enum Clinical_DocumentRelatesToCode { max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Composition.event.modifierExtension" - }, - "detail": { - name: "detail", - dataType: r4:Reference, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy.", - path: "Composition.event.detail" + path: "Composition.attester.modifierExtension" }, "id": { name: "id", @@ -698,7 +716,27 @@ public enum Clinical_DocumentRelatesToCode { max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Composition.event.id" + path: "Composition.attester.id" + }, + + "time": { + name: "time", + dataType: r4:dateTime, + min: 0, + max: 1, + isArray: false, + description: "When the composition was attested by the party.", + path: "Composition.attester.time" + }, + + "party": { + name: "party", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "Who attested the composition in the specified way.", + path: "Composition.attester.party" } }, serializers: { @@ -706,14 +744,15 @@ public enum Clinical_DocumentRelatesToCode { 'json: r4:complexDataTypeJsonSerializer } } -public type Clinical_DocumentEvent record {| + +public type ClinicalDocumentAttester record {| *r4:BackboneElement; + ClinicalDocumentAttesterMode mode; r4:Extension[] extension?; - r4:Period period?; - r4:CodeableConcept[] code?; r4:Extension[] modifierExtension?; - r4:Reference[] detail?; string id?; + r4:dateTime time?; + r4:Reference party?; |}; diff --git a/international401/resource_clinical_impression.bal b/international401/resource_clinical_impression.bal index cefe5a16..7ae9077c 100644 --- a/international401/resource_clinical_impression.bal +++ b/international401/resource_clinical_impression.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_CLINICALIMPRESSION = "http://hl7.org/fhir/StructureDefinition/ClinicalImpression"; public const RESOURCE_NAME_CLINICALIMPRESSION = "ClinicalImpression"; +public type ClinicalImpressionExtensions (EventBasedOn|r4:Extension|WorkflowEpisodeOfCare|WorkflowReleaseDate); + # FHIR ClinicalImpression resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_communication.bal b/international401/resource_communication.bal index 93b914f3..e2d86262 100644 --- a/international401/resource_communication.bal +++ b/international401/resource_communication.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_COMMUNICATION = "http://hl7.org/fhir/StructureDefinition/Communication"; public const RESOURCE_NAME_COMMUNICATION = "Communication"; +public type CommunicationExtensions (CommunicationMedia|EventRecorded|r4:Extension|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowGeneratedFrom|WorkflowReleaseDate|WorkflowTriggeredBy); + # FHIR Communication resource record. # # + resourceType - The type of the resource describes @@ -450,10 +452,10 @@ public type CommunicationPayload record {| *r4:BackboneElement; r4:Extension[] extension?; - r4:Reference contentReference; - string contentString; + r4:Reference contentReference?; + string contentString?; r4:Extension[] modifierExtension?; - r4:Attachment contentAttachment; + r4:Attachment contentAttachment?; string id?; |}; diff --git a/international401/resource_communication_request.bal b/international401/resource_communication_request.bal index 49532b9a..1a548f0a 100644 --- a/international401/resource_communication_request.bal +++ b/international401/resource_communication_request.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_COMMUNICATIONREQUEST = "http://hl7.org/fhir/StructureDefinition/CommunicationRequest"; public const RESOURCE_NAME_COMMUNICATIONREQUEST = "CommunicationRequest"; +public type CommunicationRequestExtensions (CommunicationrequestInitiatingLocation|r4:Extension|RequestRelevantHistory|WorkflowBarrier|WorkflowCompliesWith|WorkflowEpisodeOfCare|WorkflowGeneratedFrom|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowProtectiveFactor|WorkflowReleaseDate|WorkflowShallComplyWith|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR CommunicationRequest resource record. # # + resourceType - The type of the resource describes @@ -455,10 +457,10 @@ public type CommunicationRequestPayload record {| *r4:BackboneElement; r4:Extension[] extension?; - r4:Reference contentReference; - string contentString; + r4:Reference contentReference?; + string contentString?; r4:Extension[] modifierExtension?; - r4:Attachment contentAttachment; + r4:Attachment contentAttachment?; string id?; |}; diff --git a/international401/resource_compartment_definition.bal b/international401/resource_compartment_definition.bal index 89acf1e3..fc31cc74 100644 --- a/international401/resource_compartment_definition.bal +++ b/international401/resource_compartment_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_COMPARTMENTDEFINITION = "http://hl7.org/fhir/StructureDefinition/CompartmentDefinition"; public const RESOURCE_NAME_COMPARTMENTDEFINITION = "CompartmentDefinition"; +public type CompartmentDefinitionExtensions (r4:Extension|Replaces|ResourceApprovalDate|ResourceEffectivePeriod|ResourceLastReviewDate); + # FHIR CompartmentDefinition resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_composition.bal b/international401/resource_composition.bal index 199eefc4..82c60e21 100644 --- a/international401/resource_composition.bal +++ b/international401/resource_composition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_COMPOSITION = "http://hl7.org/fhir/StructureDefinition/Composition"; public const RESOURCE_NAME_COMPOSITION = "Composition"; +public type CompositionExtensions (CompositionClinicaldocumentOtherConfidentiality|CompositionClinicaldocumentVersionNumber|CqmValidityPeriod|EventBasedOn|r4:Extension|WorkflowEpisodeOfCare|WorkflowResearchStudy); + # FHIR Composition resource record. # # + resourceType - The type of the resource describes @@ -259,7 +261,10 @@ public type Composition record {| r4:Extension[] extension?; r4:Reference custodian?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Composition.author constraint. This field must be an array containing at least one item." + } } r4:Reference[] author; r4:Reference subject?; @@ -293,40 +298,24 @@ public enum CompositionStatus { # FHIR CompositionSection datatype record. # -# + mode - How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted. -# + entry - A reference to the actual resource from which the narrative in the section is derived. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + code - A code identifying the kind of content contained within the section. This must be consistent with the section title. # + emptyReason - If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason. -# + orderedBy - Specifies the order applied to the items in the section entries. # + author - Identifies who is responsible for the information in this section, not necessarily who typed it in. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + focus - The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources). +# + section - A nested sub-section within this section. +# + title - The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents. +# + mode - How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted. +# + entry - A reference to the actual resource from which the narrative in the section is derived. +# + orderedBy - Specifies the order applied to the items in the section entries. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + text - A human-readable narrative that contains the attested content of the section, 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. -# + title - The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents. + @r4:DataTypeDefinition { name: "CompositionSection", baseType: (), elements: { - "mode": { - name: "mode", - dataType: CompositionSectionMode, - min: 0, - max: 1, - isArray: false, - description: "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.", - path: "Composition.section.mode" - }, - "entry": { - name: "entry", - dataType: r4:Reference, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "A reference to the actual resource from which the narrative in the section is derived.", - path: "Composition.section.entry" - }, "extension": { name: "extension", dataType: r4:Extension, @@ -354,15 +343,7 @@ public enum CompositionStatus { description: "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.", path: "Composition.section.emptyReason" }, - "orderedBy": { - name: "orderedBy", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "Specifies the order applied to the items in the section entries.", - path: "Composition.section.orderedBy" - }, + "author": { name: "author", dataType: r4:Reference, @@ -390,6 +371,57 @@ public enum CompositionStatus { description: "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).", path: "Composition.section.focus" }, + + "section": { + name: "section", + dataType: CompositionSection, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A nested sub-section within this section.", + path: "Composition.section.section" + }, + + "title": { + name: "title", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.", + path: "Composition.section.title" + }, + + "mode": { + name: "mode", + dataType: CompositionSectionMode, + min: 0, + max: 1, + isArray: false, + description: "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.", + path: "Composition.section.mode" + }, + + "entry": { + name: "entry", + dataType: r4:Reference, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A reference to the actual resource from which the narrative in the section is derived.", + path: "Composition.section.entry" + }, + + "orderedBy": { + name: "orderedBy", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "Specifies the order applied to the items in the section entries.", + path: "Composition.section.orderedBy" + }, + "id": { name: "id", dataType: string, @@ -407,15 +439,6 @@ public enum CompositionStatus { isArray: false, description: "A human-readable narrative that contains the attested content of the section, 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.", path: "Composition.section.text" - }, - "title": { - name: "title", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.", - path: "Composition.section.title" } }, serializers: { @@ -426,18 +449,19 @@ public enum CompositionStatus { public type CompositionSection record {| *r4:BackboneElement; - CompositionSectionMode mode?; - r4:Reference[] entry?; r4:Extension[] extension?; r4:CodeableConcept code?; r4:CodeableConcept emptyReason?; - r4:CodeableConcept orderedBy?; r4:Reference[] author?; r4:Extension[] modifierExtension?; r4:Reference focus?; + CompositionSection[] section?; + string title?; + CompositionSectionMode mode?; + r4:Reference[] entry?; + r4:CodeableConcept orderedBy?; string id?; r4:Narrative text?; - string title?; |}; # CompositionSectionMode enum @@ -531,11 +555,11 @@ public type CompositionRelatesTo record {| *r4:BackboneElement; r4:Extension[] extension?; - r4:Identifier targetIdentifier; + r4:Identifier targetIdentifier?; CompositionRelatesToCode code; r4:Extension[] modifierExtension?; string id?; - r4:Reference targetReference; + r4:Reference targetReference?; |}; # CompositionRelatesToCode enum diff --git a/international401/resource_computable_plan_definition.bal b/international401/resource_computable_plan_definition.bal index ac67c99e..af39168d 100644 --- a/international401/resource_computable_plan_definition.bal +++ b/international401/resource_computable_plan_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -17,12 +17,15 @@ // AUTO-GENERATED FILE. // This file is auto-generated by Ballerina. +import ballerina/constraint; import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_COMPUTABLE_PLANDEFINITION = "http://hl7.org/fhir/StructureDefinition/computableplandefinition"; -public const RESOURCE_NAME_COMPUTABLE_PLANDEFINITION = "PlanDefinition"; +public const string PROFILE_BASE_COMPUTABLEPLANDEFINITION = "http://hl7.org/fhir/StructureDefinition/computableplandefinition"; +public const RESOURCE_NAME_COMPUTABLEPLANDEFINITION = "PlanDefinition"; -# FHIR Computable_PlanDefinition resource record. +public type ComputablePlanDefinitionExtensions (CqfCdsHooksEndpoint|CqfTargetInvariant|r4:Extension|Replaces|TargetConstraint|Variable|WorkflowShallComplyWith); + +# FHIR ComputablePlanDefinition resource record. # # + resourceType - The type of the resource describes # + date - The date (and optionally time) when the plan definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the plan definition changes. @@ -191,7 +194,7 @@ public const RESOURCE_NAME_COMPUTABLE_PLANDEFINITION = "PlanDefinition"; dataType: r4:canonical, min: 1, max: 1, - isArray: false, + isArray: true, path: "PlanDefinition.library" }, "contact" : { @@ -212,7 +215,7 @@ public const RESOURCE_NAME_COMPUTABLE_PLANDEFINITION = "PlanDefinition"; }, "action" : { name: "action", - dataType: Computable_PlanDefinitionAction, + dataType: ComputablePlanDefinitionAction, min: 0, max: int:MAX_VALUE, isArray: true, @@ -252,7 +255,7 @@ public const RESOURCE_NAME_COMPUTABLE_PLANDEFINITION = "PlanDefinition"; }, "goal" : { name: "goal", - dataType: Computable_PlanDefinitionGoal, + dataType: ComputablePlanDefinitionGoal, min: 0, max: int:MAX_VALUE, isArray: true, @@ -390,7 +393,7 @@ public const RESOURCE_NAME_COMPUTABLE_PLANDEFINITION = "PlanDefinition"; }, "status" : { name: "status", - dataType: Computable_PlanDefinitionStatus, + dataType: ComputablePlanDefinitionStatus, min: 1, max: 1, isArray: false, @@ -403,10 +406,11 @@ public const RESOURCE_NAME_COMPUTABLE_PLANDEFINITION = "PlanDefinition"; 'json: r4:fhirResourceJsonSerializer } } -public type Computable_PlanDefinition record {| + +public type ComputablePlanDefinition record {| *r4:DomainResource; - RESOURCE_NAME_COMPUTABLE_PLANDEFINITION resourceType = RESOURCE_NAME_COMPUTABLE_PLANDEFINITION; + RESOURCE_NAME_COMPUTABLEPLANDEFINITION resourceType = RESOURCE_NAME_COMPUTABLEPLANDEFINITION; r4:dateTime date?; r4:markdown copyright?; @@ -422,15 +426,25 @@ public type Computable_PlanDefinition record {| r4:code language?; string title?; r4:CodeableConcept 'type?; - r4:canonical library; + @constraint:Array { + minLength: { + value: 1, + message: "Validation failed for $.PlanDefinition.library constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.PlanDefinition.library constraint. This field must be an array containing at most one item." + } + } + r4:canonical[] library; r4:ContactDetail[] contact?; r4:ContactDetail[] endorser?; - Computable_PlanDefinitionAction[] action?; + ComputablePlanDefinitionAction[] action?; string id?; r4:Narrative text?; r4:ContactDetail[] editor?; r4:Identifier[] identifier?; - Computable_PlanDefinitionGoal[] goal?; + ComputablePlanDefinitionGoal[] goal?; r4:RelatedArtifact[] relatedArtifact?; r4:Period effectivePeriod?; r4:ContactDetail[] author?; @@ -447,47 +461,108 @@ public type Computable_PlanDefinition record {| string publisher?; r4:CodeableConcept[] topic?; r4:UsageContext[] useContext?; - Computable_PlanDefinitionStatus status; + ComputablePlanDefinitionStatus status; r4:Element ...; |}; -# Computable_PlanDefinitionActionConditionKind enum -public enum Computable_PlanDefinitionActionConditionKind { - CODE_KIND_STOP = "stop", - CODE_KIND_START = "start", - CODE_KIND_APPLICABILITY = "applicability" -} - -# Computable_PlanDefinitionStatus enum -public enum Computable_PlanDefinitionStatus { - CODE_STATUS_DRAFT = "draft", - CODE_STATUS_ACTIVE = "active", - CODE_STATUS_RETIRED = "retired", - CODE_STATUS_UNKNOWN = "unknown" +# ComputablePlanDefinitionActionGroupingBehavior enum +public enum ComputablePlanDefinitionActionGroupingBehavior { + CODE_GROUPINGBEHAVIOR_VISUAL_GROUP = "visual-group", + CODE_GROUPINGBEHAVIOR_SENTENCE_GROUP = "sentence-group", + CODE_GROUPINGBEHAVIOR_LOGICAL_GROUP = "logical-group" } -# FHIR Computable_PlanDefinitionActionRelatedAction datatype record. +# FHIR ComputablePlanDefinitionActionCondition datatype record. # -# + offsetPlanDefinitionRange - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + offsetPlanDefinitionDuration - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. +# + expression - An expression that returns true or false, indicating whether the condition is satisfied. +# + kind - The kind of condition. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + actionId - The element id of the related action. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + relationship - The relationship of this action to the related action. + @r4:DataTypeDefinition { - name: "Computable_PlanDefinitionActionRelatedAction", + name: "ComputablePlanDefinitionActionCondition", baseType: (), elements: { - "offsetPlanDefinitionRange": { - name: "offsetPlanDefinitionRange", - dataType: r4:Range, + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "PlanDefinition.action.condition.extension" + }, + + "expression": { + name: "expression", + dataType: r4:Expression, + min: 0, + max: 1, + isArray: false, + description: "An expression that returns true or false, indicating whether the condition is satisfied.", + path: "PlanDefinition.action.condition.expression" + }, + + "kind": { + name: "kind", + dataType: ComputablePlanDefinitionActionConditionKind, + min: 1, + max: 1, + isArray: false, + description: "The kind of condition.", + path: "PlanDefinition.action.condition.kind" + }, + + "modifierExtension": { + name: "modifierExtension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + path: "PlanDefinition.action.condition.modifierExtension" + }, + + "id": { + name: "id", + dataType: string, min: 0, max: 1, isArray: false, - description: "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", - path: "PlanDefinition.action.relatedAction.offset[x]" + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "PlanDefinition.action.condition.id" + } }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ComputablePlanDefinitionActionCondition record {| + *r4:BackboneElement; + + r4:Extension[] extension?; + r4:Expression expression?; + ComputablePlanDefinitionActionConditionKind kind; + r4:Extension[] modifierExtension?; + string id?; +|}; + +# FHIR ComputablePlanDefinitionActionParticipant datatype record. +# +# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + role - The role the participant should play in performing the described action. +# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + 'type - The type of participant in the action. + +@r4:DataTypeDefinition { + name: "ComputablePlanDefinitionActionParticipant", + baseType: (), + elements: { "extension": { name: "extension", dataType: r4:Extension, @@ -495,16 +570,17 @@ public enum Computable_PlanDefinitionStatus { max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "PlanDefinition.action.relatedAction.extension" + path: "PlanDefinition.action.participant.extension" }, - "offsetPlanDefinitionDuration": { - name: "offsetPlanDefinitionDuration", - dataType: r4:Duration, + + "role": { + name: "role", + dataType: r4:CodeableConcept, min: 0, max: 1, isArray: false, - description: "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", - path: "PlanDefinition.action.relatedAction.offset[x]" + description: "The role the participant should play in performing the described action.", + path: "PlanDefinition.action.participant.role" }, "modifierExtension": { name: "modifierExtension", @@ -513,16 +589,7 @@ public enum Computable_PlanDefinitionStatus { max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "PlanDefinition.action.relatedAction.modifierExtension" - }, - "actionId": { - name: "actionId", - dataType: r4:id, - min: 1, - max: 1, - isArray: false, - description: "The element id of the related action.", - path: "PlanDefinition.action.relatedAction.actionId" + path: "PlanDefinition.action.participant.modifierExtension" }, "id": { name: "id", @@ -531,16 +598,17 @@ public enum Computable_PlanDefinitionStatus { max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "PlanDefinition.action.relatedAction.id" + path: "PlanDefinition.action.participant.id" }, - "relationship": { - name: "relationship", - dataType: Computable_PlanDefinitionActionRelatedActionRelationship, + + "type": { + name: "type", + dataType: ComputablePlanDefinitionActionParticipantType, min: 1, max: 1, isArray: false, - description: "The relationship of this action to the related action.", - path: "PlanDefinition.action.relatedAction.relationship" + description: "The type of participant in the action.", + path: "PlanDefinition.action.participant.type" } }, serializers: { @@ -548,48 +616,26 @@ public enum Computable_PlanDefinitionStatus { 'json: r4:complexDataTypeJsonSerializer } } -public type Computable_PlanDefinitionActionRelatedAction record {| + +public type ComputablePlanDefinitionActionParticipant record {| *r4:BackboneElement; - r4:Range offsetPlanDefinitionRange?; r4:Extension[] extension?; - r4:Duration offsetPlanDefinitionDuration?; + r4:CodeableConcept role?; r4:Extension[] modifierExtension?; - r4:id actionId; string id?; - Computable_PlanDefinitionActionRelatedActionRelationship relationship; + ComputablePlanDefinitionActionParticipantType 'type; |}; -# Computable_PlanDefinitionActionSelectionBehavior enum -public enum Computable_PlanDefinitionActionSelectionBehavior { - CODE_SELECTIONBEHAVIOR_ALL = "all", - CODE_SELECTIONBEHAVIOR_EXACTLY_ONE = "exactly-one", - CODE_SELECTIONBEHAVIOR_AT_MOST_ONE = "at-most-one", - CODE_SELECTIONBEHAVIOR_ALL_OR_NONE = "all-or-none", - CODE_SELECTIONBEHAVIOR_ANY = "any", - CODE_SELECTIONBEHAVIOR_ONE_OR_MORE = "one-or-more" -} - -# Computable_PlanDefinitionActionRelatedActionRelationship enum -public enum Computable_PlanDefinitionActionRelatedActionRelationship { - CODE_RELATIONSHIP_AFTER_END = "after-end", - CODE_RELATIONSHIP_BEFORE = "before", - CODE_RELATIONSHIP_CONCURRENT_WITH_START = "concurrent-with-start", - CODE_RELATIONSHIP_CONCURRENT = "concurrent", - CODE_RELATIONSHIP_BEFORE_END = "before-end", - CODE_RELATIONSHIP_AFTER = "after", - CODE_RELATIONSHIP_CONCURRENT_WITH_END = "concurrent-with-end", - CODE_RELATIONSHIP_AFTER_START = "after-start", - CODE_RELATIONSHIP_BEFORE_START = "before-start" -} - -# Computable_PlanDefinitionActionCardinalityBehavior enum -public enum Computable_PlanDefinitionActionCardinalityBehavior { - CODE_CARDINALITYBEHAVIOR_SINGLE = "single", - CODE_CARDINALITYBEHAVIOR_MULTIPLE = "multiple" +# ComputablePlanDefinitionActionParticipantType enum +public enum ComputablePlanDefinitionActionParticipantType { + CODE_TYPE_RELATED_PERSON = "related-person", + CODE_TYPE_PRACTITIONER = "practitioner", + CODE_TYPE_PATIENT = "patient", + CODE_TYPE_DEVICE = "device" } -# FHIR Computable_PlanDefinitionAction datatype record. +# FHIR ComputablePlanDefinitionAction datatype record. # # + reason - A description of why this action is necessary or appropriate. # + cardinalityBehavior - Defines whether the action can be selected multiple times. @@ -609,6 +655,7 @@ public enum Computable_PlanDefinitionActionCardinalityBehavior { # + output - Defines the outputs of the action, if any. # + transform - A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input. # + dynamicValue - Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result. +# + action - Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition. # + timingAge - An optional value describing when the action should be performed. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + relatedAction - A relationship to another action such as 'before' or '30-60 minutes after start of'. @@ -628,7 +675,7 @@ public enum Computable_PlanDefinitionActionCardinalityBehavior { # + precheckBehavior - Defines whether the action should usually be preselected. # + timingDateTime - An optional value describing when the action should be performed. @r4:DataTypeDefinition { - name: "Computable_PlanDefinitionAction", + name: "ComputablePlanDefinitionAction", baseType: (), elements: { "reason": { @@ -642,7 +689,7 @@ public enum Computable_PlanDefinitionActionCardinalityBehavior { }, "cardinalityBehavior": { name: "cardinalityBehavior", - dataType: Computable_PlanDefinitionActionCardinalityBehavior, + dataType: ComputablePlanDefinitionActionCardinalityBehavior, min: 0, max: 1, isArray: false, @@ -750,7 +797,7 @@ public enum Computable_PlanDefinitionActionCardinalityBehavior { }, "groupingBehavior": { name: "groupingBehavior", - dataType: Computable_PlanDefinitionActionGroupingBehavior, + dataType: ComputablePlanDefinitionActionGroupingBehavior, min: 0, max: 1, isArray: false, @@ -759,7 +806,7 @@ public enum Computable_PlanDefinitionActionCardinalityBehavior { }, "participant": { name: "participant", - dataType: Computable_PlanDefinitionActionParticipant, + dataType: ComputablePlanDefinitionActionParticipant, min: 0, max: int:MAX_VALUE, isArray: true, @@ -786,13 +833,24 @@ public enum Computable_PlanDefinitionActionCardinalityBehavior { }, "dynamicValue": { name: "dynamicValue", - dataType: Computable_PlanDefinitionActionDynamicValue, + dataType: ComputablePlanDefinitionActionDynamicValue, min: 0, max: int:MAX_VALUE, isArray: true, description: "Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result.", path: "PlanDefinition.action.dynamicValue" }, + + "action": { + name: "action", + dataType: ComputablePlanDefinitionAction, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition.", + path: "PlanDefinition.action.action" + }, + "timingAge": { name: "timingAge", dataType: r4:Age, @@ -813,7 +871,7 @@ public enum Computable_PlanDefinitionActionCardinalityBehavior { }, "relatedAction": { name: "relatedAction", - dataType: Computable_PlanDefinitionActionRelatedAction, + dataType: ComputablePlanDefinitionActionRelatedAction, min: 0, max: int:MAX_VALUE, isArray: true, @@ -876,7 +934,7 @@ public enum Computable_PlanDefinitionActionCardinalityBehavior { }, "priority": { name: "priority", - dataType: Computable_PlanDefinitionActionPriority, + dataType: ComputablePlanDefinitionActionPriority, min: 0, max: 1, isArray: false, @@ -903,7 +961,7 @@ public enum Computable_PlanDefinitionActionCardinalityBehavior { }, "requiredBehavior": { name: "requiredBehavior", - dataType: Computable_PlanDefinitionActionRequiredBehavior, + dataType: ComputablePlanDefinitionActionRequiredBehavior, min: 0, max: 1, isArray: false, @@ -912,7 +970,7 @@ public enum Computable_PlanDefinitionActionCardinalityBehavior { }, "condition": { name: "condition", - dataType: Computable_PlanDefinitionActionCondition, + dataType: ComputablePlanDefinitionActionCondition, min: 0, max: int:MAX_VALUE, isArray: true, @@ -921,7 +979,7 @@ public enum Computable_PlanDefinitionActionCardinalityBehavior { }, "selectionBehavior": { name: "selectionBehavior", - dataType: Computable_PlanDefinitionActionSelectionBehavior, + dataType: ComputablePlanDefinitionActionSelectionBehavior, min: 0, max: 1, isArray: false, @@ -939,7 +997,7 @@ public enum Computable_PlanDefinitionActionCardinalityBehavior { }, "precheckBehavior": { name: "precheckBehavior", - dataType: Computable_PlanDefinitionActionPrecheckBehavior, + dataType: ComputablePlanDefinitionActionPrecheckBehavior, min: 0, max: 1, isArray: false, @@ -961,11 +1019,12 @@ public enum Computable_PlanDefinitionActionCardinalityBehavior { 'json: r4:complexDataTypeJsonSerializer } } -public type Computable_PlanDefinitionAction record {| + +public type ComputablePlanDefinitionAction record {| *r4:BackboneElement; r4:CodeableConcept[] reason?; - Computable_PlanDefinitionActionCardinalityBehavior cardinalityBehavior?; + ComputablePlanDefinitionActionCardinalityBehavior cardinalityBehavior?; r4:canonical definitionCanonical?; r4:Extension[] extension?; r4:CodeableConcept[] code?; @@ -977,245 +1036,45 @@ public type Computable_PlanDefinitionAction record {| r4:uri definitionUri?; string title?; r4:CodeableConcept 'type?; - Computable_PlanDefinitionActionGroupingBehavior groupingBehavior?; - Computable_PlanDefinitionActionParticipant[] participant?; + ComputablePlanDefinitionActionGroupingBehavior groupingBehavior?; + ComputablePlanDefinitionActionParticipant[] participant?; r4:DataRequirement[] output?; r4:canonical transform?; - Computable_PlanDefinitionActionDynamicValue[] dynamicValue?; + ComputablePlanDefinitionActionDynamicValue[] dynamicValue?; + ComputablePlanDefinitionAction[] action?; r4:Age timingAge?; string id?; - Computable_PlanDefinitionActionRelatedAction[] relatedAction?; + ComputablePlanDefinitionActionRelatedAction[] relatedAction?; r4:Duration timingDuration?; string textEquivalent?; r4:Timing timingTiming?; r4:Period timingPeriod?; r4:RelatedArtifact[] documentation?; r4:TriggerDefinition[] trigger?; - Computable_PlanDefinitionActionPriority priority?; + ComputablePlanDefinitionActionPriority priority?; r4:Reference subjectReference?; r4:DataRequirement[] input?; - Computable_PlanDefinitionActionRequiredBehavior requiredBehavior?; - Computable_PlanDefinitionActionCondition[] condition?; - Computable_PlanDefinitionActionSelectionBehavior selectionBehavior?; + ComputablePlanDefinitionActionRequiredBehavior requiredBehavior?; + ComputablePlanDefinitionActionCondition[] condition?; + ComputablePlanDefinitionActionSelectionBehavior selectionBehavior?; r4:Range timingRange?; - Computable_PlanDefinitionActionPrecheckBehavior precheckBehavior?; + ComputablePlanDefinitionActionPrecheckBehavior precheckBehavior?; r4:dateTime timingDateTime?; |}; -# Computable_PlanDefinitionActionRequiredBehavior enum -public enum Computable_PlanDefinitionActionRequiredBehavior { - CODE_REQUIREDBEHAVIOR_COULD = "could", - CODE_REQUIREDBEHAVIOR_MUST = "must", - CODE_REQUIREDBEHAVIOR_MUST_UNLESS_DOCUMENTED = "must-unless-documented" -} - -# Computable_PlanDefinitionActionParticipantType enum -public enum Computable_PlanDefinitionActionParticipantType { - CODE_TYPE_RELATED_PERSON = "related-person", - CODE_TYPE_PRACTITIONER = "practitioner", - CODE_TYPE_PATIENT = "patient", - CODE_TYPE_DEVICE = "device" -} - -# FHIR Computable_PlanDefinitionActionParticipant datatype record. -# -# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + role - The role the participant should play in performing the described action. -# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + 'type - The type of participant in the action. -@r4:DataTypeDefinition { - name: "Computable_PlanDefinitionActionParticipant", - baseType: (), - elements: { - "extension": { - name: "extension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "PlanDefinition.action.participant.extension" - }, - "role": { - name: "role", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "The role the participant should play in performing the described action.", - path: "PlanDefinition.action.participant.role" - }, - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "PlanDefinition.action.participant.modifierExtension" - }, - "id": { - name: "id", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "PlanDefinition.action.participant.id" - }, - "type": { - name: "type", - dataType: Computable_PlanDefinitionActionParticipantType, - min: 1, - max: 1, - isArray: false, - description: "The type of participant in the action.", - path: "PlanDefinition.action.participant.type" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Computable_PlanDefinitionActionParticipant record {| - *r4:BackboneElement; - - r4:Extension[] extension?; - r4:CodeableConcept role?; - r4:Extension[] modifierExtension?; - string id?; - Computable_PlanDefinitionActionParticipantType 'type; -|}; - -# FHIR Computable_PlanDefinitionGoalTarget datatype record. -# -# + detailPlanDefinitionCodeableConcept - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. -# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + measure - The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level. -# + due - Indicates the timeframe after the start of the goal in which the goal should be met. -# + detailPlanDefinitionQuantity - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. -# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + detailPlanDefinitionRange - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. -@r4:DataTypeDefinition { - name: "Computable_PlanDefinitionGoalTarget", - baseType: (), - elements: { - "detailPlanDefinitionCodeableConcept": { - name: "detailPlanDefinitionCodeableConcept", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", - path: "PlanDefinition.goal.target.detail[x]" - }, - "extension": { - name: "extension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "PlanDefinition.goal.target.extension" - }, - "measure": { - name: "measure", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.", - path: "PlanDefinition.goal.target.measure" - }, - "due": { - name: "due", - dataType: r4:Duration, - min: 0, - max: 1, - isArray: false, - description: "Indicates the timeframe after the start of the goal in which the goal should be met.", - path: "PlanDefinition.goal.target.due" - }, - "detailPlanDefinitionQuantity": { - name: "detailPlanDefinitionQuantity", - dataType: r4:Quantity, - min: 0, - max: 1, - isArray: false, - description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", - path: "PlanDefinition.goal.target.detail[x]" - }, - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "PlanDefinition.goal.target.modifierExtension" - }, - "id": { - name: "id", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "PlanDefinition.goal.target.id" - }, - "detailPlanDefinitionRange": { - name: "detailPlanDefinitionRange", - dataType: r4:Range, - min: 0, - max: 1, - isArray: false, - description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", - path: "PlanDefinition.goal.target.detail[x]" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Computable_PlanDefinitionGoalTarget record {| - *r4:BackboneElement; - - r4:CodeableConcept detailPlanDefinitionCodeableConcept?; - r4:Extension[] extension?; - r4:CodeableConcept measure?; - r4:Duration due?; - r4:Quantity detailPlanDefinitionQuantity?; - r4:Extension[] modifierExtension?; - string id?; - r4:Range detailPlanDefinitionRange?; -|}; - -# Computable_PlanDefinitionActionGroupingBehavior enum -public enum Computable_PlanDefinitionActionGroupingBehavior { - CODE_GROUPINGBEHAVIOR_VISUAL_GROUP = "visual-group", - CODE_GROUPINGBEHAVIOR_SENTENCE_GROUP = "sentence-group", - CODE_GROUPINGBEHAVIOR_LOGICAL_GROUP = "logical-group" -} - -# Computable_PlanDefinitionActionPriority enum -public enum Computable_PlanDefinitionActionPriority { - CODE_PRIORITY_STAT = "stat", - CODE_PRIORITY_ROUTINE = "routine", - CODE_PRIORITY_URGENT = "urgent", - CODE_PRIORITY_ASAP = "asap" -} - -# Computable_PlanDefinitionActionPrecheckBehavior enum -public enum Computable_PlanDefinitionActionPrecheckBehavior { +# ComputablePlanDefinitionActionPrecheckBehavior enum +public enum ComputablePlanDefinitionActionPrecheckBehavior { CODE_PRECHECKBEHAVIOR_NO = "no", CODE_PRECHECKBEHAVIOR_YES = "yes" } -# FHIR Computable_PlanDefinitionGoal datatype record. +# ComputablePlanDefinitionActionCardinalityBehavior enum +public enum ComputablePlanDefinitionActionCardinalityBehavior { + CODE_CARDINALITYBEHAVIOR_SINGLE = "single", + CODE_CARDINALITYBEHAVIOR_MULTIPLE = "multiple" +} + +# FHIR ComputablePlanDefinitionGoal datatype record. # # + addresses - Identifies problems, conditions, issues, or concerns the goal is intended to address. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. @@ -1228,7 +1087,7 @@ public enum Computable_PlanDefinitionActionPrecheckBehavior { # + priority - Identifies the expected level of importance associated with reaching/sustaining the defined goal. # + target - Indicates what should be done and within what timeframe. @r4:DataTypeDefinition { - name: "Computable_PlanDefinitionGoal", + name: "ComputablePlanDefinitionGoal", baseType: (), elements: { "addresses": { @@ -1314,7 +1173,7 @@ public enum Computable_PlanDefinitionActionPrecheckBehavior { }, "target": { name: "target", - dataType: Computable_PlanDefinitionGoalTarget, + dataType: ComputablePlanDefinitionGoalTarget, min: 0, max: int:MAX_VALUE, isArray: true, @@ -1327,7 +1186,8 @@ public enum Computable_PlanDefinitionActionPrecheckBehavior { 'json: r4:complexDataTypeJsonSerializer } } -public type Computable_PlanDefinitionGoal record {| + +public type ComputablePlanDefinitionGoal record {| *r4:BackboneElement; r4:CodeableConcept[] addresses?; @@ -1339,10 +1199,33 @@ public type Computable_PlanDefinitionGoal record {| string id?; r4:CodeableConcept category?; r4:CodeableConcept priority?; - Computable_PlanDefinitionGoalTarget[] target?; + ComputablePlanDefinitionGoalTarget[] target?; |}; -# FHIR Computable_PlanDefinitionActionDynamicValue datatype record. +# ComputablePlanDefinitionStatus enum +public enum ComputablePlanDefinitionStatus { + CODE_STATUS_DRAFT = "draft", + CODE_STATUS_ACTIVE = "active", + CODE_STATUS_RETIRED = "retired", + CODE_STATUS_UNKNOWN = "unknown" +} + +# ComputablePlanDefinitionActionPriority enum +public enum ComputablePlanDefinitionActionPriority { + CODE_PRIORITY_STAT = "stat", + CODE_PRIORITY_ROUTINE = "routine", + CODE_PRIORITY_URGENT = "urgent", + CODE_PRIORITY_ASAP = "asap" +} + +# ComputablePlanDefinitionActionConditionKind enum +public enum ComputablePlanDefinitionActionConditionKind { + CODE_KIND_STOP = "stop", + CODE_KIND_START = "start", + CODE_KIND_APPLICABILITY = "applicability" +} + +# FHIR ComputablePlanDefinitionActionDynamicValue datatype record. # # + path - The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolveable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](http://hl7.org/fhir/fhirpath.html#simple) for full details). # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. @@ -1350,7 +1233,7 @@ public type Computable_PlanDefinitionGoal record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @r4:DataTypeDefinition { - name: "Computable_PlanDefinitionActionDynamicValue", + name: "ComputablePlanDefinitionActionDynamicValue", baseType: (), elements: { "path": { @@ -1404,7 +1287,8 @@ public type Computable_PlanDefinitionGoal record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Computable_PlanDefinitionActionDynamicValue record {| + +public type ComputablePlanDefinitionActionDynamicValue record {| *r4:BackboneElement; string path?; @@ -1414,15 +1298,16 @@ public type Computable_PlanDefinitionActionDynamicValue record {| string id?; |}; -# FHIR Computable_PlanDefinitionActionCondition datatype record. +# FHIR ComputablePlanDefinitionActionRelatedAction datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + expression - An expression that returns true or false, indicating whether the condition is satisfied. -# + kind - The kind of condition. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + actionId - The element id of the related action. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + relationship - The relationship of this action to the related action. + @r4:DataTypeDefinition { - name: "Computable_PlanDefinitionActionCondition", + name: "ComputablePlanDefinitionActionRelatedAction", baseType: (), elements: { "extension": { @@ -1432,25 +1317,129 @@ public type Computable_PlanDefinitionActionDynamicValue record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "PlanDefinition.action.condition.extension" + path: "PlanDefinition.action.relatedAction.extension" }, - "expression": { - name: "expression", - dataType: r4:Expression, + + "modifierExtension": { + name: "modifierExtension", + dataType: r4:Extension, min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + path: "PlanDefinition.action.relatedAction.modifierExtension" + }, + + "actionId": { + name: "actionId", + dataType: r4:id, + min: 1, max: 1, isArray: false, - description: "An expression that returns true or false, indicating whether the condition is satisfied.", - path: "PlanDefinition.action.condition.expression" + description: "The element id of the related action.", + path: "PlanDefinition.action.relatedAction.actionId" }, - "kind": { - name: "kind", - dataType: Computable_PlanDefinitionActionConditionKind, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "PlanDefinition.action.relatedAction.id" + }, + + "relationship": { + name: "relationship", + dataType: ComputablePlanDefinitionActionRelatedActionRelationship, min: 1, max: 1, isArray: false, - description: "The kind of condition.", - path: "PlanDefinition.action.condition.kind" + description: "The relationship of this action to the related action.", + path: "PlanDefinition.action.relatedAction.relationship" + } + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ComputablePlanDefinitionActionRelatedAction record {| + *r4:BackboneElement; + + r4:Extension[] extension?; + r4:Extension[] modifierExtension?; + r4:id actionId; + string id?; + ComputablePlanDefinitionActionRelatedActionRelationship relationship; +|}; + +# FHIR ComputablePlanDefinitionGoalTarget datatype record. +# +# + detailRange - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + measure - The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level. +# + due - Indicates the timeframe after the start of the goal in which the goal should be met. +# + detailQuantity - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + detailCodeableConcept - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. + +@r4:DataTypeDefinition { + name: "ComputablePlanDefinitionGoalTarget", + baseType: (), + elements: { + "detailRange": { + name: "detailRange", + dataType: r4:Range, + min: 0, + max: 1, + isArray: false, + description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", + path: "PlanDefinition.goal.target.detail[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "PlanDefinition.goal.target.extension" + }, + + "measure": { + name: "measure", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.", + path: "PlanDefinition.goal.target.measure" + }, + + "due": { + name: "due", + dataType: r4:Duration, + min: 0, + max: 1, + isArray: false, + description: "Indicates the timeframe after the start of the goal in which the goal should be met.", + path: "PlanDefinition.goal.target.due" + }, + + "detailQuantity": { + name: "detailQuantity", + dataType: r4:Quantity, + min: 0, + max: 1, + isArray: false, + description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", + path: "PlanDefinition.goal.target.detail[x]" }, "modifierExtension": { name: "modifierExtension", @@ -1459,8 +1448,19 @@ public type Computable_PlanDefinitionActionDynamicValue record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "PlanDefinition.action.condition.modifierExtension" + path: "PlanDefinition.goal.target.modifierExtension" + }, + + "detailCodeableConcept": { + name: "detailCodeableConcept", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", + path: "PlanDefinition.goal.target.detail[x]" }, + "id": { name: "id", dataType: string, @@ -1468,7 +1468,7 @@ public type Computable_PlanDefinitionActionDynamicValue record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "PlanDefinition.action.condition.id" + path: "PlanDefinition.goal.target.id" } }, serializers: { @@ -1476,13 +1476,47 @@ public type Computable_PlanDefinitionActionDynamicValue record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Computable_PlanDefinitionActionCondition record {| + +public type ComputablePlanDefinitionGoalTarget record {| *r4:BackboneElement; + r4:Range detailRange?; r4:Extension[] extension?; - r4:Expression expression?; - Computable_PlanDefinitionActionConditionKind kind; + r4:CodeableConcept measure?; + r4:Duration due?; + r4:Quantity detailQuantity?; r4:Extension[] modifierExtension?; + r4:CodeableConcept detailCodeableConcept?; string id?; |}; +# ComputablePlanDefinitionActionRequiredBehavior enum +public enum ComputablePlanDefinitionActionRequiredBehavior { + CODE_REQUIREDBEHAVIOR_COULD = "could", + CODE_REQUIREDBEHAVIOR_MUST = "must", + CODE_REQUIREDBEHAVIOR_MUST_UNLESS_DOCUMENTED = "must-unless-documented" +} + +# ComputablePlanDefinitionActionSelectionBehavior enum +public enum ComputablePlanDefinitionActionSelectionBehavior { + CODE_SELECTIONBEHAVIOR_ALL = "all", + CODE_SELECTIONBEHAVIOR_EXACTLY_ONE = "exactly-one", + CODE_SELECTIONBEHAVIOR_AT_MOST_ONE = "at-most-one", + CODE_SELECTIONBEHAVIOR_ALL_OR_NONE = "all-or-none", + CODE_SELECTIONBEHAVIOR_ANY = "any", + CODE_SELECTIONBEHAVIOR_ONE_OR_MORE = "one-or-more" +} + +# ComputablePlanDefinitionActionRelatedActionRelationship enum +public enum ComputablePlanDefinitionActionRelatedActionRelationship { + CODE_RELATIONSHIP_AFTER_END = "after-end", + CODE_RELATIONSHIP_BEFORE = "before", + CODE_RELATIONSHIP_CONCURRENT_WITH_START = "concurrent-with-start", + CODE_RELATIONSHIP_CONCURRENT = "concurrent", + CODE_RELATIONSHIP_BEFORE_END = "before-end", + CODE_RELATIONSHIP_AFTER = "after", + CODE_RELATIONSHIP_CONCURRENT_WITH_END = "concurrent-with-end", + CODE_RELATIONSHIP_AFTER_START = "after-start", + CODE_RELATIONSHIP_BEFORE_START = "before-start" +} + diff --git a/international401/resource_concept_map.bal b/international401/resource_concept_map.bal index 3b89d26d..587d5c86 100644 --- a/international401/resource_concept_map.bal +++ b/international401/resource_concept_map.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_CONCEPTMAP = "http://hl7.org/fhir/StructureDefinition/ConceptMap"; public const RESOURCE_NAME_CONCEPTMAP = "ConceptMap"; +public type ConceptMapExtensions (ConceptBidirectional|r4:Extension|Replaces|ResourceApprovalDate|ResourceEffectivePeriod|ResourceLastReviewDate|WorkflowRelatedArtifact); + # FHIR ConceptMap resource record. # # + resourceType - The type of the resource describes @@ -440,7 +442,14 @@ public type ConceptMapGroup record {| r4:uri 'source?; ConceptMapGroupUnmapped unmapped?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.ConceptMap.group.element constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.ConceptMap.group.element constraint. This field must be an array containing at most one item." + } } ConceptMapGroupElement[] element; r4:uri target?; @@ -559,6 +568,7 @@ public type ConceptMapGroupUnmapped record {| # # + equivalence - The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source). # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + product - A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on. # + code - Identity (code or path) or the element/item that the map refers to. # + dependsOn - A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value. # + display - The display for the code. The display is only provided to help editors when editing the concept map. @@ -587,6 +597,17 @@ public type ConceptMapGroupUnmapped record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "ConceptMap.group.element.target.extension" }, + + "product": { + name: "product", + dataType: ConceptMapGroupElementTargetDependsOn, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on.", + path: "ConceptMap.group.element.target.product" + }, + "code": { name: "code", dataType: r4:code, @@ -652,6 +673,7 @@ public type ConceptMapGroupElementTarget record {| ConceptMapGroupElementTargetEquivalence equivalence; r4:Extension[] extension?; + ConceptMapGroupElementTargetDependsOn[] product?; r4:code code?; ConceptMapGroupElementTargetDependsOn[] dependsOn?; string display?; diff --git a/international401/resource_condition.bal b/international401/resource_condition.bal index 22d6a8be..98e64b65 100644 --- a/international401/resource_condition.bal +++ b/international401/resource_condition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_CONDITION = "http://hl7.org/fhir/StructureDefinition/Condition"; public const RESOURCE_NAME_CONDITION = "Condition"; +public type ConditionExtensions (ConditionAssertedDate|ConditionDiseaseCourse|ConditionDueTo|ConditionOccurredFollowing|ConditionOutcome|ConditionRelated|ConditionReviewed|ConditionRuledOut|EventBasedOn|EventPartOf|r4:Extension|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowTriggeredBy); + # FHIR Condition resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_consent.bal b/international401/resource_consent.bal index f8d51c5c..4584f3fa 100644 --- a/international401/resource_consent.bal +++ b/international401/resource_consent.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_CONSENT = "http://hl7.org/fhir/StructureDefinition/Consent"; public const RESOURCE_NAME_CONSENT = "Consent"; +public type ConsentExtensions (ConsentNotificationEndpoint|ConsentTranscriber|ConsentWitness|EventBasedOn|r4:Extension|WorkflowEpisodeOfCare|WorkflowResearchStudy); + # FHIR Consent resource record. # # + resourceType - The type of the resource describes @@ -264,7 +266,10 @@ public type Consent record {| string id?; r4:Narrative text?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Consent.category constraint. This field must be an array containing at least one item." + } } r4:CodeableConcept[] category; ConsentVerification[] verification?; @@ -525,6 +530,7 @@ public type ConsentProvisionData record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + 'type - Action to take - permit or deny - when the rule conditions are met. Not permitted in root rule, required in all nested rules. # + actor - Who or what is controlled by this rule. Use group to identify a set of actors by some property they share (e.g. 'admitting officers'). +# + provision - Rules which provide exceptions to the base rule or subrules. # + action - Actions controlled by this Rule. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + 'class - The class of information covered by this rule. The type can be a FHIR resource type, a profile on a type, or a CDA document, or some other type that indicates what sort of information the consent relates to. @@ -622,6 +628,17 @@ public type ConsentProvisionData record {| description: "Who or what is controlled by this rule. Use group to identify a set of actors by some property they share (e.g. 'admitting officers').", path: "Consent.provision.actor" }, + + "provision": { + name: "provision", + dataType: ConsentProvision, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Rules which provide exceptions to the base rule or subrules.", + path: "Consent.provision.provision" + }, + "action": { name: "action", dataType: r4:CodeableConcept, @@ -668,6 +685,7 @@ public type ConsentProvision record {| r4:Extension[] modifierExtension?; ConsentProvisionType 'type?; ConsentProvisionActor[] actor?; + ConsentProvision[] provision?; r4:CodeableConcept[] action?; string id?; r4:Coding[] 'class?; diff --git a/international401/resource_contract.bal b/international401/resource_contract.bal index b952876b..ac782cc1 100644 --- a/international401/resource_contract.bal +++ b/international401/resource_contract.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_CONTRACT = "http://hl7.org/fhir/StructureDefinition/Contract"; public const RESOURCE_NAME_CONTRACT = "Contract"; +public type ContractExtensions (r4:Extension|WorkflowReleaseDate); + # FHIR Contract resource record. # # + resourceType - The type of the resource describes @@ -549,9 +551,9 @@ public type ContractLegal record {| *r4:BackboneElement; r4:Extension[] extension?; - r4:Reference contentReference; + r4:Reference contentReference?; r4:Extension[] modifierExtension?; - r4:Attachment contentAttachment; + r4:Attachment contentAttachment?; string id?; |}; @@ -621,7 +623,14 @@ public type ContractTermActionSubject record {| *r4:BackboneElement; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Contract.term.action.subject.reference constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Contract.term.action.subject.reference constraint. This field must be an array containing at most one item." + } } r4:Reference[] reference; r4:Extension[] extension?; @@ -641,6 +650,7 @@ public type ContractTermActionSubject record {| # + condition - Description of the quality and completeness of the asset that imay be a factor in its valuation. # + linkId - Id [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse. # + periodType - Type of Asset availability for use or ownership. +# + answer - Response to assets. # + subtype - May be a subtype or part of an offered asset. # + scope - Differentiates the kind of the asset . # + context - Circumstance of the asset. @@ -734,6 +744,17 @@ public type ContractTermActionSubject record {| description: "Type of Asset availability for use or ownership.", path: "Contract.term.asset.periodType" }, + + "answer": { + name: "answer", + dataType: ContractTermOfferAnswer, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Response to assets.", + path: "Contract.term.asset.answer" + }, + "subtype": { name: "subtype", dataType: r4:CodeableConcept, @@ -824,6 +845,7 @@ public type ContractTermAsset record {| string condition?; string[] linkId?; r4:CodeableConcept[] periodType?; + ContractTermOfferAnswer[] answer?; r4:CodeableConcept[] subtype?; r4:CodeableConcept scope?; ContractTermAssetContext[] context?; @@ -1154,7 +1176,14 @@ public type ContractSigner record {| r4:Extension[] extension?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Contract.signer.signature constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Contract.signer.signature constraint. This field must be an array containing at most one item." + } } r4:Signature[] signature; r4:Extension[] modifierExtension?; @@ -1184,36 +1213,38 @@ public enum ContractStatus { # FHIR ContractTermOfferAnswer datatype record. # +# + valueBoolean - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. +# + valueCoding - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + valueContractCoding - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. -# + valueContractInteger - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. -# + valueContractBoolean - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. +# + valueTime - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. +# + valueReference - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + valueContractUri - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. -# + valueContractDate - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. -# + valueContractAttachment - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. -# + valueContractTime - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. +# + valueDecimal - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. +# + valueUri - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. +# + valueDate - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. +# + valueAttachment - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. +# + valueString - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. +# + valueDateTime - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + valueContractDecimal - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. -# + valueContractDateTime - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. -# + valueContractString - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. -# + valueContractQuantity - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. -# + valueContractReference - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. +# + valueInteger - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. +# + valueQuantity - Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research. + @r4:DataTypeDefinition { name: "ContractTermOfferAnswer", baseType: (), elements: { - "extension": { - name: "extension", - dataType: r4:Extension, + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Contract.term.offer.answer.extension" + max: 1, + isArray: false, + description: "Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research.", + path: "Contract.term.offer.answer.value[x]" }, - "valueContractCoding": { - name: "valueContractCoding", + + "valueCoding": { + name: "valueCoding", dataType: r4:Coding, min: 0, max: 1, @@ -1221,18 +1252,30 @@ public enum ContractStatus { description: "Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research.", path: "Contract.term.offer.answer.value[x]" }, - "valueContractInteger": { - name: "valueContractInteger", - dataType: r4:integer, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Contract.term.offer.answer.extension" + }, + + "valueTime": { + name: "valueTime", + dataType: r4:time, min: 0, max: 1, isArray: false, description: "Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research.", path: "Contract.term.offer.answer.value[x]" }, - "valueContractBoolean": { - name: "valueContractBoolean", - dataType: boolean, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, min: 0, max: 1, isArray: false, @@ -1248,62 +1291,59 @@ public enum ContractStatus { description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "Contract.term.offer.answer.modifierExtension" }, - "valueContractUri": { - name: "valueContractUri", - dataType: r4:uri, + + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, min: 0, max: 1, isArray: false, description: "Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research.", path: "Contract.term.offer.answer.value[x]" }, - "valueContractDate": { - name: "valueContractDate", - dataType: r4:date, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, min: 0, max: 1, isArray: false, description: "Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research.", path: "Contract.term.offer.answer.value[x]" }, - "valueContractAttachment": { - name: "valueContractAttachment", - dataType: r4:Attachment, + + "valueDate": { + name: "valueDate", + dataType: r4:date, min: 0, max: 1, isArray: false, description: "Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research.", path: "Contract.term.offer.answer.value[x]" }, - "valueContractTime": { - name: "valueContractTime", - dataType: r4:time, + + "valueAttachment": { + name: "valueAttachment", + dataType: r4:Attachment, min: 0, max: 1, isArray: false, description: "Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research.", path: "Contract.term.offer.answer.value[x]" }, - "id": { - name: "id", + + "valueString": { + name: "valueString", dataType: string, min: 0, max: 1, isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Contract.term.offer.answer.id" - }, - "valueContractDecimal": { - name: "valueContractDecimal", - dataType: decimal, - min: 0, - max: 1, - isArray: false, description: "Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research.", path: "Contract.term.offer.answer.value[x]" }, - "valueContractDateTime": { - name: "valueContractDateTime", + + "valueDateTime": { + name: "valueDateTime", dataType: r4:dateTime, min: 0, max: 1, @@ -1311,27 +1351,30 @@ public enum ContractStatus { description: "Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research.", path: "Contract.term.offer.answer.value[x]" }, - "valueContractString": { - name: "valueContractString", + + "id": { + name: "id", dataType: string, min: 0, max: 1, isArray: false, - description: "Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research.", - path: "Contract.term.offer.answer.value[x]" + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Contract.term.offer.answer.id" }, - "valueContractQuantity": { - name: "valueContractQuantity", - dataType: r4:Quantity, + + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, min: 0, max: 1, isArray: false, description: "Response to an offer clause or question text, which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research.", path: "Contract.term.offer.answer.value[x]" }, - "valueContractReference": { - name: "valueContractReference", - dataType: r4:Reference, + + "valueQuantity": { + name: "valueQuantity", + dataType: r4:Quantity, min: 0, max: 1, isArray: false, @@ -1347,21 +1390,21 @@ public enum ContractStatus { public type ContractTermOfferAnswer record {| *r4:BackboneElement; + boolean valueBoolean?; + r4:Coding valueCoding?; r4:Extension[] extension?; - r4:Coding valueContractCoding; - r4:integer valueContractInteger; - boolean valueContractBoolean; + r4:time valueTime?; + r4:Reference valueReference?; r4:Extension[] modifierExtension?; - r4:uri valueContractUri; - r4:date valueContractDate; - r4:Attachment valueContractAttachment; - r4:time valueContractTime; + decimal valueDecimal?; + r4:uri valueUri?; + r4:date valueDate?; + r4:Attachment valueAttachment?; + string valueString?; + r4:dateTime valueDateTime?; string id?; - decimal valueContractDecimal; - r4:dateTime valueContractDateTime; - string valueContractString; - r4:Quantity valueContractQuantity; - r4:Reference valueContractReference; + r4:integer valueInteger?; + r4:Quantity valueQuantity?; |}; # FHIR ContractTerm datatype record. @@ -1381,6 +1424,8 @@ public type ContractTermOfferAnswer record {| # + text - Statement of a provision in a policy or a contract. # + asset - Contract Term Asset List. # + issued - When this Contract Provision was issued. +# + group - Nested group of Contract Provisions. + @r4:DataTypeDefinition { name: "ContractTerm", baseType: (), @@ -1519,6 +1564,16 @@ public type ContractTermOfferAnswer record {| isArray: false, description: "When this Contract Provision was issued.", path: "Contract.term.issued" + }, + + "group": { + name: "group", + dataType: ContractTerm, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Nested group of Contract Provisions.", + path: "Contract.term.group" } }, serializers: { @@ -1544,6 +1599,7 @@ public type ContractTerm record {| string text?; ContractTermAsset[] asset?; r4:dateTime issued?; + ContractTerm[] group?; |}; # FHIR ContractFriendly datatype record. @@ -1612,9 +1668,9 @@ public type ContractFriendly record {| *r4:BackboneElement; r4:Extension[] extension?; - r4:Reference contentReference; + r4:Reference contentReference?; r4:Extension[] modifierExtension?; - r4:Attachment contentAttachment; + r4:Attachment contentAttachment?; string id?; |}; @@ -1684,7 +1740,14 @@ public type ContractTermOfferParty record {| *r4:BackboneElement; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Contract.term.offer.party.reference constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Contract.term.offer.party.reference constraint. This field must be an array containing at most one item." + } } r4:Reference[] reference; r4:Extension[] extension?; @@ -1699,12 +1762,13 @@ public type ContractTermOfferParty record {| # + identifier - Identifies a Contract Valued Item instance. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + quantity - Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances. -# + entityContractCodeableConcept - Specific type of Contract Valued Item that may be priced. # + effectiveTime - Indicates the time during which this Contract ValuedItem information is effective. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + entityCodeableConcept - Specific type of Contract Valued Item that may be priced. # + securityLabelNumber - A set of security labels that define which terms are controlled by this condition. # + points - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point. # + linkId - Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse. +# + entityReference - Specific type of Contract Valued Item that may be priced. # + responsible - Who will make payment. # + recipient - Who will receive payment. # + payment - Terms of valuation. @@ -1712,7 +1776,7 @@ public type ContractTermOfferParty record {| # + factor - A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. # + net - Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied. # + paymentDate - When payment is due. -# + entityContractReference - Specific type of Contract Valued Item that may be priced. + @r4:DataTypeDefinition { name: "ContractTermAssetValuedItem", baseType: (), @@ -1753,15 +1817,7 @@ public type ContractTermOfferParty record {| description: "Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.", path: "Contract.term.asset.valuedItem.quantity" }, - "entityContractCodeableConcept": { - name: "entityContractCodeableConcept", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "Specific type of Contract Valued Item that may be priced.", - path: "Contract.term.asset.valuedItem.entity[x]" - }, + "effectiveTime": { name: "effectiveTime", dataType: r4:dateTime, @@ -1780,6 +1836,17 @@ public type ContractTermOfferParty record {| description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "Contract.term.asset.valuedItem.modifierExtension" }, + + "entityCodeableConcept": { + name: "entityCodeableConcept", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "Specific type of Contract Valued Item that may be priced.", + path: "Contract.term.asset.valuedItem.entity[x]" + }, + "securityLabelNumber": { name: "securityLabelNumber", dataType: r4:unsignedInt, @@ -1807,6 +1874,17 @@ public type ContractTermOfferParty record {| description: "Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.", path: "Contract.term.asset.valuedItem.linkId" }, + + "entityReference": { + name: "entityReference", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "Specific type of Contract Valued Item that may be priced.", + path: "Contract.term.asset.valuedItem.entity[x]" + }, + "responsible": { name: "responsible", dataType: r4:Reference, @@ -1869,15 +1947,6 @@ public type ContractTermOfferParty record {| isArray: false, description: "When payment is due.", path: "Contract.term.asset.valuedItem.paymentDate" - }, - "entityContractReference": { - name: "entityContractReference", - dataType: r4:Reference, - min: 0, - max: 1, - isArray: false, - description: "Specific type of Contract Valued Item that may be priced.", - path: "Contract.term.asset.valuedItem.entity[x]" } }, serializers: { @@ -1892,12 +1961,13 @@ public type ContractTermAssetValuedItem record {| r4:Identifier identifier?; r4:Extension[] extension?; r4:Quantity quantity?; - r4:CodeableConcept entityContractCodeableConcept?; r4:dateTime effectiveTime?; r4:Extension[] modifierExtension?; + r4:CodeableConcept entityCodeableConcept?; r4:unsignedInt[] securityLabelNumber?; decimal points?; string[] linkId?; + r4:Reference entityReference?; r4:Reference responsible?; r4:Reference recipient?; string payment?; @@ -1905,7 +1975,6 @@ public type ContractTermAssetValuedItem record {| decimal factor?; r4:Money net?; r4:dateTime paymentDate?; - r4:Reference entityContractReference?; |}; # FHIR ContractTermSecurityLabel datatype record. @@ -2010,7 +2079,6 @@ public type ContractTermSecurityLabel record {| # + subject - Entity of the action. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + reasonReference - Indicates another resource whose existence justifies permitting or not permitting this action. -# + occurrenceContractDateTime - When action happens. # + performerLinkId - Id [identifier??] of the clause or question text related to the reason type or reference of this action in the referenced form or QuestionnaireResponse. # + 'type - Activity or service obligation to be done or not done, performed or not performed, effectuated or not by this Contract term. # + contextLinkId - Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse. @@ -2022,12 +2090,13 @@ public type ContractTermSecurityLabel record {| # + performer - Indicates who or what is being asked to perform (or not perform) the ction. # + performerRole - The type of role or competency of an individual desired or required to perform or not perform the action. # + securityLabelNumber - Security labels that protects the action. +# + occurrenceTiming - When action happens. # + intent - Reason or purpose for the action stipulated by this Contract Provision. # + performerType - The type of individual that is desired or required to perform or not perform the action. # + requesterLinkId - Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse. -# + occurrenceContractPeriod - When action happens. # + linkId - Id [identifier??] of the clause or question text related to this action in the referenced form or QuestionnaireResponse. -# + occurrenceContractTiming - When action happens. +# + occurrencePeriod - When action happens. +# + occurrenceDateTime - When action happens. # + reasonLinkId - Id [identifier??] of the clause or question text related to the reason type or reference of this action in the referenced form or QuestionnaireResponse. # + status - Current state of the term action. @r4:DataTypeDefinition { @@ -2088,15 +2157,7 @@ public type ContractTermSecurityLabel record {| description: "Indicates another resource whose existence justifies permitting or not permitting this action.", path: "Contract.term.action.reasonReference" }, - "occurrenceContractDateTime": { - name: "occurrenceContractDateTime", - dataType: r4:dateTime, - min: 0, - max: 1, - isArray: false, - description: "When action happens.", - path: "Contract.term.action.occurrence[x]" - }, + "performerLinkId": { name: "performerLinkId", dataType: string, @@ -2196,6 +2257,17 @@ public type ContractTermSecurityLabel record {| description: "Security labels that protects the action.", path: "Contract.term.action.securityLabelNumber" }, + + "occurrenceTiming": { + name: "occurrenceTiming", + dataType: r4:Timing, + min: 0, + max: 1, + isArray: false, + description: "When action happens.", + path: "Contract.term.action.occurrence[x]" + }, + "intent": { name: "intent", dataType: r4:CodeableConcept, @@ -2223,15 +2295,7 @@ public type ContractTermSecurityLabel record {| description: "Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse.", path: "Contract.term.action.requesterLinkId" }, - "occurrenceContractPeriod": { - name: "occurrenceContractPeriod", - dataType: r4:Period, - min: 0, - max: 1, - isArray: false, - description: "When action happens.", - path: "Contract.term.action.occurrence[x]" - }, + "linkId": { name: "linkId", dataType: string, @@ -2241,9 +2305,20 @@ public type ContractTermSecurityLabel record {| description: "Id [identifier??] of the clause or question text related to this action in the referenced form or QuestionnaireResponse.", path: "Contract.term.action.linkId" }, - "occurrenceContractTiming": { - name: "occurrenceContractTiming", - dataType: r4:Timing, + + "occurrencePeriod": { + name: "occurrencePeriod", + dataType: r4:Period, + min: 0, + max: 1, + isArray: false, + description: "When action happens.", + path: "Contract.term.action.occurrence[x]" + }, + + "occurrenceDateTime": { + name: "occurrenceDateTime", + dataType: r4:dateTime, min: 0, max: 1, isArray: false, @@ -2283,7 +2358,6 @@ public type ContractTermAction record {| ContractTermActionSubject[] subject?; r4:Extension[] modifierExtension?; r4:Reference[] reasonReference?; - r4:dateTime occurrenceContractDateTime?; string[] performerLinkId?; r4:CodeableConcept 'type; string[] contextLinkId?; @@ -2295,12 +2369,13 @@ public type ContractTermAction record {| r4:Reference performer?; r4:CodeableConcept performerRole?; r4:unsignedInt[] securityLabelNumber?; + r4:Timing occurrenceTiming?; r4:CodeableConcept intent; r4:CodeableConcept[] performerType?; string[] requesterLinkId?; - r4:Period occurrenceContractPeriod?; string[] linkId?; - r4:Timing occurrenceContractTiming?; + r4:Period occurrencePeriod?; + r4:dateTime occurrenceDateTime?; string[] reasonLinkId?; r4:CodeableConcept status; |}; @@ -2371,9 +2446,9 @@ public type ContractRule record {| *r4:BackboneElement; r4:Extension[] extension?; - r4:Reference contentReference; + r4:Reference contentReference?; r4:Extension[] modifierExtension?; - r4:Attachment contentAttachment; + r4:Attachment contentAttachment?; string id?; |}; diff --git a/international401/resource_coverage.bal b/international401/resource_coverage.bal index 5402784e..c6f477af 100644 --- a/international401/resource_coverage.bal +++ b/international401/resource_coverage.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_COVERAGE = "http://hl7.org/fhir/StructureDefinition/Coverage"; public const RESOURCE_NAME_COVERAGE = "Coverage"; +public type CoverageExtensions (EventBasedOn|r4:Extension); + # FHIR Coverage resource record. # # + resourceType - The type of the resource describes @@ -278,7 +280,10 @@ public type Coverage record {| r4:CodeableConcept 'type?; string network?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Coverage.payor constraint. This field must be an array containing at least one item." + } } r4:Reference[] payor; string id?; @@ -397,11 +402,11 @@ public type CoverageCostToBeneficiary record {| CoverageCostToBeneficiaryException[] exception?; r4:Extension[] extension?; - r4:Money valueMoney; + r4:Money valueMoney?; r4:Extension[] modifierExtension?; string id?; r4:CodeableConcept 'type?; - r4:Quantity valueQuantity; + r4:Quantity valueQuantity?; |}; # FHIR CoverageCostToBeneficiaryException datatype record. diff --git a/international401/resource_coverage_eligibility_request.bal b/international401/resource_coverage_eligibility_request.bal index 52d5fdbf..601dac5a 100644 --- a/international401/resource_coverage_eligibility_request.bal +++ b/international401/resource_coverage_eligibility_request.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -258,7 +258,10 @@ public type CoverageEligibilityRequest record {| r4:Extension[] extension?; CoverageEligibilityRequestItem[] item?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.CoverageEligibilityRequest.purpose constraint. This field must be an array containing at least one item." + } } CoverageEligibilityRequestPurpose[] purpose; r4:dateTime created; @@ -458,24 +461,16 @@ public enum CoverageEligibilityRequestPurpose { # FHIR CoverageEligibilityRequestItemDiagnosis datatype record. # -# + diagnosisCoverageEligibilityRequestCodeableConcept - The nature of illness or problem in a coded form or as a reference to an external defined Condition. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + diagnosisCoverageEligibilityRequestReference - The nature of illness or problem in a coded form or as a reference to an external defined Condition. +# + diagnosisReference - The nature of illness or problem in a coded form or as a reference to an external defined Condition. +# + diagnosisCodeableConcept - The nature of illness or problem in a coded form or as a reference to an external defined Condition. + @r4:DataTypeDefinition { name: "CoverageEligibilityRequestItemDiagnosis", baseType: (), elements: { - "diagnosisCoverageEligibilityRequestCodeableConcept": { - name: "diagnosisCoverageEligibilityRequestCodeableConcept", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "The nature of illness or problem in a coded form or as a reference to an external defined Condition.", - path: "CoverageEligibilityRequest.item.diagnosis.diagnosis[x]" - }, "extension": { name: "extension", dataType: r4:Extension, @@ -503,14 +498,25 @@ public enum CoverageEligibilityRequestPurpose { description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "CoverageEligibilityRequest.item.diagnosis.id" }, - "diagnosisCoverageEligibilityRequestReference": { - name: "diagnosisCoverageEligibilityRequestReference", + + "diagnosisReference": { + name: "diagnosisReference", dataType: r4:Reference, min: 0, max: 1, isArray: false, description: "The nature of illness or problem in a coded form or as a reference to an external defined Condition.", path: "CoverageEligibilityRequest.item.diagnosis.diagnosis[x]" + }, + + "diagnosisCodeableConcept": { + name: "diagnosisCodeableConcept", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "The nature of illness or problem in a coded form or as a reference to an external defined Condition.", + path: "CoverageEligibilityRequest.item.diagnosis.diagnosis[x]" } }, serializers: { @@ -521,11 +527,11 @@ public enum CoverageEligibilityRequestPurpose { public type CoverageEligibilityRequestItemDiagnosis record {| *r4:BackboneElement; - r4:CodeableConcept diagnosisCoverageEligibilityRequestCodeableConcept?; r4:Extension[] extension?; r4:Extension[] modifierExtension?; string id?; - r4:Reference diagnosisCoverageEligibilityRequestReference?; + r4:Reference diagnosisReference?; + r4:CodeableConcept diagnosisCodeableConcept?; |}; # CoverageEligibilityRequestStatus enum diff --git a/international401/resource_coverage_eligibility_response.bal b/international401/resource_coverage_eligibility_response.bal index e154999c..bb300e59 100644 --- a/international401/resource_coverage_eligibility_response.bal +++ b/international401/resource_coverage_eligibility_response.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -268,7 +268,10 @@ public type CoverageEligibilityResponse record {| r4:Reference request; r4:Extension[] extension?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.CoverageEligibilityResponse.purpose constraint. This field must be an array containing at least one item." + } } CoverageEligibilityResponsePurpose[] purpose; r4:dateTime created; @@ -560,22 +563,32 @@ public type CoverageEligibilityResponseInsuranceItem record {| # FHIR CoverageEligibilityResponseInsuranceItemBenefit datatype record. # -# + allowedCoverageEligibilityResponseMoney - The quantity of the benefit which is permitted under the coverage. +# + usedString - The quantity of the benefit which have been consumed to date. +# + allowedMoney - The quantity of the benefit which is permitted under the coverage. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + usedCoverageEligibilityResponseMoney - The quantity of the benefit which have been consumed to date. -# + usedCoverageEligibilityResponseUnsignedInt - The quantity of the benefit which have been consumed to date. -# + allowedCoverageEligibilityResponseString - The quantity of the benefit which is permitted under the coverage. +# + allowedString - The quantity of the benefit which is permitted under the coverage. +# + allowedUnsignedInt - The quantity of the benefit which is permitted under the coverage. +# + usedUnsignedInt - The quantity of the benefit which have been consumed to date. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + allowedCoverageEligibilityResponseUnsignedInt - The quantity of the benefit which is permitted under the coverage. -# + usedCoverageEligibilityResponseString - The quantity of the benefit which have been consumed to date. +# + usedMoney - The quantity of the benefit which have been consumed to date. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + 'type - Classification of benefit being provided. @r4:DataTypeDefinition { name: "CoverageEligibilityResponseInsuranceItemBenefit", baseType: (), elements: { - "allowedCoverageEligibilityResponseMoney": { - name: "allowedCoverageEligibilityResponseMoney", + "usedString": { + name: "usedString", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "The quantity of the benefit which have been consumed to date.", + path: "CoverageEligibilityResponse.insurance.item.benefit.used[x]" + }, + + "allowedMoney": { + name: "allowedMoney", dataType: r4:Money, min: 0, max: 1, @@ -592,32 +605,35 @@ public type CoverageEligibilityResponseInsuranceItem record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "CoverageEligibilityResponse.insurance.item.benefit.extension" }, - "usedCoverageEligibilityResponseMoney": { - name: "usedCoverageEligibilityResponseMoney", - dataType: r4:Money, + + "allowedString": { + name: "allowedString", + dataType: string, min: 0, max: 1, isArray: false, - description: "The quantity of the benefit which have been consumed to date.", - path: "CoverageEligibilityResponse.insurance.item.benefit.used[x]" + description: "The quantity of the benefit which is permitted under the coverage.", + path: "CoverageEligibilityResponse.insurance.item.benefit.allowed[x]" }, - "usedCoverageEligibilityResponseUnsignedInt": { - name: "usedCoverageEligibilityResponseUnsignedInt", + + "allowedUnsignedInt": { + name: "allowedUnsignedInt", dataType: r4:unsignedInt, min: 0, max: 1, isArray: false, - description: "The quantity of the benefit which have been consumed to date.", - path: "CoverageEligibilityResponse.insurance.item.benefit.used[x]" + description: "The quantity of the benefit which is permitted under the coverage.", + path: "CoverageEligibilityResponse.insurance.item.benefit.allowed[x]" }, - "allowedCoverageEligibilityResponseString": { - name: "allowedCoverageEligibilityResponseString", - dataType: string, + + "usedUnsignedInt": { + name: "usedUnsignedInt", + dataType: r4:unsignedInt, min: 0, max: 1, isArray: false, - description: "The quantity of the benefit which is permitted under the coverage.", - path: "CoverageEligibilityResponse.insurance.item.benefit.allowed[x]" + description: "The quantity of the benefit which have been consumed to date.", + path: "CoverageEligibilityResponse.insurance.item.benefit.used[x]" }, "modifierExtension": { name: "modifierExtension", @@ -628,18 +644,10 @@ public type CoverageEligibilityResponseInsuranceItem record {| description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "CoverageEligibilityResponse.insurance.item.benefit.modifierExtension" }, - "allowedCoverageEligibilityResponseUnsignedInt": { - name: "allowedCoverageEligibilityResponseUnsignedInt", - dataType: r4:unsignedInt, - min: 0, - max: 1, - isArray: false, - description: "The quantity of the benefit which is permitted under the coverage.", - path: "CoverageEligibilityResponse.insurance.item.benefit.allowed[x]" - }, - "usedCoverageEligibilityResponseString": { - name: "usedCoverageEligibilityResponseString", - dataType: string, + + "usedMoney": { + name: "usedMoney", + dataType: r4:Money, min: 0, max: 1, isArray: false, @@ -673,14 +681,14 @@ public type CoverageEligibilityResponseInsuranceItem record {| public type CoverageEligibilityResponseInsuranceItemBenefit record {| *r4:BackboneElement; - r4:Money allowedCoverageEligibilityResponseMoney?; + string usedString?; + r4:Money allowedMoney?; r4:Extension[] extension?; - r4:Money usedCoverageEligibilityResponseMoney?; - r4:unsignedInt usedCoverageEligibilityResponseUnsignedInt?; - string allowedCoverageEligibilityResponseString?; + string allowedString?; + r4:unsignedInt allowedUnsignedInt?; + r4:unsignedInt usedUnsignedInt?; r4:Extension[] modifierExtension?; - r4:unsignedInt allowedCoverageEligibilityResponseUnsignedInt?; - string usedCoverageEligibilityResponseString?; + r4:Money usedMoney?; string id?; r4:CodeableConcept 'type; |}; diff --git a/international401/resource_cqf_questionnaire.bal b/international401/resource_cqf_questionnaire.bal index 822fa6b5..182ac814 100644 --- a/international401/resource_cqf_questionnaire.bal +++ b/international401/resource_cqf_questionnaire.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,17 +22,14 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_CQF_QUESTIONNAIRE = "http://hl7.org/fhir/StructureDefinition/cqf-questionnaire"; public const RESOURCE_NAME_CQF_QUESTIONNAIRE = "Questionnaire"; +public type CQF_QuestionnaireExtensions (CqfTargetInvariant|DesignNote|r4:Extension|PreferredTerminologyServer|QuestionnaireConstraint|QuestionnaireDefinitionBased|QuestionnaireSignatureRequired|Replaces|TargetConstraint|Variable); + # FHIR CQF_Questionnaire resource record. # # + resourceType - The type of the resource describes # + date - The date (and optionally time) when the questionnaire was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the questionnaire changes. # + copyright - A copyright statement relating to the questionnaire and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the questionnaire. # + extension - An Extension -# * extension Slicings -# 1) Extension: A library containing logic referenced by the questionnaire -# - min = 0 -# - max = * -# # + approvalDate - The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. # + code - An identifier for this question or group of questions in a particular terminology such as LOINC. # + purpose - Explanation of why this questionnaire is needed and why it has been designed as it has. @@ -364,20 +361,31 @@ public enum CQF_QuestionnaireStatus { # FHIR CQF_QuestionnaireItemAnswerOption datatype record. # +# + valueCoding - A potential answer that's allowed as the answer to this question. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + valueQuestionnaireCoding - A potential answer that's allowed as the answer to this question. +# + valueTime - A potential answer that's allowed as the answer to this question. +# + valueString - A potential answer that's allowed as the answer to this question. +# + valueReference - A potential answer that's allowed as the answer to this question. # + initialSelected - Indicates whether the answer value is selected when the list of possible answers is initially shown. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + valueQuestionnaireInteger - A potential answer that's allowed as the answer to this question. -# + valueQuestionnaireString - A potential answer that's allowed as the answer to this question. -# + valueQuestionnaireDate - A potential answer that's allowed as the answer to this question. -# + valueQuestionnaireTime - A potential answer that's allowed as the answer to this question. -# + valueQuestionnaireReference - A potential answer that's allowed as the answer to this question. +# + valueDate - A potential answer that's allowed as the answer to this question. +# + valueInteger - A potential answer that's allowed as the answer to this question. + @r4:DataTypeDefinition { name: "CQF_QuestionnaireItemAnswerOption", baseType: (), elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 0, + max: 1, + isArray: false, + description: "A potential answer that's allowed as the answer to this question.", + path: "Questionnaire.item.answerOption.value[x]" + }, + "extension": { name: "extension", dataType: r4:Extension, @@ -387,15 +395,37 @@ public enum CQF_QuestionnaireStatus { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "Questionnaire.item.answerOption.extension" }, - "valueQuestionnaireCoding": { - name: "valueQuestionnaireCoding", - dataType: r4:Coding, + + "valueTime": { + name: "valueTime", + dataType: r4:time, min: 0, max: 1, isArray: false, description: "A potential answer that's allowed as the answer to this question.", path: "Questionnaire.item.answerOption.value[x]" }, + + "valueString": { + name: "valueString", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "A potential answer that's allowed as the answer to this question.", + path: "Questionnaire.item.answerOption.value[x]" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "A potential answer that's allowed as the answer to this question.", + path: "Questionnaire.item.answerOption.value[x]" + }, + "initialSelected": { name: "initialSelected", dataType: boolean, @@ -423,26 +453,9 @@ public enum CQF_QuestionnaireStatus { description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "Questionnaire.item.answerOption.id" }, - "valueQuestionnaireInteger": { - name: "valueQuestionnaireInteger", - dataType: r4:integer, - min: 0, - max: 1, - isArray: false, - description: "A potential answer that's allowed as the answer to this question.", - path: "Questionnaire.item.answerOption.value[x]" - }, - "valueQuestionnaireString": { - name: "valueQuestionnaireString", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "A potential answer that's allowed as the answer to this question.", - path: "Questionnaire.item.answerOption.value[x]" - }, - "valueQuestionnaireDate": { - name: "valueQuestionnaireDate", + + "valueDate": { + name: "valueDate", dataType: r4:date, min: 0, max: 1, @@ -450,18 +463,10 @@ public enum CQF_QuestionnaireStatus { description: "A potential answer that's allowed as the answer to this question.", path: "Questionnaire.item.answerOption.value[x]" }, - "valueQuestionnaireTime": { - name: "valueQuestionnaireTime", - dataType: r4:time, - min: 0, - max: 1, - isArray: false, - description: "A potential answer that's allowed as the answer to this question.", - path: "Questionnaire.item.answerOption.value[x]" - }, - "valueQuestionnaireReference": { - name: "valueQuestionnaireReference", - dataType: r4:Reference, + + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, min: 0, max: 1, isArray: false, @@ -477,16 +482,16 @@ public enum CQF_QuestionnaireStatus { public type CQF_QuestionnaireItemAnswerOption record {| *r4:BackboneElement; + r4:Coding valueCoding?; r4:Extension[] extension?; - r4:Coding valueQuestionnaireCoding; + r4:time valueTime?; + string valueString?; + r4:Reference valueReference?; boolean initialSelected?; r4:Extension[] modifierExtension?; string id?; - r4:integer valueQuestionnaireInteger; - string valueQuestionnaireString; - r4:date valueQuestionnaireDate; - r4:time valueQuestionnaireTime; - r4:Reference valueQuestionnaireReference; + r4:date valueDate?; + r4:integer valueInteger?; |}; # CQF_QuestionnaireItemEnableBehavior enum @@ -499,6 +504,7 @@ public enum CQF_QuestionnaireItemEnableBehavior { # # + repeats - An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + item - Text, questions and other groups to be nested beneath a question or group. # + code - A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers). # + enableWhen - A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true. # + initial - One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input. @@ -537,6 +543,17 @@ public enum CQF_QuestionnaireItemEnableBehavior { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "Questionnaire.item.extension" }, + + "item": { + name: "item", + dataType: CQF_QuestionnaireItem, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Text, questions and other groups to be nested beneath a question or group.", + path: "Questionnaire.item.item" + }, + "code": { name: "code", dataType: r4:Coding, @@ -692,6 +709,7 @@ public type CQF_QuestionnaireItem record {| boolean repeats?; r4:Extension[] extension?; + CQF_QuestionnaireItem[] item?; r4:Coding[] code?; CQF_QuestionnaireItemEnableWhen[] enableWhen?; CQF_QuestionnaireItemInitial[] initial?; @@ -723,37 +741,39 @@ public enum CQF_QuestionnaireItemEnableWhenOperator { # FHIR CQF_QuestionnaireItemEnableWhen datatype record. # -# + answerQuestionnaireReference - A value that the referenced question is tested using the specified operator in order for the item to be enabled. -# + answerQuestionnaireDate - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerQuantity - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerDateTime - A value that the referenced question is tested using the specified operator in order for the item to be enabled. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + answerDate - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerTime - A value that the referenced question is tested using the specified operator in order for the item to be enabled. # + question - The linkId for the question whose answer (or lack of answer) governs whether this item is enabled. -# + answerQuestionnaireDecimal - A value that the referenced question is tested using the specified operator in order for the item to be enabled. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + answerQuestionnaireTime - A value that the referenced question is tested using the specified operator in order for the item to be enabled. -# + answerQuestionnaireString - A value that the referenced question is tested using the specified operator in order for the item to be enabled. -# + answerQuestionnaireCoding - A value that the referenced question is tested using the specified operator in order for the item to be enabled. -# + answerQuestionnaireInteger - A value that the referenced question is tested using the specified operator in order for the item to be enabled. -# + answerQuestionnaireQuantity - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerInteger - A value that the referenced question is tested using the specified operator in order for the item to be enabled. # + operator - Specifies the criteria by which the question is enabled. -# + answerQuestionnaireDateTime - A value that the referenced question is tested using the specified operator in order for the item to be enabled. -# + answerQuestionnaireBoolean - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerDecimal - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerString - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerCoding - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerReference - A value that the referenced question is tested using the specified operator in order for the item to be enabled. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + answerBoolean - A value that the referenced question is tested using the specified operator in order for the item to be enabled. + @r4:DataTypeDefinition { name: "CQF_QuestionnaireItemEnableWhen", baseType: (), elements: { - "answerQuestionnaireReference": { - name: "answerQuestionnaireReference", - dataType: r4:Reference, + "answerQuantity": { + name: "answerQuantity", + dataType: r4:Quantity, min: 0, max: 1, isArray: false, description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", path: "Questionnaire.item.enableWhen.answer[x]" }, - "answerQuestionnaireDate": { - name: "answerQuestionnaireDate", - dataType: r4:date, + + "answerDateTime": { + name: "answerDateTime", + dataType: r4:dateTime, min: 0, max: 1, isArray: false, @@ -769,24 +789,37 @@ public enum CQF_QuestionnaireItemEnableWhenOperator { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "Questionnaire.item.enableWhen.extension" }, - "question": { - name: "question", - dataType: string, - min: 1, + + "answerDate": { + name: "answerDate", + dataType: r4:date, + min: 0, max: 1, isArray: false, - description: "The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.", - path: "Questionnaire.item.enableWhen.question" + description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", + path: "Questionnaire.item.enableWhen.answer[x]" }, - "answerQuestionnaireDecimal": { - name: "answerQuestionnaireDecimal", - dataType: decimal, + + "answerTime": { + name: "answerTime", + dataType: r4:time, min: 0, max: 1, isArray: false, description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", path: "Questionnaire.item.enableWhen.answer[x]" }, + + "question": { + name: "question", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.", + path: "Questionnaire.item.enableWhen.question" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -796,72 +829,60 @@ public enum CQF_QuestionnaireItemEnableWhenOperator { description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "Questionnaire.item.enableWhen.modifierExtension" }, - "answerQuestionnaireTime": { - name: "answerQuestionnaireTime", - dataType: r4:time, - min: 0, - max: 1, - isArray: false, - description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", - path: "Questionnaire.item.enableWhen.answer[x]" - }, - "answerQuestionnaireString": { - name: "answerQuestionnaireString", - dataType: string, + + "answerInteger": { + name: "answerInteger", + dataType: r4:integer, min: 0, max: 1, isArray: false, description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", path: "Questionnaire.item.enableWhen.answer[x]" }, - "answerQuestionnaireCoding": { - name: "answerQuestionnaireCoding", - dataType: r4:Coding, - min: 0, + + "operator": { + name: "operator", + dataType: CQF_QuestionnaireItemEnableWhenOperator, + min: 1, max: 1, isArray: false, - description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", - path: "Questionnaire.item.enableWhen.answer[x]" + description: "Specifies the criteria by which the question is enabled.", + path: "Questionnaire.item.enableWhen.operator" }, - "answerQuestionnaireInteger": { - name: "answerQuestionnaireInteger", - dataType: r4:integer, + + "answerDecimal": { + name: "answerDecimal", + dataType: decimal, min: 0, max: 1, isArray: false, description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", path: "Questionnaire.item.enableWhen.answer[x]" }, - "answerQuestionnaireQuantity": { - name: "answerQuestionnaireQuantity", - dataType: r4:Quantity, + + "answerString": { + name: "answerString", + dataType: string, min: 0, max: 1, isArray: false, description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", path: "Questionnaire.item.enableWhen.answer[x]" }, - "operator": { - name: "operator", - dataType: CQF_QuestionnaireItemEnableWhenOperator, - min: 1, - max: 1, - isArray: false, - description: "Specifies the criteria by which the question is enabled.", - path: "Questionnaire.item.enableWhen.operator" - }, - "answerQuestionnaireDateTime": { - name: "answerQuestionnaireDateTime", - dataType: r4:dateTime, + + "answerCoding": { + name: "answerCoding", + dataType: r4:Coding, min: 0, max: 1, isArray: false, description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", path: "Questionnaire.item.enableWhen.answer[x]" }, - "answerQuestionnaireBoolean": { - name: "answerQuestionnaireBoolean", - dataType: boolean, + + "answerReference": { + name: "answerReference", + dataType: r4:Reference, min: 0, max: 1, isArray: false, @@ -876,6 +897,16 @@ public enum CQF_QuestionnaireItemEnableWhenOperator { isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "Questionnaire.item.enableWhen.id" + }, + + "answerBoolean": { + name: "answerBoolean", + dataType: boolean, + min: 0, + max: 1, + isArray: false, + description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", + path: "Questionnaire.item.enableWhen.answer[x]" } }, serializers: { @@ -886,21 +917,21 @@ public enum CQF_QuestionnaireItemEnableWhenOperator { public type CQF_QuestionnaireItemEnableWhen record {| *r4:BackboneElement; - r4:Reference answerQuestionnaireReference; - r4:date answerQuestionnaireDate; + r4:Quantity answerQuantity?; + r4:dateTime answerDateTime?; r4:Extension[] extension?; + r4:date answerDate?; + r4:time answerTime?; string question; - decimal answerQuestionnaireDecimal; r4:Extension[] modifierExtension?; - r4:time answerQuestionnaireTime; - string answerQuestionnaireString; - r4:Coding answerQuestionnaireCoding; - r4:integer answerQuestionnaireInteger; - r4:Quantity answerQuestionnaireQuantity; + r4:integer answerInteger?; CQF_QuestionnaireItemEnableWhenOperator operator; - r4:dateTime answerQuestionnaireDateTime; - boolean answerQuestionnaireBoolean; + decimal answerDecimal?; + string answerString?; + r4:Coding answerCoding?; + r4:Reference answerReference?; string id?; + boolean answerBoolean?; |}; # CQF_QuestionnaireItemType enum @@ -916,25 +947,46 @@ public enum CQF_QuestionnaireItemType { # FHIR CQF_QuestionnaireItemInitial datatype record. # +# + valueBoolean - The actual value to for an initial answer. +# + valueCoding - The actual value to for an initial answer. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + valueQuestionnaireCoding - The actual value to for an initial answer. +# + valueTime - The actual value to for an initial answer. +# + valueReference - The actual value to for an initial answer. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + valueQuestionnaireUri - The actual value to for an initial answer. -# + valueQuestionnaireBoolean - The actual value to for an initial answer. -# + valueQuestionnaireAttachment - The actual value to for an initial answer. -# + valueQuestionnaireReference - The actual value to for an initial answer. -# + valueQuestionnaireDecimal - The actual value to for an initial answer. -# + valueQuestionnaireDateTime - The actual value to for an initial answer. -# + valueQuestionnaireQuantity - The actual value to for an initial answer. +# + valueDecimal - The actual value to for an initial answer. +# + valueUri - The actual value to for an initial answer. +# + valueDate - The actual value to for an initial answer. +# + valueAttachment - The actual value to for an initial answer. +# + valueString - The actual value to for an initial answer. +# + valueDateTime - The actual value to for an initial answer. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + valueQuestionnaireInteger - The actual value to for an initial answer. -# + valueQuestionnaireString - The actual value to for an initial answer. -# + valueQuestionnaireDate - The actual value to for an initial answer. -# + valueQuestionnaireTime - The actual value to for an initial answer. +# + valueInteger - The actual value to for an initial answer. +# + valueQuantity - The actual value to for an initial answer. + @r4:DataTypeDefinition { name: "CQF_QuestionnaireItemInitial", baseType: (), elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 0, + max: 1, + isArray: false, + description: "The actual value to for an initial answer.", + path: "Questionnaire.item.initial.value[x]" + }, + + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 0, + max: 1, + isArray: false, + description: "The actual value to for an initial answer.", + path: "Questionnaire.item.initial.value[x]" + }, + "extension": { name: "extension", dataType: r4:Extension, @@ -944,15 +996,27 @@ public enum CQF_QuestionnaireItemType { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "Questionnaire.item.initial.extension" }, - "valueQuestionnaireCoding": { - name: "valueQuestionnaireCoding", - dataType: r4:Coding, + + "valueTime": { + name: "valueTime", + dataType: r4:time, + min: 0, + max: 1, + isArray: false, + description: "The actual value to for an initial answer.", + path: "Questionnaire.item.initial.value[x]" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, min: 0, max: 1, isArray: false, description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -962,53 +1026,59 @@ public enum CQF_QuestionnaireItemType { description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "Questionnaire.item.initial.modifierExtension" }, - "valueQuestionnaireUri": { - name: "valueQuestionnaireUri", - dataType: r4:uri, + + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, min: 0, max: 1, isArray: false, description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, - "valueQuestionnaireBoolean": { - name: "valueQuestionnaireBoolean", - dataType: boolean, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, min: 0, max: 1, isArray: false, description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, - "valueQuestionnaireAttachment": { - name: "valueQuestionnaireAttachment", - dataType: r4:Attachment, + + "valueDate": { + name: "valueDate", + dataType: r4:date, min: 0, max: 1, isArray: false, description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, - "valueQuestionnaireReference": { - name: "valueQuestionnaireReference", - dataType: r4:Reference, + + "valueAttachment": { + name: "valueAttachment", + dataType: r4:Attachment, min: 0, max: 1, isArray: false, description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, - "valueQuestionnaireDecimal": { - name: "valueQuestionnaireDecimal", - dataType: decimal, + + "valueString": { + name: "valueString", + dataType: string, min: 0, max: 1, isArray: false, description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, - "valueQuestionnaireDateTime": { - name: "valueQuestionnaireDateTime", + + "valueDateTime": { + name: "valueDateTime", dataType: r4:dateTime, min: 0, max: 1, @@ -1016,15 +1086,7 @@ public enum CQF_QuestionnaireItemType { description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, - "valueQuestionnaireQuantity": { - name: "valueQuestionnaireQuantity", - dataType: r4:Quantity, - min: 0, - max: 1, - isArray: false, - description: "The actual value to for an initial answer.", - path: "Questionnaire.item.initial.value[x]" - }, + "id": { name: "id", dataType: string, @@ -1034,8 +1096,9 @@ public enum CQF_QuestionnaireItemType { description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "Questionnaire.item.initial.id" }, - "valueQuestionnaireInteger": { - name: "valueQuestionnaireInteger", + + "valueInteger": { + name: "valueInteger", dataType: r4:integer, min: 0, max: 1, @@ -1043,27 +1106,10 @@ public enum CQF_QuestionnaireItemType { description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, - "valueQuestionnaireString": { - name: "valueQuestionnaireString", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "The actual value to for an initial answer.", - path: "Questionnaire.item.initial.value[x]" - }, - "valueQuestionnaireDate": { - name: "valueQuestionnaireDate", - dataType: r4:date, - min: 0, - max: 1, - isArray: false, - description: "The actual value to for an initial answer.", - path: "Questionnaire.item.initial.value[x]" - }, - "valueQuestionnaireTime": { - name: "valueQuestionnaireTime", - dataType: r4:time, + + "valueQuantity": { + name: "valueQuantity", + dataType: r4:Quantity, min: 0, max: 1, isArray: false, @@ -1079,20 +1125,20 @@ public enum CQF_QuestionnaireItemType { public type CQF_QuestionnaireItemInitial record {| *r4:BackboneElement; + boolean valueBoolean?; + r4:Coding valueCoding?; r4:Extension[] extension?; - r4:Coding valueQuestionnaireCoding; + r4:time valueTime?; + r4:Reference valueReference?; r4:Extension[] modifierExtension?; - r4:uri valueQuestionnaireUri; - boolean valueQuestionnaireBoolean; - r4:Attachment valueQuestionnaireAttachment; - r4:Reference valueQuestionnaireReference; - decimal valueQuestionnaireDecimal; - r4:dateTime valueQuestionnaireDateTime; - r4:Quantity valueQuestionnaireQuantity; + decimal valueDecimal?; + r4:uri valueUri?; + r4:date valueDate?; + r4:Attachment valueAttachment?; + string valueString?; + r4:dateTime valueDateTime?; string id?; - r4:integer valueQuestionnaireInteger; - string valueQuestionnaireString; - r4:date valueQuestionnaireDate; - r4:time valueQuestionnaireTime; + r4:integer valueInteger?; + r4:Quantity valueQuantity?; |}; diff --git a/international401/resource_cql_library.bal b/international401/resource_cqllibrary.bal similarity index 91% rename from international401/resource_cql_library.bal rename to international401/resource_cqllibrary.bal index dcf53e27..aa66b510 100644 --- a/international401/resource_cql_library.bal +++ b/international401/resource_cqllibrary.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -13,16 +13,18 @@ // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. - +// // AUTO-GENERATED FILE. // This file is auto-generated by Ballerina. import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_CQL_LIBRARY = "http://hl7.org/fhir/StructureDefinition/cqllibrary"; -public const RESOURCE_NAME_CQL_LIBRARY = "Library"; +public const string PROFILE_BASE_CQLLIBRARY = "http://hl7.org/fhir/StructureDefinition/cqllibrary"; +public const RESOURCE_NAME_CQLLIBRARY = "Library"; + +public type CQLLibraryExtensions (CqfCqlOptions|CqfExpansionParameters|CqfInputParameters|CqfModelInfoSettings|CqfPartOf|CqfTestArtifact|r4:Extension|Replaces); -# FHIR CQL_Library resource record. +# FHIR CQLLibrary resource record. # # + resourceType - The type of the resource describes # + date - The date (and optionally time) when the library was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the library changes. @@ -65,12 +67,13 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; # + topic - Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching. # + useContext - The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate library instances. # + status - The status of this library. Enables tracking the life-cycle of the content. + @r4:ResourceDefinition { resourceType: "Library", baseType: r4:DomainResource, profile: "http://hl7.org/fhir/StructureDefinition/cqllibrary", elements: { - "date" : { + "date": { name: "date", dataType: r4:dateTime, min: 0, @@ -78,7 +81,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.date" }, - "copyright" : { + + "copyright": { name: "copyright", dataType: r4:markdown, min: 0, @@ -86,7 +90,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.copyright" }, - "extension" : { + + "extension": { name: "extension", dataType: r4:Extension, min: 0, @@ -94,7 +99,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: true, path: "Library.extension" }, - "approvalDate" : { + + "approvalDate": { name: "approvalDate", dataType: r4:date, min: 0, @@ -102,7 +108,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.approvalDate" }, - "subjectCodeableConcept" : { + + "subjectCodeableConcept": { name: "subjectCodeableConcept", dataType: r4:CodeableConcept, min: 0, @@ -111,7 +118,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; path: "Library.subject[x]", valueSet: "http://hl7.org/fhir/ValueSet/subject-type" }, - "purpose" : { + + "purpose": { name: "purpose", dataType: r4:markdown, min: 0, @@ -119,7 +127,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.purpose" }, - "jurisdiction" : { + + "jurisdiction": { name: "jurisdiction", dataType: r4:CodeableConcept, min: 0, @@ -128,7 +137,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; path: "Library.jurisdiction", valueSet: "http://hl7.org/fhir/ValueSet/jurisdiction" }, - "modifierExtension" : { + + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, min: 0, @@ -136,7 +146,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: true, path: "Library.modifierExtension" }, - "usage" : { + + "usage": { name: "usage", dataType: string, min: 0, @@ -144,7 +155,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.usage" }, - "description" : { + + "description": { name: "description", dataType: r4:markdown, min: 0, @@ -152,7 +164,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.description" }, - "experimental" : { + + "experimental": { name: "experimental", dataType: boolean, min: 0, @@ -160,7 +173,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.experimental" }, - "language" : { + + "language": { name: "language", dataType: r4:code, min: 0, @@ -169,7 +183,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; path: "Library.language", valueSet: "http://hl7.org/fhir/ValueSet/languages" }, - "title" : { + + "title": { name: "title", dataType: string, min: 0, @@ -177,7 +192,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.title" }, - "type" : { + + "type": { name: "type", dataType: r4:CodeableConcept, min: 1, @@ -186,7 +202,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; path: "Library.type", valueSet: "http://hl7.org/fhir/ValueSet/library-type" }, - "content" : { + + "content": { name: "content", dataType: r4:Attachment, min: 0, @@ -194,7 +211,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: true, path: "Library.content" }, - "contact" : { + + "contact": { name: "contact", dataType: r4:ContactDetail, min: 0, @@ -202,7 +220,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: true, path: "Library.contact" }, - "parameter" : { + + "parameter": { name: "parameter", dataType: r4:ParameterDefinition, min: 0, @@ -210,7 +229,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: true, path: "Library.parameter" }, - "endorser" : { + + "endorser": { name: "endorser", dataType: r4:ContactDetail, min: 0, @@ -218,7 +238,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: true, path: "Library.endorser" }, - "id" : { + + "id": { name: "id", dataType: string, min: 0, @@ -226,7 +247,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.id" }, - "text" : { + + "text": { name: "text", dataType: r4:Narrative, min: 0, @@ -234,7 +256,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.text" }, - "editor" : { + + "editor": { name: "editor", dataType: r4:ContactDetail, min: 0, @@ -242,7 +265,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: true, path: "Library.editor" }, - "identifier" : { + + "identifier": { name: "identifier", dataType: r4:Identifier, min: 0, @@ -250,7 +274,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: true, path: "Library.identifier" }, - "relatedArtifact" : { + + "relatedArtifact": { name: "relatedArtifact", dataType: r4:RelatedArtifact, min: 0, @@ -258,7 +283,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: true, path: "Library.relatedArtifact" }, - "effectivePeriod" : { + + "effectivePeriod": { name: "effectivePeriod", dataType: r4:Period, min: 0, @@ -266,7 +292,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.effectivePeriod" }, - "author" : { + + "author": { name: "author", dataType: r4:ContactDetail, min: 0, @@ -274,7 +301,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: true, path: "Library.author" }, - "reviewer" : { + + "reviewer": { name: "reviewer", dataType: r4:ContactDetail, min: 0, @@ -282,7 +310,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: true, path: "Library.reviewer" }, - "subjectReference" : { + + "subjectReference": { name: "subjectReference", dataType: r4:Reference, min: 0, @@ -291,7 +320,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; path: "Library.subject[x]", valueSet: "http://hl7.org/fhir/ValueSet/subject-type" }, - "version" : { + + "version": { name: "version", dataType: string, min: 0, @@ -299,7 +329,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.version" }, - "url" : { + + "url": { name: "url", dataType: r4:uri, min: 0, @@ -307,7 +338,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.url" }, - "contained" : { + + "contained": { name: "contained", dataType: r4:Resource, min: 0, @@ -315,7 +347,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: true, path: "Library.contained" }, - "lastReviewDate" : { + + "lastReviewDate": { name: "lastReviewDate", dataType: r4:date, min: 0, @@ -323,7 +356,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.lastReviewDate" }, - "meta" : { + + "meta": { name: "meta", dataType: r4:Meta, min: 0, @@ -331,7 +365,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.meta" }, - "subtitle" : { + + "subtitle": { name: "subtitle", dataType: string, min: 0, @@ -339,7 +374,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.subtitle" }, - "name" : { + + "name": { name: "name", dataType: string, min: 0, @@ -347,7 +383,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.name" }, - "dataRequirement" : { + + "dataRequirement": { name: "dataRequirement", dataType: r4:DataRequirement, min: 0, @@ -355,7 +392,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: true, path: "Library.dataRequirement" }, - "implicitRules" : { + + "implicitRules": { name: "implicitRules", dataType: r4:uri, min: 0, @@ -363,7 +401,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.implicitRules" }, - "publisher" : { + + "publisher": { name: "publisher", dataType: string, min: 0, @@ -371,7 +410,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: false, path: "Library.publisher" }, - "topic" : { + + "topic": { name: "topic", dataType: r4:CodeableConcept, min: 0, @@ -380,7 +420,8 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; path: "Library.topic", valueSet: "http://hl7.org/fhir/ValueSet/definition-topic" }, - "useContext" : { + + "useContext": { name: "useContext", dataType: r4:UsageContext, min: 0, @@ -388,25 +429,29 @@ public const RESOURCE_NAME_CQL_LIBRARY = "Library"; isArray: true, path: "Library.useContext" }, - "status" : { + + "status": { name: "status", - dataType: CQL_LibraryStatus, + dataType: CQLLibraryStatus, min: 1, max: 1, isArray: false, path: "Library.status", valueSet: "http://hl7.org/fhir/ValueSet/publication-status|4.0.1" } + }, + serializers: { 'xml: r4:fhirResourceXMLSerializer, 'json: r4:fhirResourceJsonSerializer } } -public type CQL_Library record {| + +public type CQLLibrary record {| *r4:DomainResource; - RESOURCE_NAME_CQL_LIBRARY resourceType = RESOURCE_NAME_CQL_LIBRARY; + RESOURCE_NAME_CQLLIBRARY resourceType = RESOURCE_NAME_CQLLIBRARY; r4:dateTime date?; r4:markdown copyright?; @@ -447,15 +492,15 @@ public type CQL_Library record {| string publisher?; r4:CodeableConcept[] topic?; r4:UsageContext[] useContext?; - CQL_LibraryStatus status; - r4:Element ...; + CQLLibraryStatus status; + r4:Element...; |}; -# CQL_LibraryStatus enum -public enum CQL_LibraryStatus { - CODE_STATUS_DRAFT = "draft", - CODE_STATUS_ACTIVE = "active", - CODE_STATUS_RETIRED = "retired", - CODE_STATUS_UNKNOWN = "unknown" +# CQLLibraryStatus enum +public enum CQLLibraryStatus { + CODE_STATUS_DRAFT = "draft", + CODE_STATUS_ACTIVE = "active", + CODE_STATUS_RETIRED = "retired", + CODE_STATUS_UNKNOWN = "unknown" } diff --git a/international401/resource_detected_issue.bal b/international401/resource_detected_issue.bal index b6ada93f..6d675ba3 100644 --- a/international401/resource_detected_issue.bal +++ b/international401/resource_detected_issue.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_DETECTEDISSUE = "http://hl7.org/fhir/StructureDefinition/DetectedIssue"; public const RESOURCE_NAME_DETECTEDISSUE = "DetectedIssue"; +public type DetectedIssueExtensions (EventBasedOn|r4:Extension|WorkflowEpisodeOfCare); + # FHIR DetectedIssue resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_device.bal b/international401/resource_device.bal index 518e84ba..ad377ac5 100644 --- a/international401/resource_device.bal +++ b/international401/resource_device.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_DEVICE = "http://hl7.org/fhir/StructureDefinition/Device"; public const RESOURCE_NAME_DEVICE = "Device"; +public type DeviceExtensions (DeviceCommercialBrand|DeviceImplantStatus|DeviceLastmaintenancetime|DeviceMaintenanceresponsibility|r4:Extension); + # FHIR Device resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_device_definition.bal b/international401/resource_device_definition.bal index 30cc980a..e974969d 100644 --- a/international401/resource_device_definition.bal +++ b/international401/resource_device_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_DEVICEDEFINITION = "http://hl7.org/fhir/StructureDefinition/DeviceDefinition"; public const RESOURCE_NAME_DEVICEDEFINITION = "DeviceDefinition"; +public type DeviceDefinitionExtensions (DeviceCommercialBrand|r4:Extension); + # FHIR DeviceDefinition resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_device_metric_observation_profile.bal b/international401/resource_device_metric_observation_profile.bal index 6283418c..57605d16 100644 --- a/international401/resource_device_metric_observation_profile.bal +++ b/international401/resource_device_metric_observation_profile.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -17,12 +17,15 @@ // AUTO-GENERATED FILE. // This file is auto-generated by Ballerina. +import ballerina/constraint; import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_DEVICE_METRIC_OBSERVATION_PROFILE = "http://hl7.org/fhir/StructureDefinition/devicemetricobservation"; -public const RESOURCE_NAME_DEVICE_METRIC_OBSERVATION_PROFILE = "Observation"; +public const string PROFILE_BASE_DEVICEMETRICOBSERVATIONPROFILE = "http://hl7.org/fhir/StructureDefinition/devicemetricobservation"; +public const RESOURCE_NAME_DEVICEMETRICOBSERVATIONPROFILE = "Observation"; -# FHIR Device_Metric_Observation_Profile resource record. +public type DeviceMetricObservationProfileExtensions (DiagnosticReportRisk|EventEventHistory|EventLocation|EventStatusReason|r4:Extension|ObservationAnalysisDateTime|ObservationBodyPosition|ObservationDelta|ObservationDeviceCode|ObservationFocusCode|ObservationGatewayDevice|ObservationGeneticsAllele|ObservationGeneticsAminoAcidChange|ObservationGeneticsAncestry|ObservationGeneticsCopyNumberEvent|ObservationGeneticsDNARegionName|ObservationGeneticsGene|ObservationGeneticsGenomicSourceClass|ObservationGeneticsInterpretation|ObservationGeneticsPhaseSet|ObservationGeneticsVariant|ObservationNatureOfAbnormalTest|ObservationPrecondition|ObservationReagent|ObservationReplaces|ObservationSecondaryFinding|ObservationSequelTo|ObservationSpecimenCode|ObservationStructureType|ObservationVSubid|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + +# FHIR DeviceMetricObservationProfile resource record. # # + resourceType - The type of the resource describes # + dataAbsentReason - Provides a reason why the expected value in the element Observation.value[x] is missing. @@ -293,7 +296,7 @@ public const RESOURCE_NAME_DEVICE_METRIC_OBSERVATION_PROFILE = "Observation"; }, "component" : { name: "component", - dataType: Device_Metric_Observation_ProfileComponent, + dataType: DeviceMetricObservationProfileComponent, min: 0, max: int:MAX_VALUE, isArray: true, @@ -309,10 +312,10 @@ public const RESOURCE_NAME_DEVICE_METRIC_OBSERVATION_PROFILE = "Observation"; }, "referenceRange" : { name: "referenceRange", - dataType: Device_Metric_Observation_ProfileReferenceRange, + dataType: DeviceMetricObservationProfileReferenceRange, min: 0, max: 1, - isArray: false, + isArray: true, path: "Observation.referenceRange" }, "valueString" : { @@ -326,7 +329,7 @@ public const RESOURCE_NAME_DEVICE_METRIC_OBSERVATION_PROFILE = "Observation"; "effectiveDateTime" : { name: "effectiveDateTime", dataType: r4:dateTime, - min: 1, + min: 0, max: 1, isArray: false, path: "Observation.effective[x]" @@ -336,7 +339,7 @@ public const RESOURCE_NAME_DEVICE_METRIC_OBSERVATION_PROFILE = "Observation"; dataType: r4:CodeableConcept, min: 0, max: 1, - isArray: false, + isArray: true, path: "Observation.interpretation", valueSet: "http://hl7.org/fhir/ValueSet/observation-interpretation" }, @@ -391,7 +394,7 @@ public const RESOURCE_NAME_DEVICE_METRIC_OBSERVATION_PROFILE = "Observation"; }, "status" : { name: "status", - dataType: Device_Metric_Observation_ProfileStatus, + dataType: DeviceMetricObservationProfileStatus, min: 1, max: 1, isArray: false, @@ -404,10 +407,11 @@ public const RESOURCE_NAME_DEVICE_METRIC_OBSERVATION_PROFILE = "Observation"; 'json: r4:fhirResourceJsonSerializer } } -public type Device_Metric_Observation_Profile record {| + +public type DeviceMetricObservationProfile record {| *r4:DomainResource; - RESOURCE_NAME_DEVICE_METRIC_OBSERVATION_PROFILE resourceType = RESOURCE_NAME_DEVICE_METRIC_OBSERVATION_PROFILE; + RESOURCE_NAME_DEVICEMETRICOBSERVATIONPROFILE resourceType = RESOURCE_NAME_DEVICEMETRICOBSERVATIONPROFILE; r4:CodeableConcept dataAbsentReason?; r4:Annotation[] note?; @@ -436,147 +440,35 @@ public type Device_Metric_Observation_Profile record {| r4:Reference[] hasMember?; r4:Reference encounter?; r4:CodeableConcept bodySite?; - Device_Metric_Observation_ProfileComponent[] component?; + DeviceMetricObservationProfileComponent[] component?; r4:Resource[] contained?; - Device_Metric_Observation_ProfileReferenceRange referenceRange?; + @constraint:Array { + maxLength: { + value: 1, + message: "Validation failed for $.Observation.referenceRange constraint. This field must be an array containing at most one item." + } + } + DeviceMetricObservationProfileReferenceRange[] referenceRange?; string valueString?; - r4:dateTime effectiveDateTime; - r4:CodeableConcept interpretation?; + r4:dateTime effectiveDateTime?; + @constraint:Array { + maxLength: { + value: 1, + message: "Validation failed for $.Observation.interpretation constraint. This field must be an array containing at most one item." + } + } + r4:CodeableConcept[] interpretation?; r4:Meta meta?; r4:SampledData valueSampledData?; r4:Period valuePeriod?; r4:uri implicitRules?; r4:CodeableConcept[] category?; r4:Reference device; - Device_Metric_Observation_ProfileStatus status; + DeviceMetricObservationProfileStatus status; r4:Element ...; |}; -# Device_Metric_Observation_ProfileStatus enum -public enum Device_Metric_Observation_ProfileStatus { - CODE_STATUS_AMENDED = "amended", - CODE_STATUS_FINAL = "final", - CODE_STATUS_REGISTERED = "registered", - CODE_STATUS_PRELIMINARY = "preliminary" -} - -# FHIR Device_Metric_Observation_ProfileReferenceRange datatype record. -# -# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + high - The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3). -# + low - The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3). -# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + appliesTo - Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an 'AND' of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used. -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + text - Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of 'Negative' or a list or table of 'normals'. -# + 'type - Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range. -# + age - The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so. -@r4:DataTypeDefinition { - name: "Device_Metric_Observation_ProfileReferenceRange", - baseType: (), - elements: { - "extension": { - name: "extension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Observation.referenceRange.extension" - }, - "high": { - name: "high", - dataType: r4:Quantity, - min: 0, - max: 1, - isArray: false, - description: "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", - path: "Observation.referenceRange.high" - }, - "low": { - name: "low", - dataType: r4:Quantity, - min: 0, - max: 1, - isArray: false, - description: "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", - path: "Observation.referenceRange.low" - }, - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Observation.referenceRange.modifierExtension" - }, - "appliesTo": { - name: "appliesTo", - dataType: r4:CodeableConcept, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an 'AND' of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", - path: "Observation.referenceRange.appliesTo" - }, - "id": { - name: "id", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Observation.referenceRange.id" - }, - "text": { - name: "text", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of 'Negative' or a list or table of 'normals'.", - path: "Observation.referenceRange.text" - }, - "type": { - name: "type", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", - path: "Observation.referenceRange.type" - }, - "age": { - name: "age", - dataType: r4:Range, - min: 0, - max: 1, - isArray: false, - description: "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", - path: "Observation.referenceRange.age" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Device_Metric_Observation_ProfileReferenceRange record {| - *r4:BackboneElement; - - r4:Extension[] extension?; - r4:Quantity high?; - r4:Quantity low?; - r4:Extension[] modifierExtension?; - r4:CodeableConcept[] appliesTo?; - string id?; - string text?; - r4:CodeableConcept 'type?; - r4:Range age?; -|}; - -# FHIR Device_Metric_Observation_ProfileComponent datatype record. +# FHIR DeviceMetricObservationProfileComponent datatype record. # # + valueBoolean - The information determined as a result of making the observation, if the information has a simple value. # + dataAbsentReason - Provides a reason why the expected value in the element Observation.component.value[x] is missing. @@ -587,6 +479,7 @@ public type Device_Metric_Observation_ProfileReferenceRange record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + valueCodeableConcept - The information determined as a result of making the observation, if the information has a simple value. # + valueRatio - The information determined as a result of making the observation, if the information has a simple value. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + valueString - The information determined as a result of making the observation, if the information has a simple value. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + valueSampledData - The information determined as a result of making the observation, if the information has a simple value. @@ -596,7 +489,7 @@ public type Device_Metric_Observation_ProfileReferenceRange record {| # + valueInteger - The information determined as a result of making the observation, if the information has a simple value. # + valueQuantity - The information determined as a result of making the observation, if the information has a simple value. @r4:DataTypeDefinition { - name: "Device_Metric_Observation_ProfileComponent", + name: "DeviceMetricObservationProfileComponent", baseType: (), elements: { "valueBoolean": { @@ -680,6 +573,17 @@ public type Device_Metric_Observation_ProfileReferenceRange record {| description: "The information determined as a result of making the observation, if the information has a simple value.", path: "Observation.component.value[x]" }, + + "referenceRange": { + name: "referenceRange", + dataType: DeviceMetricObservationProfileReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "valueString": { name: "valueString", dataType: string, @@ -758,7 +662,8 @@ public type Device_Metric_Observation_ProfileReferenceRange record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Device_Metric_Observation_ProfileComponent record {| + +public type DeviceMetricObservationProfileComponent record {| *r4:BackboneElement; boolean valueBoolean?; @@ -770,6 +675,7 @@ public type Device_Metric_Observation_ProfileComponent record {| r4:Extension[] modifierExtension?; r4:CodeableConcept valueCodeableConcept?; r4:Ratio valueRatio?; + DeviceMetricObservationProfileReferenceRange[] referenceRange?; string valueString?; r4:CodeableConcept[] interpretation?; r4:SampledData valueSampledData?; @@ -780,3 +686,138 @@ public type Device_Metric_Observation_ProfileComponent record {| r4:Quantity valueQuantity?; |}; +# FHIR DeviceMetricObservationProfileReferenceRange datatype record. +# +# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + high - The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3). +# + low - The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3). +# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + appliesTo - Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an 'AND' of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used. +# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + text - Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of 'Negative' or a list or table of 'normals'. +# + 'type - Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range. +# + age - The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so. + +@r4:DataTypeDefinition { + name: "DeviceMetricObservationProfileReferenceRange", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Observation.referenceRange.extension" + }, + + "high": { + name: "high", + dataType: r4:Quantity, + min: 0, + max: 1, + isArray: false, + description: "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + path: "Observation.referenceRange.high" + }, + + "low": { + name: "low", + dataType: r4:Quantity, + min: 0, + max: 1, + isArray: false, + description: "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + path: "Observation.referenceRange.low" + }, + + "modifierExtension": { + name: "modifierExtension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + path: "Observation.referenceRange.modifierExtension" + }, + + "appliesTo": { + name: "appliesTo", + dataType: r4:CodeableConcept, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an 'AND' of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + path: "Observation.referenceRange.appliesTo" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Observation.referenceRange.id" + }, + + "text": { + name: "text", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of 'Negative' or a list or table of 'normals'.", + path: "Observation.referenceRange.text" + }, + + "type": { + name: "type", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + path: "Observation.referenceRange.type" + }, + + "age": { + name: "age", + dataType: r4:Range, + min: 0, + max: 1, + isArray: false, + description: "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + path: "Observation.referenceRange.age" + } + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type DeviceMetricObservationProfileReferenceRange record {| + *r4:BackboneElement; + + r4:Extension[] extension?; + r4:Quantity high?; + r4:Quantity low?; + r4:Extension[] modifierExtension?; + r4:CodeableConcept[] appliesTo?; + string id?; + string text?; + r4:CodeableConcept 'type?; + r4:Range age?; +|}; + +# DeviceMetricObservationProfileStatus enum +public enum DeviceMetricObservationProfileStatus { + CODE_STATUS_AMENDED = "amended", + CODE_STATUS_FINAL = "final", + CODE_STATUS_REGISTERED = "registered", + CODE_STATUS_PRELIMINARY = "preliminary" +} + diff --git a/international401/resource_device_request.bal b/international401/resource_device_request.bal index cb80d6ea..c37eba81 100644 --- a/international401/resource_device_request.bal +++ b/international401/resource_device_request.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_DEVICEREQUEST = "http://hl7.org/fhir/StructureDefinition/DeviceRequest"; public const RESOURCE_NAME_DEVICEREQUEST = "DeviceRequest"; +public type DeviceRequestExtensions (DevicerequestPatientInstruction|r4:Extension|ProcedureApproachBodyStructure|RequestStatusReason|WorkflowCompliesWith|WorkflowEpisodeOfCare|WorkflowFollowOnOf|WorkflowGeneratedFrom|WorkflowReleaseDate|WorkflowShallComplyWith|WorkflowTriggeredBy); + # FHIR DeviceRequest resource record. # # + resourceType - The type of the resource describes @@ -374,7 +376,7 @@ public type DeviceRequest record {| r4:Reference[] priorRequest?; r4:uri[] instantiatesUri?; r4:Reference[] relevantHistory?; - r4:Reference codeReference; + r4:Reference codeReference?; r4:Reference[] supportingInfo?; DeviceRequestParameter[] 'parameter?; string id?; @@ -397,7 +399,7 @@ public type DeviceRequest record {| r4:uri implicitRules?; r4:dateTime occurrenceDateTime?; r4:Identifier groupIdentifier?; - r4:CodeableConcept codeCodeableConcept; + r4:CodeableConcept codeCodeableConcept?; DeviceRequestStatus status?; r4:Element ...; |}; diff --git a/international401/resource_diagnostic_report.bal b/international401/resource_diagnostic_report.bal index d034c6d0..275640b5 100644 --- a/international401/resource_diagnostic_report.bal +++ b/international401/resource_diagnostic_report.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_DIAGNOSTICREPORT = "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"; public const RESOURCE_NAME_DIAGNOSTICREPORT = "DiagnosticReport"; +public type DiagnosticReportExtensions (BusinessEvent|DiagnosticReportAddendumOf|DiagnosticReportExtends|DiagnosticReportFocus|DiagnosticReportGeneticsAnalysis|DiagnosticReportGeneticsAssessedCondition|DiagnosticReportGeneticsFamilyMemberHistory|DiagnosticReportGeneticsReferences|DiagnosticReportLocationPerformed|DiagnosticReportReplaces|DiagnosticReportRisk|DiagnosticReportSummaryOf|DiagnosticReportWorkflowStatus|EventEventHistory|EventLocation|EventPartOf|EventStatusReason|r4:Extension|HlaGenotypingResultsAlleleDatabase|HlaGenotypingResultsGlstring|HlaGenotypingResultsHaploid|HlaGenotypingResultsMethod|ServicerequestGeneticsItem|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR DiagnosticReport resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_diagnostic_report_genetics.bal b/international401/resource_diagnostic_report_genetics.bal index 755d6f25..e87f3fb8 100644 --- a/international401/resource_diagnostic_report_genetics.bal +++ b/international401/resource_diagnostic_report_genetics.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,27 +22,12 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_DIAGNOSTICREPORT_GENETICS = "http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics"; public const RESOURCE_NAME_DIAGNOSTICREPORT_GENETICS = "DiagnosticReport"; +public type DiagnosticReport_GeneticsExtensions (BusinessEvent|DiagnosticReportAddendumOf|DiagnosticReportExtends|DiagnosticReportFocus|DiagnosticReportGeneticsAnalysis|DiagnosticReportGeneticsAssessedCondition|DiagnosticReportGeneticsFamilyMemberHistory|DiagnosticReportGeneticsReferences|DiagnosticReportLocationPerformed|DiagnosticReportReplaces|DiagnosticReportRisk|DiagnosticReportSummaryOf|DiagnosticReportWorkflowStatus|EventEventHistory|EventLocation|EventPartOf|EventStatusReason|r4:Extension|HlaGenotypingResultsAlleleDatabase|HlaGenotypingResultsGlstring|HlaGenotypingResultsHaploid|HlaGenotypingResultsMethod|ServicerequestGeneticsItem|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR DiagnosticReport_Genetics resource record. # # + resourceType - The type of the resource describes # + extension - An Extension -# * extension Slicings -# 1) Extension: AssessedCondition -# - min = 0 -# - max = * -# -# 2) Extension: FamilyHistory -# - min = 0 -# - max = * -# -# 3) Extension: Analysis -# - min = 0 -# - max = * -# -# 4) Extension: References -# - min = 0 -# - max = * -# # + code - A code or name that describes this diagnostic report. # + subject - The subject of the report. Usually, but not always, this is a patient. However, diagnostic services also perform analyses on specimens collected from a variety of other sources. # + modifierExtension - 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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). @@ -225,7 +210,7 @@ public const RESOURCE_NAME_DIAGNOSTICREPORT_GENETICS = "DiagnosticReport"; dataType: r4:CodeableConcept, min: 0, max: 0, - isArray: false, + isArray: true, path: "DiagnosticReport.conclusionCode", valueSet: "http://hl7.org/fhir/ValueSet/clinical-findings" }, @@ -324,7 +309,7 @@ public type DiagnosticReport_Genetics record {| r4:Reference[] performer?; r4:Period effectivePeriod?; r4:Reference[] resultsInterpreter?; - r4:CodeableConcept conclusionCode?; + r4:CodeableConcept[] conclusionCode?; r4:Reference encounter?; r4:Resource[] contained?; r4:dateTime effectiveDateTime?; diff --git a/international401/resource_document_manifest.bal b/international401/resource_document_manifest.bal index 3e1f4179..1ccc9382 100644 --- a/international401/resource_document_manifest.bal +++ b/international401/resource_document_manifest.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -237,7 +237,10 @@ public type DocumentManifest record {| r4:Identifier masterIdentifier?; r4:CodeableConcept 'type?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.DocumentManifest.content constraint. This field must be an array containing at least one item." + } } r4:Reference[] content; r4:Resource[] contained?; diff --git a/international401/resource_document_reference.bal b/international401/resource_document_reference.bal index c2b3869d..8bfd3a49 100644 --- a/international401/resource_document_reference.bal +++ b/international401/resource_document_reference.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_DOCUMENTREFERENCE = "http://hl7.org/fhir/StructureDefinition/DocumentReference"; public const RESOURCE_NAME_DOCUMENTREFERENCE = "DocumentReference"; +public type DocumentReferenceExtensions (DocumentreferenceSourcepatient|EventLocation|EventStatusReason|r4:Extension|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowReason|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR DocumentReference resource record. # # + resourceType - The type of the resource describes @@ -277,7 +279,10 @@ public type DocumentReference record {| r4:Identifier masterIdentifier?; r4:CodeableConcept 'type?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.DocumentReference.content constraint. This field must be an array containing at least one item." + } } DocumentReferenceContent[] content; r4:Resource[] contained?; diff --git a/international401/resource_ehrs_fm_record_lifecycle_event___audit_event.bal b/international401/resource_ehrsfmrecord_lifecycle_event_audit_event.bal similarity index 92% rename from international401/resource_ehrs_fm_record_lifecycle_event___audit_event.bal rename to international401/resource_ehrsfmrecord_lifecycle_event_audit_event.bal index 201161d6..a38b261e 100644 --- a/international401/resource_ehrs_fm_record_lifecycle_event___audit_event.bal +++ b/international401/resource_ehrsfmrecord_lifecycle_event_audit_event.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -13,17 +13,17 @@ // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. - +// // AUTO-GENERATED FILE. // This file is auto-generated by Ballerina. import ballerina/constraint; import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent"; -public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "AuditEvent"; +public const string PROFILE_BASE_EHRSFMRECORDLIFECYCLEEVENT_AUDITEVENT = "http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent"; +public const RESOURCE_NAME_EHRSFMRECORDLIFECYCLEEVENT_AUDITEVENT = "AuditEvent"; -# FHIR EHRS_FM_Record_Lifecycle_Event___Audit_Event resource record. +# FHIR EHRSFMRecordLifecycleEvent_AuditEvent resource record. # # + resourceType - The type of the resource describes # + agent - An actor taking an active role in the event or activity that is logged. @@ -45,20 +45,22 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit # + text - A human-readable narrative that contains a summary of the resource and can 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. # + entity - Specific instances of data or objects that have been accessed. # + outcome - Indicates whether the event succeeded or failed. + @r4:ResourceDefinition { resourceType: "AuditEvent", baseType: r4:DomainResource, profile: "http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent", elements: { - "agent" : { + "agent": { name: "agent", - dataType: EHRS_FM_Record_Lifecycle_Event___Audit_EventAgent, + dataType: EHRSFMRecordLifecycleEvent_AuditEventAgent, min: 1, max: int:MAX_VALUE, isArray: true, path: "AuditEvent.agent" }, - "extension" : { + + "extension": { name: "extension", dataType: r4:Extension, min: 0, @@ -66,7 +68,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit isArray: true, path: "AuditEvent.extension" }, - "period" : { + + "period": { name: "period", dataType: r4:Period, min: 0, @@ -74,7 +77,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit isArray: false, path: "AuditEvent.period" }, - "modifierExtension" : { + + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, min: 0, @@ -82,7 +86,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit isArray: true, path: "AuditEvent.modifierExtension" }, - "language" : { + + "language": { name: "language", dataType: r4:code, min: 0, @@ -91,15 +96,17 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit path: "AuditEvent.language", valueSet: "http://hl7.org/fhir/ValueSet/languages" }, - "source" : { + + "source": { name: "source", - dataType: EHRS_FM_Record_Lifecycle_Event___Audit_EventSource, + dataType: EHRSFMRecordLifecycleEvent_AuditEventSource, min: 1, max: 1, isArray: false, path: "AuditEvent.source" }, - "recorded" : { + + "recorded": { name: "recorded", dataType: r4:instant, min: 1, @@ -107,7 +114,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit isArray: false, path: "AuditEvent.recorded" }, - "type" : { + + "type": { name: "type", dataType: r4:Coding, min: 1, @@ -116,7 +124,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit path: "AuditEvent.type", valueSet: "http://hl7.org/fhir/ValueSet/audit-event-type" }, - "contained" : { + + "contained": { name: "contained", dataType: r4:Resource, min: 0, @@ -124,7 +133,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit isArray: true, path: "AuditEvent.contained" }, - "subtype" : { + + "subtype": { name: "subtype", dataType: r4:Coding, min: 0, @@ -133,7 +143,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit path: "AuditEvent.subtype", valueSet: "http://hl7.org/fhir/ValueSet/audit-event-sub-type" }, - "meta" : { + + "meta": { name: "meta", dataType: r4:Meta, min: 0, @@ -141,7 +152,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit isArray: false, path: "AuditEvent.meta" }, - "outcomeDesc" : { + + "outcomeDesc": { name: "outcomeDesc", dataType: string, min: 0, @@ -149,7 +161,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit isArray: false, path: "AuditEvent.outcomeDesc" }, - "action" : { + + "action": { name: "action", dataType: r4:code, min: 0, @@ -158,7 +171,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit path: "AuditEvent.action", valueSet: "http://hl7.org/fhir/ValueSet/audit-event-action|4.0.1" }, - "implicitRules" : { + + "implicitRules": { name: "implicitRules", dataType: r4:uri, min: 0, @@ -166,7 +180,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit isArray: false, path: "AuditEvent.implicitRules" }, - "id" : { + + "id": { name: "id", dataType: string, min: 0, @@ -174,7 +189,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit isArray: false, path: "AuditEvent.id" }, - "purposeOfEvent" : { + + "purposeOfEvent": { name: "purposeOfEvent", dataType: r4:CodeableConcept, min: 0, @@ -183,7 +199,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit path: "AuditEvent.purposeOfEvent", valueSet: "http://terminology.hl7.org/ValueSet/v3-PurposeOfUse" }, - "text" : { + + "text": { name: "text", dataType: r4:Narrative, min: 0, @@ -191,15 +208,17 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit isArray: false, path: "AuditEvent.text" }, - "entity" : { + + "entity": { name: "entity", - dataType: EHRS_FM_Record_Lifecycle_Event___Audit_EventEntity, + dataType: EHRSFMRecordLifecycleEvent_AuditEventEntity, min: 0, max: int:MAX_VALUE, isArray: true, path: "AuditEvent.entity" }, - "outcome" : { + + "outcome": { name: "outcome", dataType: r4:code, min: 0, @@ -208,26 +227,32 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT = "Audit path: "AuditEvent.outcome", valueSet: "http://hl7.org/fhir/ValueSet/audit-event-outcome|4.0.1" } + }, + serializers: { 'xml: r4:fhirResourceXMLSerializer, 'json: r4:fhirResourceJsonSerializer } } -public type EHRS_FM_Record_Lifecycle_Event___Audit_Event record {| + +public type EHRSFMRecordLifecycleEvent_AuditEvent record {| *r4:DomainResource; - RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT resourceType = RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___AUDIT_EVENT; + RESOURCE_NAME_EHRSFMRECORDLIFECYCLEEVENT_AUDITEVENT resourceType = RESOURCE_NAME_EHRSFMRECORDLIFECYCLEEVENT_AUDITEVENT; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.AuditEvent.agent constraint. This field must be an array containing at least one item." + } } - EHRS_FM_Record_Lifecycle_Event___Audit_EventAgent[] agent; + EHRSFMRecordLifecycleEvent_AuditEventAgent[] agent; r4:Extension[] extension?; r4:Period period?; r4:Extension[] modifierExtension?; r4:code language?; - EHRS_FM_Record_Lifecycle_Event___Audit_EventSource 'source; + EHRSFMRecordLifecycleEvent_AuditEventSource 'source; r4:instant recorded; r4:Coding 'type; r4:Resource[] contained?; @@ -239,38 +264,34 @@ public type EHRS_FM_Record_Lifecycle_Event___Audit_Event record {| string id?; r4:CodeableConcept[] purposeOfEvent?; r4:Narrative text?; - EHRS_FM_Record_Lifecycle_Event___Audit_EventEntity[] entity?; + EHRSFMRecordLifecycleEvent_AuditEventEntity[] entity?; r4:code outcome?; - r4:Element ...; + r4:Element...; |}; -# FHIR EHRS_FM_Record_Lifecycle_Event___Audit_EventEntity datatype record. +# FHIR EHRSFMRecordLifecycleEvent_AuditEventSource datatype record. # -# + lifecycle - Identifier for the data life-cycle stage for the entity. +# + observer - Identifier of the source where the event was detected. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + role - Code representing the role the entity played in the event being audited. -# + what - Identifies a specific instance of the entity. The reference should be version specific. -# + securityLabel - Security labels for the identified entity. +# + site - Logical source location within the healthcare enterprise network. For example, a hospital or other provider location within a multi-entity provider group. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + query - The query parameters for a query-type entities. -# + name - A name of the entity in the audit event. -# + description - Text that describes the entity in more detail. -# + detail - Tagged value pairs for conveying additional information about the entity. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + 'type - The type of the object that was involved in this audit event. +# + 'type - Code specifying the type of source where event originated. + @r4:DataTypeDefinition { - name: "EHRS_FM_Record_Lifecycle_Event___Audit_EventEntity", + name: "EHRSFMRecordLifecycleEvent_AuditEventSource", baseType: (), elements: { - "lifecycle": { - name: "lifecycle", - dataType: r4:Coding, - min: 0, + "observer": { + name: "observer", + dataType: r4:Reference, + min: 1, max: 1, isArray: false, - description: "Identifier for the data life-cycle stage for the entity.", - path: "AuditEvent.entity.lifecycle" + description: "Identifier of the source where the event was detected.", + path: "AuditEvent.source.observer" }, + "extension": { name: "extension", dataType: r4:Extension, @@ -278,35 +299,19 @@ public type EHRS_FM_Record_Lifecycle_Event___Audit_Event record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "AuditEvent.entity.extension" - }, - "role": { - name: "role", - dataType: r4:Coding, - min: 0, - max: 1, - isArray: false, - description: "Code representing the role the entity played in the event being audited.", - path: "AuditEvent.entity.role" + path: "AuditEvent.source.extension" }, - "what": { - name: "what", - dataType: r4:Reference, + + "site": { + name: "site", + dataType: string, min: 0, max: 1, isArray: false, - description: "Identifies a specific instance of the entity. The reference should be version specific.", - path: "AuditEvent.entity.what" - }, - "securityLabel": { - name: "securityLabel", - dataType: r4:Coding, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Security labels for the identified entity.", - path: "AuditEvent.entity.securityLabel" + description: "Logical source location within the healthcare enterprise network. For example, a hospital or other provider location within a multi-entity provider group.", + path: "AuditEvent.source.site" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -314,44 +319,9 @@ public type EHRS_FM_Record_Lifecycle_Event___Audit_Event record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "AuditEvent.entity.modifierExtension" - }, - "query": { - name: "query", - dataType: r4:base64Binary, - min: 0, - max: 1, - isArray: false, - description: "The query parameters for a query-type entities.", - path: "AuditEvent.entity.query" - }, - "name": { - name: "name", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "A name of the entity in the audit event.", - path: "AuditEvent.entity.name" - }, - "description": { - name: "description", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Text that describes the entity in more detail.", - path: "AuditEvent.entity.description" - }, - "detail": { - name: "detail", - dataType: EHRS_FM_Record_Lifecycle_Event___Audit_EventEntityDetail, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Tagged value pairs for conveying additional information about the entity.", - path: "AuditEvent.entity.detail" + path: "AuditEvent.source.modifierExtension" }, + "id": { name: "id", dataType: string, @@ -359,61 +329,58 @@ public type EHRS_FM_Record_Lifecycle_Event___Audit_Event record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "AuditEvent.entity.id" + path: "AuditEvent.source.id" }, + "type": { name: "type", dataType: r4:Coding, min: 0, - max: 1, - isArray: false, - description: "The type of the object that was involved in this audit event.", - path: "AuditEvent.entity.type" + max: int:MAX_VALUE, + isArray: true, + description: "Code specifying the type of source where event originated.", + path: "AuditEvent.source.type" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type EHRS_FM_Record_Lifecycle_Event___Audit_EventEntity record {| + +public type EHRSFMRecordLifecycleEvent_AuditEventSource record {| *r4:BackboneElement; - r4:Coding lifecycle?; + r4:Reference observer; r4:Extension[] extension?; - r4:Coding role?; - r4:Reference what?; - r4:Coding[] securityLabel?; + string site?; r4:Extension[] modifierExtension?; - r4:base64Binary query?; - string name?; - string description?; - EHRS_FM_Record_Lifecycle_Event___Audit_EventEntityDetail[] detail?; string id?; - r4:Coding 'type?; + r4:Coding[] 'type?; |}; -# FHIR EHRS_FM_Record_Lifecycle_Event___Audit_EventEntityDetail datatype record. +# FHIR EHRSFMRecordLifecycleEvent_AuditEventAgent datatype record. # -# + valueAuditEventBase64Binary - The value of the extra detail. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + valueAuditEventString - The value of the extra detail. +# + role - The security role that the user was acting under, that come from local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context. +# + purposeOfUse - The reason (purpose of use), specific to this agent, that was used during the event being recorded. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + media - Type of media involved. Used when the event is about exporting/importing onto media. +# + 'type - Specification of the participation type the user plays when performing the event. +# + altId - Alternative agent Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available. +# + requestor - Indicator that the user is or is not the requestor, or initiator, for the event being audited. +# + network - Logical network location for application activity, if the activity has a network location. +# + name - Human-meaningful name for the agent. +# + location - Where the event occurred. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + 'type - The type of extra detail provided in the value. +# + policy - The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used. +# + who - Reference to who this agent is that was involved in the event. + @r4:DataTypeDefinition { - name: "EHRS_FM_Record_Lifecycle_Event___Audit_EventEntityDetail", + name: "EHRSFMRecordLifecycleEvent_AuditEventAgent", baseType: (), elements: { - "valueAuditEventBase64Binary": { - name: "valueAuditEventBase64Binary", - dataType: r4:base64Binary, - min: 0, - max: 1, - isArray: false, - description: "The value of the extra detail.", - path: "AuditEvent.entity.detail.value[x]" - }, "extension": { name: "extension", dataType: r4:Extension, @@ -421,17 +388,29 @@ public type EHRS_FM_Record_Lifecycle_Event___Audit_EventEntity record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "AuditEvent.entity.detail.extension" + path: "AuditEvent.agent.extension" }, - "valueAuditEventString": { - name: "valueAuditEventString", - dataType: string, + + "role": { + name: "role", + dataType: r4:CodeableConcept, min: 0, - max: 1, - isArray: false, - description: "The value of the extra detail.", - path: "AuditEvent.entity.detail.value[x]" + max: int:MAX_VALUE, + isArray: true, + description: "The security role that the user was acting under, that come from local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context.", + path: "AuditEvent.agent.role" + }, + + "purposeOfUse": { + name: "purposeOfUse", + dataType: r4:CodeableConcept, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The reason (purpose of use), specific to this agent, that was used during the event being recorded.", + path: "AuditEvent.agent.purposeOfUse" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -439,81 +418,79 @@ public type EHRS_FM_Record_Lifecycle_Event___Audit_EventEntity record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "AuditEvent.entity.detail.modifierExtension" + path: "AuditEvent.agent.modifierExtension" }, - "id": { - name: "id", - dataType: string, + + "media": { + name: "media", + dataType: r4:Coding, min: 0, max: 1, isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "AuditEvent.entity.detail.id" + description: "Type of media involved. Used when the event is about exporting/importing onto media.", + path: "AuditEvent.agent.media" }, + "type": { name: "type", - dataType: string, - min: 1, + dataType: r4:CodeableConcept, + min: 0, max: 1, isArray: false, - description: "The type of extra detail provided in the value.", - path: "AuditEvent.entity.detail.type" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type EHRS_FM_Record_Lifecycle_Event___Audit_EventEntityDetail record {| - *r4:BackboneElement; - - r4:base64Binary valueAuditEventBase64Binary; - r4:Extension[] extension?; - string valueAuditEventString; - r4:Extension[] modifierExtension?; - string id?; - string 'type; -|}; - -# FHIR EHRS_FM_Record_Lifecycle_Event___Audit_EventAgentNetwork datatype record. -# -# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + address - An identifier for the network access point of the user device for the audit event. -# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + 'type - An identifier for the type of network access point that originated the audit event. -@r4:DataTypeDefinition { - name: "EHRS_FM_Record_Lifecycle_Event___Audit_EventAgentNetwork", - baseType: (), - elements: { - "extension": { - name: "extension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "AuditEvent.agent.network.extension" + description: "Specification of the participation type the user plays when performing the event.", + path: "AuditEvent.agent.type" }, - "address": { - name: "address", + + "altId": { + name: "altId", dataType: string, min: 0, max: 1, isArray: false, - description: "An identifier for the network access point of the user device for the audit event.", - path: "AuditEvent.agent.network.address" - }, - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, + description: "Alternative agent Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available.", + path: "AuditEvent.agent.altId" + }, + + "requestor": { + name: "requestor", + dataType: boolean, + min: 1, + max: 1, + isArray: false, + description: "Indicator that the user is or is not the requestor, or initiator, for the event being audited.", + path: "AuditEvent.agent.requestor" + }, + + "network": { + name: "network", + dataType: EHRSFMRecordLifecycleEvent_AuditEventAgentNetwork, min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "AuditEvent.agent.network.modifierExtension" + max: 1, + isArray: false, + description: "Logical network location for application activity, if the activity has a network location.", + path: "AuditEvent.agent.network" + }, + + "name": { + name: "name", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Human-meaningful name for the agent.", + path: "AuditEvent.agent.name" + }, + + "location": { + name: "location", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "Where the event occurred.", + path: "AuditEvent.agent.location" }, + "id": { name: "id", dataType: string, @@ -521,54 +498,78 @@ public type EHRS_FM_Record_Lifecycle_Event___Audit_EventEntityDetail record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "AuditEvent.agent.network.id" + path: "AuditEvent.agent.id" }, - "type": { - name: "type", - dataType: r4:code, + + "policy": { + name: "policy", + dataType: r4:uri, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used.", + path: "AuditEvent.agent.policy" + }, + + "who": { + name: "who", + dataType: r4:Reference, min: 0, max: 1, isArray: false, - description: "An identifier for the type of network access point that originated the audit event.", - path: "AuditEvent.agent.network.type" + description: "Reference to who this agent is that was involved in the event.", + path: "AuditEvent.agent.who" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type EHRS_FM_Record_Lifecycle_Event___Audit_EventAgentNetwork record {| + +public type EHRSFMRecordLifecycleEvent_AuditEventAgent record {| *r4:BackboneElement; r4:Extension[] extension?; - string address?; + r4:CodeableConcept[] role?; + r4:CodeableConcept[] purposeOfUse?; r4:Extension[] modifierExtension?; + r4:Coding media?; + r4:CodeableConcept 'type?; + string altId?; + boolean requestor; + EHRSFMRecordLifecycleEvent_AuditEventAgentNetwork network?; + string name?; + r4:Reference location?; string id?; - r4:code 'type?; + r4:uri[] policy?; + r4:Reference who?; |}; -# FHIR EHRS_FM_Record_Lifecycle_Event___Audit_EventSource datatype record. +# FHIR EHRSFMRecordLifecycleEvent_AuditEventEntityDetail datatype record. # -# + observer - Identifier of the source where the event was detected. +# + valueBase64Binary - The value of the extra detail. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + site - Logical source location within the healthcare enterprise network. For example, a hospital or other provider location within a multi-entity provider group. +# + valueString - The value of the extra detail. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + 'type - Code specifying the type of source where event originated. +# + 'type - The type of extra detail provided in the value. + @r4:DataTypeDefinition { - name: "EHRS_FM_Record_Lifecycle_Event___Audit_EventSource", + name: "EHRSFMRecordLifecycleEvent_AuditEventEntityDetail", baseType: (), elements: { - "observer": { - name: "observer", - dataType: r4:Reference, - min: 1, + "valueBase64Binary": { + name: "valueBase64Binary", + dataType: r4:base64Binary, + min: 0, max: 1, isArray: false, - description: "Identifier of the source where the event was detected.", - path: "AuditEvent.source.observer" + description: "The value of the extra detail.", + path: "AuditEvent.entity.detail.value[x]" }, + "extension": { name: "extension", dataType: r4:Extension, @@ -576,17 +577,19 @@ public type EHRS_FM_Record_Lifecycle_Event___Audit_EventAgentNetwork record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "AuditEvent.source.extension" + path: "AuditEvent.entity.detail.extension" }, - "site": { - name: "site", + + "valueString": { + name: "valueString", dataType: string, min: 0, max: 1, isArray: false, - description: "Logical source location within the healthcare enterprise network. For example, a hospital or other provider location within a multi-entity provider group.", - path: "AuditEvent.source.site" + description: "The value of the extra detail.", + path: "AuditEvent.entity.detail.value[x]" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -594,8 +597,9 @@ public type EHRS_FM_Record_Lifecycle_Event___Audit_EventAgentNetwork record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "AuditEvent.source.modifierExtension" + path: "AuditEvent.entity.detail.modifierExtension" }, + "id": { name: "id", dataType: string, @@ -603,54 +607,66 @@ public type EHRS_FM_Record_Lifecycle_Event___Audit_EventAgentNetwork record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "AuditEvent.source.id" + path: "AuditEvent.entity.detail.id" }, + "type": { name: "type", - dataType: r4:Coding, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Code specifying the type of source where event originated.", - path: "AuditEvent.source.type" + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "The type of extra detail provided in the value.", + path: "AuditEvent.entity.detail.type" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type EHRS_FM_Record_Lifecycle_Event___Audit_EventSource record {| + +public type EHRSFMRecordLifecycleEvent_AuditEventEntityDetail record {| *r4:BackboneElement; - r4:Reference observer; + r4:base64Binary valueBase64Binary?; r4:Extension[] extension?; - string site?; + string valueString?; r4:Extension[] modifierExtension?; string id?; - r4:Coding[] 'type?; + string 'type; |}; -# FHIR EHRS_FM_Record_Lifecycle_Event___Audit_EventAgent datatype record. +# FHIR EHRSFMRecordLifecycleEvent_AuditEventEntity datatype record. # +# + lifecycle - Identifier for the data life-cycle stage for the entity. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + role - The security role that the user was acting under, that come from local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context. -# + purposeOfUse - The reason (purpose of use), specific to this agent, that was used during the event being recorded. +# + role - Code representing the role the entity played in the event being audited. +# + what - Identifies a specific instance of the entity. The reference should be version specific. +# + securityLabel - Security labels for the identified entity. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + media - Type of media involved. Used when the event is about exporting/importing onto media. -# + 'type - Specification of the participation type the user plays when performing the event. -# + altId - Alternative agent Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available. -# + requestor - Indicator that the user is or is not the requestor, or initiator, for the event being audited. -# + network - Logical network location for application activity, if the activity has a network location. -# + name - Human-meaningful name for the agent. -# + location - Where the event occurred. +# + query - The query parameters for a query-type entities. +# + name - A name of the entity in the audit event. +# + description - Text that describes the entity in more detail. +# + detail - Tagged value pairs for conveying additional information about the entity. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + policy - The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used. -# + who - Reference to who this agent is that was involved in the event. +# + 'type - The type of the object that was involved in this audit event. + @r4:DataTypeDefinition { - name: "EHRS_FM_Record_Lifecycle_Event___Audit_EventAgent", + name: "EHRSFMRecordLifecycleEvent_AuditEventEntity", baseType: (), elements: { + "lifecycle": { + name: "lifecycle", + dataType: r4:Coding, + min: 0, + max: 1, + isArray: false, + description: "Identifier for the data life-cycle stage for the entity.", + path: "AuditEvent.entity.lifecycle" + }, + "extension": { name: "extension", dataType: r4:Extension, @@ -658,26 +674,39 @@ public type EHRS_FM_Record_Lifecycle_Event___Audit_EventSource record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "AuditEvent.agent.extension" + path: "AuditEvent.entity.extension" }, + "role": { name: "role", - dataType: r4:CodeableConcept, + dataType: r4:Coding, min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "The security role that the user was acting under, that come from local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context.", - path: "AuditEvent.agent.role" + max: 1, + isArray: false, + description: "Code representing the role the entity played in the event being audited.", + path: "AuditEvent.entity.role" }, - "purposeOfUse": { - name: "purposeOfUse", - dataType: r4:CodeableConcept, + + "what": { + name: "what", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "Identifies a specific instance of the entity. The reference should be version specific.", + path: "AuditEvent.entity.what" + }, + + "securityLabel": { + name: "securityLabel", + dataType: r4:Coding, min: 0, max: int:MAX_VALUE, isArray: true, - description: "The reason (purpose of use), specific to this agent, that was used during the event being recorded.", - path: "AuditEvent.agent.purposeOfUse" + description: "Security labels for the identified entity.", + path: "AuditEvent.entity.securityLabel" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -685,71 +714,135 @@ public type EHRS_FM_Record_Lifecycle_Event___Audit_EventSource record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "AuditEvent.agent.modifierExtension" + path: "AuditEvent.entity.modifierExtension" }, - "media": { - name: "media", - dataType: r4:Coding, + + "query": { + name: "query", + dataType: r4:base64Binary, min: 0, max: 1, isArray: false, - description: "Type of media involved. Used when the event is about exporting/importing onto media.", - path: "AuditEvent.agent.media" + description: "The query parameters for a query-type entities.", + path: "AuditEvent.entity.query" }, - "type": { - name: "type", - dataType: r4:CodeableConcept, + + "name": { + name: "name", + dataType: string, min: 0, max: 1, isArray: false, - description: "Specification of the participation type the user plays when performing the event.", - path: "AuditEvent.agent.type" + description: "A name of the entity in the audit event.", + path: "AuditEvent.entity.name" }, - "altId": { - name: "altId", + + "description": { + name: "description", dataType: string, min: 0, max: 1, isArray: false, - description: "Alternative agent Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available.", - path: "AuditEvent.agent.altId" + description: "Text that describes the entity in more detail.", + path: "AuditEvent.entity.description" }, - "requestor": { - name: "requestor", - dataType: boolean, - min: 1, + + "detail": { + name: "detail", + dataType: EHRSFMRecordLifecycleEvent_AuditEventEntityDetail, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Tagged value pairs for conveying additional information about the entity.", + path: "AuditEvent.entity.detail" + }, + + "id": { + name: "id", + dataType: string, + min: 0, max: 1, isArray: false, - description: "Indicator that the user is or is not the requestor, or initiator, for the event being audited.", - path: "AuditEvent.agent.requestor" + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "AuditEvent.entity.id" }, - "network": { - name: "network", - dataType: EHRS_FM_Record_Lifecycle_Event___Audit_EventAgentNetwork, + + "type": { + name: "type", + dataType: r4:Coding, min: 0, max: 1, isArray: false, - description: "Logical network location for application activity, if the activity has a network location.", - path: "AuditEvent.agent.network" + description: "The type of the object that was involved in this audit event.", + path: "AuditEvent.entity.type" + } + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type EHRSFMRecordLifecycleEvent_AuditEventEntity record {| + *r4:BackboneElement; + + r4:Coding lifecycle?; + r4:Extension[] extension?; + r4:Coding role?; + r4:Reference what?; + r4:Coding[] securityLabel?; + r4:Extension[] modifierExtension?; + r4:base64Binary query?; + string name?; + string description?; + EHRSFMRecordLifecycleEvent_AuditEventEntityDetail[] detail?; + string id?; + r4:Coding 'type?; +|}; + +# FHIR EHRSFMRecordLifecycleEvent_AuditEventAgentNetwork datatype record. +# +# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + address - An identifier for the network access point of the user device for the audit event. +# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + 'type - An identifier for the type of network access point that originated the audit event. + +@r4:DataTypeDefinition { + name: "EHRSFMRecordLifecycleEvent_AuditEventAgentNetwork", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "AuditEvent.agent.network.extension" }, - "name": { - name: "name", + + "address": { + name: "address", dataType: string, min: 0, max: 1, isArray: false, - description: "Human-meaningful name for the agent.", - path: "AuditEvent.agent.name" + description: "An identifier for the network access point of the user device for the audit event.", + path: "AuditEvent.agent.network.address" }, - "location": { - name: "location", - dataType: r4:Reference, + + "modifierExtension": { + name: "modifierExtension", + dataType: r4:Extension, min: 0, - max: 1, - isArray: false, - description: "Where the event occurred.", - path: "AuditEvent.agent.location" + max: int:MAX_VALUE, + isArray: true, + description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + path: "AuditEvent.agent.network.modifierExtension" }, + "id": { name: "id", dataType: string, @@ -757,48 +850,33 @@ public type EHRS_FM_Record_Lifecycle_Event___Audit_EventSource record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "AuditEvent.agent.id" - }, - "policy": { - name: "policy", - dataType: r4:uri, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used.", - path: "AuditEvent.agent.policy" + path: "AuditEvent.agent.network.id" }, - "who": { - name: "who", - dataType: r4:Reference, + + "type": { + name: "type", + dataType: r4:code, min: 0, max: 1, isArray: false, - description: "Reference to who this agent is that was involved in the event.", - path: "AuditEvent.agent.who" + description: "An identifier for the type of network access point that originated the audit event.", + path: "AuditEvent.agent.network.type" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type EHRS_FM_Record_Lifecycle_Event___Audit_EventAgent record {| + +public type EHRSFMRecordLifecycleEvent_AuditEventAgentNetwork record {| *r4:BackboneElement; r4:Extension[] extension?; - r4:CodeableConcept[] role?; - r4:CodeableConcept[] purposeOfUse?; + string address?; r4:Extension[] modifierExtension?; - r4:Coding media?; - r4:CodeableConcept 'type?; - string altId?; - boolean requestor; - EHRS_FM_Record_Lifecycle_Event___Audit_EventAgentNetwork network?; - string name?; - r4:Reference location?; string id?; - r4:uri[] policy?; - r4:Reference who?; + r4:code 'type?; |}; diff --git a/international401/resource_ehrs_fm_record_lifecycle_event___provenance.bal b/international401/resource_ehrsfmrecord_lifecycle_event_provenance.bal similarity index 85% rename from international401/resource_ehrs_fm_record_lifecycle_event___provenance.bal rename to international401/resource_ehrsfmrecord_lifecycle_event_provenance.bal index 3b8b4d71..4d59bba9 100644 --- a/international401/resource_ehrs_fm_record_lifecycle_event___provenance.bal +++ b/international401/resource_ehrsfmrecord_lifecycle_event_provenance.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -13,17 +13,17 @@ // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. - +// // AUTO-GENERATED FILE. // This file is auto-generated by Ballerina. import ballerina/constraint; import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance"; -public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Provenance"; +public const string PROFILE_BASE_EHRSFMRECORDLIFECYCLEEVENT_PROVENANCE = "http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance"; +public const RESOURCE_NAME_EHRSFMRECORDLIFECYCLEEVENT_PROVENANCE = "Provenance"; -# FHIR EHRS_FM_Record_Lifecycle_Event___Provenance resource record. +# FHIR EHRSFMRecordLifecycleEvent_Provenance resource record. # # + resourceType - The type of the resource describes # + reason - The reason that the activity was taking place. @@ -45,12 +45,13 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven # + entity - An entity used in this activity. # + occurredDateTime - The period during which the activity occurred. # + policy - Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc. + @r4:ResourceDefinition { resourceType: "Provenance", baseType: r4:DomainResource, profile: "http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance", elements: { - "reason" : { + "reason": { name: "reason", dataType: r4:CodeableConcept, min: 0, @@ -59,15 +60,17 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven path: "Provenance.reason", valueSet: "http://terminology.hl7.org/ValueSet/v3-PurposeOfUse" }, - "agent" : { + + "agent": { name: "agent", - dataType: EHRS_FM_Record_Lifecycle_Event___ProvenanceAgent, + dataType: EHRSFMRecordLifecycleEvent_ProvenanceAgent, min: 1, max: int:MAX_VALUE, isArray: true, path: "Provenance.agent" }, - "extension" : { + + "extension": { name: "extension", dataType: r4:Extension, min: 0, @@ -75,7 +78,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven isArray: true, path: "Provenance.extension" }, - "activity" : { + + "activity": { name: "activity", dataType: r4:CodeableConcept, min: 0, @@ -84,7 +88,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven path: "Provenance.activity", valueSet: "http://hl7.org/fhir/ValueSet/provenance-activity-type" }, - "signature" : { + + "signature": { name: "signature", dataType: r4:Signature, min: 0, @@ -92,7 +97,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven isArray: true, path: "Provenance.signature" }, - "modifierExtension" : { + + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, min: 0, @@ -100,7 +106,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven isArray: true, path: "Provenance.modifierExtension" }, - "language" : { + + "language": { name: "language", dataType: r4:code, min: 0, @@ -109,7 +116,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven path: "Provenance.language", valueSet: "http://hl7.org/fhir/ValueSet/languages" }, - "occurredPeriod" : { + + "occurredPeriod": { name: "occurredPeriod", dataType: r4:Period, min: 0, @@ -117,7 +125,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven isArray: false, path: "Provenance.occurred[x]" }, - "recorded" : { + + "recorded": { name: "recorded", dataType: r4:instant, min: 1, @@ -125,7 +134,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven isArray: false, path: "Provenance.recorded" }, - "target" : { + + "target": { name: "target", dataType: r4:Reference, min: 1, @@ -133,7 +143,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven isArray: true, path: "Provenance.target" }, - "contained" : { + + "contained": { name: "contained", dataType: r4:Resource, min: 0, @@ -141,7 +152,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven isArray: true, path: "Provenance.contained" }, - "meta" : { + + "meta": { name: "meta", dataType: r4:Meta, min: 0, @@ -149,7 +161,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven isArray: false, path: "Provenance.meta" }, - "implicitRules" : { + + "implicitRules": { name: "implicitRules", dataType: r4:uri, min: 0, @@ -157,7 +170,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven isArray: false, path: "Provenance.implicitRules" }, - "location" : { + + "location": { name: "location", dataType: r4:Reference, min: 0, @@ -165,7 +179,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven isArray: false, path: "Provenance.location" }, - "id" : { + + "id": { name: "id", dataType: string, min: 0, @@ -173,7 +188,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven isArray: false, path: "Provenance.id" }, - "text" : { + + "text": { name: "text", dataType: r4:Narrative, min: 0, @@ -181,15 +197,17 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven isArray: false, path: "Provenance.text" }, - "entity" : { + + "entity": { name: "entity", - dataType: EHRS_FM_Record_Lifecycle_Event___ProvenanceEntity, + dataType: EHRSFMRecordLifecycleEvent_ProvenanceEntity, min: 0, max: int:MAX_VALUE, isArray: true, path: "Provenance.entity" }, - "occurredDateTime" : { + + "occurredDateTime": { name: "occurredDateTime", dataType: r4:dateTime, min: 0, @@ -197,7 +215,8 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven isArray: false, path: "Provenance.occurred[x]" }, - "policy" : { + + "policy": { name: "policy", dataType: r4:uri, min: 0, @@ -205,22 +224,28 @@ public const RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE = "Proven isArray: true, path: "Provenance.policy" } + }, + serializers: { 'xml: r4:fhirResourceXMLSerializer, 'json: r4:fhirResourceJsonSerializer } } -public type EHRS_FM_Record_Lifecycle_Event___Provenance record {| + +public type EHRSFMRecordLifecycleEvent_Provenance record {| *r4:DomainResource; - RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE resourceType = RESOURCE_NAME_EHRS_FM_RECORD_LIFECYCLE_EVENT___PROVENANCE; + RESOURCE_NAME_EHRSFMRECORDLIFECYCLEEVENT_PROVENANCE resourceType = RESOURCE_NAME_EHRSFMRECORDLIFECYCLEEVENT_PROVENANCE; r4:CodeableConcept[] reason?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Provenance.agent constraint. This field must be an array containing at least one item." + } } - EHRS_FM_Record_Lifecycle_Event___ProvenanceAgent[] agent; + EHRSFMRecordLifecycleEvent_ProvenanceAgent[] agent; r4:Extension[] extension?; r4:CodeableConcept activity?; r4:Signature[] signature?; @@ -229,7 +254,10 @@ public type EHRS_FM_Record_Lifecycle_Event___Provenance record {| r4:Period occurredPeriod?; r4:instant recorded; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Provenance.target constraint. This field must be an array containing at least one item." + } } r4:Reference[] target; r4:Resource[] contained?; @@ -238,34 +266,44 @@ public type EHRS_FM_Record_Lifecycle_Event___Provenance record {| r4:Reference location?; string id?; r4:Narrative text?; - EHRS_FM_Record_Lifecycle_Event___ProvenanceEntity[] entity?; + EHRSFMRecordLifecycleEvent_ProvenanceEntity[] entity?; r4:dateTime occurredDateTime?; r4:uri[] policy?; - r4:Element ...; + r4:Element...; |}; -# EHRS_FM_Record_Lifecycle_Event___ProvenanceEntityRole enum -public enum EHRS_FM_Record_Lifecycle_Event___ProvenanceEntityRole { - CODE_ROLE_REMOVAL = "removal", - CODE_ROLE_DERIVATION = "derivation", - CODE_ROLE_SOURCE = "source", - CODE_ROLE_QUOTATION = "quotation", - CODE_ROLE_REVISION = "revision" +# EHRSFMRecordLifecycleEvent_ProvenanceEntityRole enum +public enum EHRSFMRecordLifecycleEvent_ProvenanceEntityRole { + CODE_ROLE_REMOVAL = "removal", + CODE_ROLE_DERIVATION = "derivation", + CODE_ROLE_SOURCE = "source", + CODE_ROLE_QUOTATION = "quotation", + CODE_ROLE_REVISION = "revision" } -# FHIR EHRS_FM_Record_Lifecycle_Event___ProvenanceAgent datatype record. +# FHIR EHRSFMRecordLifecycleEvent_ProvenanceEntity datatype record. # +# + agent - The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + role - The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity. +# + role - How the entity was used during the activity. +# + what - Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + onBehalfOf - The individual, device, or organization for whom the change was made. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + 'type - The participation the agent had with respect to the activity. -# + who - The individual, device or organization that participated in the event. + @r4:DataTypeDefinition { - name: "EHRS_FM_Record_Lifecycle_Event___ProvenanceAgent", + name: "EHRSFMRecordLifecycleEvent_ProvenanceEntity", baseType: (), elements: { + "agent": { + name: "agent", + dataType: EHRSFMRecordLifecycleEvent_ProvenanceAgent, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity.", + path: "Provenance.entity.agent" + }, + "extension": { name: "extension", dataType: r4:Extension, @@ -273,17 +311,29 @@ public enum EHRS_FM_Record_Lifecycle_Event___ProvenanceEntityRole { max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Provenance.agent.extension" + path: "Provenance.entity.extension" }, + "role": { name: "role", - dataType: r4:CodeableConcept, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.", - path: "Provenance.agent.role" + dataType: EHRSFMRecordLifecycleEvent_ProvenanceEntityRole, + min: 1, + max: 1, + isArray: false, + description: "How the entity was used during the activity.", + path: "Provenance.entity.role" + }, + + "what": { + name: "what", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.", + path: "Provenance.entity.what" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -291,17 +341,9 @@ public enum EHRS_FM_Record_Lifecycle_Event___ProvenanceEntityRole { max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Provenance.agent.modifierExtension" - }, - "onBehalfOf": { - name: "onBehalfOf", - dataType: r4:Reference, - min: 0, - max: 1, - isArray: false, - description: "The individual, device, or organization for whom the change was made.", - path: "Provenance.agent.onBehalfOf" + path: "Provenance.entity.modifierExtension" }, + "id": { name: "id", dataType: string, @@ -309,53 +351,39 @@ public enum EHRS_FM_Record_Lifecycle_Event___ProvenanceEntityRole { max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Provenance.agent.id" - }, - "type": { - name: "type", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "The participation the agent had with respect to the activity.", - path: "Provenance.agent.type" - }, - "who": { - name: "who", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "The individual, device or organization that participated in the event.", - path: "Provenance.agent.who" + path: "Provenance.entity.id" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type EHRS_FM_Record_Lifecycle_Event___ProvenanceAgent record {| + +public type EHRSFMRecordLifecycleEvent_ProvenanceEntity record {| *r4:BackboneElement; + EHRSFMRecordLifecycleEvent_ProvenanceAgent[] agent?; r4:Extension[] extension?; - r4:CodeableConcept[] role?; + EHRSFMRecordLifecycleEvent_ProvenanceEntityRole role; + r4:Reference what; r4:Extension[] modifierExtension?; - r4:Reference onBehalfOf?; string id?; - r4:CodeableConcept 'type?; - r4:Reference who; |}; -# FHIR EHRS_FM_Record_Lifecycle_Event___ProvenanceEntity datatype record. +# FHIR EHRSFMRecordLifecycleEvent_ProvenanceAgent datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + role - How the entity was used during the activity. -# + what - Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative. +# + role - The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + onBehalfOf - The individual, device, or organization for whom the change was made. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + 'type - The participation the agent had with respect to the activity. +# + who - The individual, device or organization that participated in the event. + @r4:DataTypeDefinition { - name: "EHRS_FM_Record_Lifecycle_Event___ProvenanceEntity", + name: "EHRSFMRecordLifecycleEvent_ProvenanceAgent", baseType: (), elements: { "extension": { @@ -365,26 +393,19 @@ public type EHRS_FM_Record_Lifecycle_Event___ProvenanceAgent record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Provenance.entity.extension" + path: "Provenance.agent.extension" }, + "role": { name: "role", - dataType: EHRS_FM_Record_Lifecycle_Event___ProvenanceEntityRole, - min: 1, - max: 1, - isArray: false, - description: "How the entity was used during the activity.", - path: "Provenance.entity.role" - }, - "what": { - name: "what", - dataType: r4:Reference, - min: 1, - max: 1, - isArray: false, - description: "Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.", - path: "Provenance.entity.what" + dataType: r4:CodeableConcept, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.", + path: "Provenance.agent.role" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -392,8 +413,19 @@ public type EHRS_FM_Record_Lifecycle_Event___ProvenanceAgent record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Provenance.entity.modifierExtension" + path: "Provenance.agent.modifierExtension" + }, + + "onBehalfOf": { + name: "onBehalfOf", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "The individual, device, or organization for whom the change was made.", + path: "Provenance.agent.onBehalfOf" }, + "id": { name: "id", dataType: string, @@ -401,21 +433,45 @@ public type EHRS_FM_Record_Lifecycle_Event___ProvenanceAgent record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Provenance.entity.id" + path: "Provenance.agent.id" + }, + + "type": { + name: "type", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "The participation the agent had with respect to the activity.", + path: "Provenance.agent.type" + }, + + "who": { + name: "who", + dataType: r4:Reference, + min: 1, + max: 1, + isArray: false, + description: "The individual, device or organization that participated in the event.", + path: "Provenance.agent.who" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type EHRS_FM_Record_Lifecycle_Event___ProvenanceEntity record {| + +public type EHRSFMRecordLifecycleEvent_ProvenanceAgent record {| *r4:BackboneElement; r4:Extension[] extension?; - EHRS_FM_Record_Lifecycle_Event___ProvenanceEntityRole role; - r4:Reference what; + r4:CodeableConcept[] role?; r4:Extension[] modifierExtension?; + r4:Reference onBehalfOf?; string id?; + r4:CodeableConcept 'type?; + r4:Reference who; |}; diff --git a/international401/resource_encounter.bal b/international401/resource_encounter.bal index 87ab7f37..772af07d 100644 --- a/international401/resource_encounter.bal +++ b/international401/resource_encounter.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_ENCOUNTER = "http://hl7.org/fhir/StructureDefinition/Encounter"; public const RESOURCE_NAME_ENCOUNTER = "Encounter"; +public type EncounterExtensions (EncounterAssociatedEncounter|EncounterModeOfArrival|EncounterReasonCancelled|r4:Extension|PatientInterpreterRequired|PatientPreferredPharmacy|WorkflowAdheresTo|WorkflowFollowOnOf|WorkflowReleaseDate|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR Encounter resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_endpoint.bal b/international401/resource_endpoint.bal index 878f00cc..7089998f 100644 --- a/international401/resource_endpoint.bal +++ b/international401/resource_endpoint.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_ENDPOINT = "http://hl7.org/fhir/StructureDefinition/Endpoint"; public const RESOURCE_NAME_ENDPOINT = "Endpoint"; +public type EndpointExtensions (EndpointFhirVersion|r4:Extension|WorkflowReleaseDate); + # FHIR Endpoint resource record. # # + resourceType - The type of the resource describes @@ -228,7 +230,10 @@ public type Endpoint record {| r4:Resource[] contained?; r4:Reference managingOrganization?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Endpoint.payloadType constraint. This field must be an array containing at least one item." + } } r4:CodeableConcept[] payloadType; r4:Meta meta?; diff --git a/international401/resource_enrollment_request.bal b/international401/resource_enrollment_request.bal index e3a03ee9..b5184b72 100644 --- a/international401/resource_enrollment_request.bal +++ b/international401/resource_enrollment_request.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_ENROLLMENTREQUEST = "http://hl7.org/fhir/StructureDefinition/EnrollmentRequest"; public const RESOURCE_NAME_ENROLLMENTREQUEST = "EnrollmentRequest"; +public type EnrollmentRequestExtensions (r4:Extension|WorkflowEpisodeOfCare); + # FHIR EnrollmentRequest resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_enrollment_response.bal b/international401/resource_enrollment_response.bal index f5cfb2ec..d7449340 100644 --- a/international401/resource_enrollment_response.bal +++ b/international401/resource_enrollment_response.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_ENROLLMENTRESPONSE = "http://hl7.org/fhir/StructureDefinition/EnrollmentResponse"; public const RESOURCE_NAME_ENROLLMENTRESPONSE = "EnrollmentResponse"; +public type EnrollmentResponseExtensions (r4:Extension|WorkflowEpisodeOfCare); + # FHIR EnrollmentResponse resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_episode_of_care.bal b/international401/resource_episode_of_care.bal index afebbac7..4f1a367c 100644 --- a/international401/resource_episode_of_care.bal +++ b/international401/resource_episode_of_care.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_EPISODEOFCARE = "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"; public const RESOURCE_NAME_EPISODEOFCARE = "EpisodeOfCare"; +public type EpisodeOfCareExtensions (EventBasedOn|r4:Extension|WorkflowReleaseDate); + # FHIR EpisodeOfCare resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_event_definition.bal b/international401/resource_event_definition.bal index c36c64b7..ce9d055b 100644 --- a/international401/resource_event_definition.bal +++ b/international401/resource_event_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_EVENTDEFINITION = "http://hl7.org/fhir/StructureDefinition/EventDefinition"; public const RESOURCE_NAME_EVENTDEFINITION = "EventDefinition"; +public type EventDefinitionExtensions (r4:Extension|Replaces); + # FHIR EventDefinition resource record. # # + resourceType - The type of the resource describes @@ -405,7 +407,10 @@ public type EventDefinition record {| r4:ContactDetail[] author?; r4:ContactDetail[] reviewer?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.EventDefinition.trigger constraint. This field must be an array containing at least one item." + } } r4:TriggerDefinition[] trigger; r4:Reference subjectReference?; diff --git a/international401/resource_evidence.bal b/international401/resource_evidence.bal index e4f1cfb3..bd49d72a 100644 --- a/international401/resource_evidence.bal +++ b/international401/resource_evidence.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_EVIDENCE = "http://hl7.org/fhir/StructureDefinition/Evidence"; public const RESOURCE_NAME_EVIDENCE = "Evidence"; +public type EvidenceExtensions (r4:Extension|Replaces); + # FHIR Evidence resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_evidence_synthesis_profile.bal b/international401/resource_evidence_synthesis_profile.bal index 526bcb9a..151b22e1 100644 --- a/international401/resource_evidence_synthesis_profile.bal +++ b/international401/resource_evidence_synthesis_profile.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -20,10 +20,12 @@ import ballerina/constraint; import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_EVIDENCE_SYNTHESIS_PROFILE = "http://hl7.org/fhir/StructureDefinition/synthesis"; -public const RESOURCE_NAME_EVIDENCE_SYNTHESIS_PROFILE = "Evidence"; +public const string PROFILE_BASE_EVIDENCESYNTHESISPROFILE = "http://hl7.org/fhir/StructureDefinition/synthesis"; +public const RESOURCE_NAME_EVIDENCESYNTHESISPROFILE = "Evidence"; -# FHIR Evidence_Synthesis_Profile resource record. +public type EvidenceSynthesisProfileExtensions (r4:Extension|Replaces); + +# FHIR EvidenceSynthesisProfile resource record. # # + resourceType - The type of the resource describes # + date - The date (and optionally time) when the evidence was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence changes. @@ -352,7 +354,7 @@ public const RESOURCE_NAME_EVIDENCE_SYNTHESIS_PROFILE = "Evidence"; }, "status" : { name: "status", - dataType: Evidence_Synthesis_ProfileStatus, + dataType: EvidenceSynthesisProfileStatus, min: 1, max: 1, isArray: false, @@ -365,10 +367,11 @@ public const RESOURCE_NAME_EVIDENCE_SYNTHESIS_PROFILE = "Evidence"; 'json: r4:fhirResourceJsonSerializer } } -public type Evidence_Synthesis_Profile record {| + +public type EvidenceSynthesisProfile record {| *r4:DomainResource; - RESOURCE_NAME_EVIDENCE_SYNTHESIS_PROFILE resourceType = RESOURCE_NAME_EVIDENCE_SYNTHESIS_PROFILE; + RESOURCE_NAME_EVIDENCESYNTHESISPROFILE resourceType = RESOURCE_NAME_EVIDENCESYNTHESISPROFILE; r4:dateTime date?; r4:Annotation[] note?; @@ -386,7 +389,10 @@ public type Evidence_Synthesis_Profile record {| string id?; r4:Narrative text?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Evidence.outcome constraint. This field must be an array containing at least one item." + } } r4:Reference[] outcome; r4:ContactDetail[] editor?; @@ -396,8 +402,14 @@ public type Evidence_Synthesis_Profile record {| r4:ContactDetail[] author?; r4:ContactDetail[] reviewer?; @constraint:Array { - minLength: 1, - maxLength: 2 + minLength: { + value: 1, + message: "Validation failed for $.Evidence.exposureVariant constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Evidence.exposureVariant constraint. This field must be an array containing at most one item." + } } r4:Reference[] exposureVariant; string 'version?; @@ -412,12 +424,12 @@ public type Evidence_Synthesis_Profile record {| string publisher?; r4:CodeableConcept[] topic?; r4:UsageContext[] useContext?; - Evidence_Synthesis_ProfileStatus status; + EvidenceSynthesisProfileStatus status; r4:Element ...; |}; -# Evidence_Synthesis_ProfileStatus enum -public enum Evidence_Synthesis_ProfileStatus { +# EvidenceSynthesisProfileStatus enum +public enum EvidenceSynthesisProfileStatus { CODE_STATUS_DRAFT = "draft", CODE_STATUS_ACTIVE = "active", CODE_STATUS_RETIRED = "retired", diff --git a/international401/resource_evidence_variable.bal b/international401/resource_evidence_variable.bal index 201a3044..ec2597d5 100644 --- a/international401/resource_evidence_variable.bal +++ b/international401/resource_evidence_variable.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_EVIDENCEVARIABLE = "http://hl7.org/fhir/StructureDefinition/EvidenceVariable"; public const RESOURCE_NAME_EVIDENCEVARIABLE = "EvidenceVariable"; +public type EvidenceVariableExtensions (r4:Extension|Replaces); + # FHIR EvidenceVariable resource record. # # + resourceType - The type of the resource describes @@ -375,7 +377,10 @@ public type EvidenceVariable record {| string title?; EvidenceVariableType 'type?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.EvidenceVariable.characteristic constraint. This field must be an array containing at least one item." + } } EvidenceVariableCharacteristic[] characteristic; r4:ContactDetail[] contact?; @@ -609,20 +614,20 @@ public type EvidenceVariableCharacteristic record {| *r4:BackboneElement; r4:Timing participantEffectiveTiming?; - r4:CodeableConcept definitionCodeableConcept; + r4:CodeableConcept definitionCodeableConcept?; r4:Period participantEffectivePeriod?; r4:UsageContext[] usageContext?; - r4:canonical definitionCanonical; + r4:canonical definitionCanonical?; r4:Extension[] extension?; - r4:DataRequirement definitionDataRequirement; + r4:DataRequirement definitionDataRequirement?; EvidenceVariableCharacteristicGroupMeasure groupMeasure?; r4:dateTime participantEffectiveDateTime?; r4:Duration timeFromStart?; - r4:Reference definitionReference; + r4:Reference definitionReference?; r4:Extension[] modifierExtension?; string description?; - r4:Expression definitionExpression; - r4:TriggerDefinition definitionTriggerDefinition; + r4:Expression definitionExpression?; + r4:TriggerDefinition definitionTriggerDefinition?; boolean exclude?; r4:Duration participantEffectiveDuration?; string id?; diff --git a/international401/resource_example_lipid_profile.bal b/international401/resource_example_lipid_profile.bal index 7834af2a..57eb4555 100644 --- a/international401/resource_example_lipid_profile.bal +++ b/international401/resource_example_lipid_profile.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -20,10 +20,12 @@ import ballerina/constraint; import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_EXAMPLE_LIPID_PROFILE = "http://hl7.org/fhir/StructureDefinition/lipidprofile"; -public const RESOURCE_NAME_EXAMPLE_LIPID_PROFILE = "DiagnosticReport"; +public const string PROFILE_BASE_EXAMPLELIPIDPROFILE = "http://hl7.org/fhir/StructureDefinition/lipidprofile"; +public const RESOURCE_NAME_EXAMPLELIPIDPROFILE = "DiagnosticReport"; -# FHIR Example_Lipid_Profile resource record. +public type ExampleLipidProfileExtensions (BusinessEvent|DiagnosticReportAddendumOf|DiagnosticReportExtends|DiagnosticReportFocus|DiagnosticReportGeneticsAnalysis|DiagnosticReportGeneticsAssessedCondition|DiagnosticReportGeneticsFamilyMemberHistory|DiagnosticReportGeneticsReferences|DiagnosticReportLocationPerformed|DiagnosticReportReplaces|DiagnosticReportRisk|DiagnosticReportSummaryOf|DiagnosticReportWorkflowStatus|EventEventHistory|EventLocation|EventPartOf|EventStatusReason|r4:Extension|HlaGenotypingResultsAlleleDatabase|HlaGenotypingResultsGlstring|HlaGenotypingResultsHaploid|HlaGenotypingResultsMethod|ServicerequestGeneticsItem|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + +# FHIR ExampleLipidProfile resource record. # # + resourceType - The type of the resource describes # + extension - May be used to represent additional information that is not part of the basic definition of the resource. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. @@ -36,19 +38,19 @@ public const RESOURCE_NAME_EXAMPLE_LIPID_PROFILE = "DiagnosticReport"; # + conclusion - May include diagnosis or suggestions for follow up testing. # + result - [Observations](http://hl7.org/fhir/observation.html) that are part of this diagnostic report. # * result Slicings -# 1) Example_Lipid_ProfileResultTriglyceride: Triglyceride Result +# 1) ExampleLipidProfileResultTriglyceride: Triglyceride Result # - min = 1 # - max = 1 # -# 2) Example_Lipid_ProfileResultCholesterol: Cholesterol Result +# 2) ExampleLipidProfileResultCholesterol: Cholesterol Result # - min = 1 # - max = 1 # -# 3) Example_Lipid_ProfileResultHDLCholesterol: HDL Cholesterol Result +# 3) ExampleLipidProfileResultHDLCholesterol: HDL Cholesterol Result # - min = 1 # - max = 1 # -# 4) Example_Lipid_ProfileResultLDLCholesterol: LDL Cholesterol result, if reported +# 4) ExampleLipidProfileResultLDLCholesterol: LDL Cholesterol result, if reported # - min = 0 # - max = 1 # @@ -127,7 +129,7 @@ public const RESOURCE_NAME_EXAMPLE_LIPID_PROFILE = "DiagnosticReport"; }, "media" : { name: "media", - dataType: Example_Lipid_ProfileMedia, + dataType: ExampleLipidProfileMedia, min: 0, max: int:MAX_VALUE, isArray: true, @@ -226,7 +228,7 @@ public const RESOURCE_NAME_EXAMPLE_LIPID_PROFILE = "DiagnosticReport"; dataType: r4:CodeableConcept, min: 0, max: 0, - isArray: false, + isArray: true, path: "DiagnosticReport.conclusionCode", valueSet: "http://hl7.org/fhir/ValueSet/clinical-findings" }, @@ -289,7 +291,7 @@ public const RESOURCE_NAME_EXAMPLE_LIPID_PROFILE = "DiagnosticReport"; }, "status" : { name: "status", - dataType: Example_Lipid_ProfileStatusFour, + dataType: ExampleLipidProfileStatusFour, min: 1, max: 1, isArray: false, @@ -302,10 +304,11 @@ public const RESOURCE_NAME_EXAMPLE_LIPID_PROFILE = "DiagnosticReport"; 'json: r4:fhirResourceJsonSerializer } } -public type Example_Lipid_Profile record {| + +public type ExampleLipidProfile record {| *r4:DomainResource; - RESOURCE_NAME_EXAMPLE_LIPID_PROFILE resourceType = RESOURCE_NAME_EXAMPLE_LIPID_PROFILE; + RESOURCE_NAME_EXAMPLELIPIDPROFILE resourceType = RESOURCE_NAME_EXAMPLELIPIDPROFILE; r4:Extension[] extension?; r4:CodeableConcept code; @@ -313,11 +316,17 @@ public type Example_Lipid_Profile record {| r4:Extension[] modifierExtension?; r4:Attachment[] presentedForm?; r4:code language?; - Example_Lipid_ProfileMedia[] media?; + ExampleLipidProfileMedia[] media?; string conclusion?; @constraint:Array { - minLength: 3, - maxLength: 4 + minLength: { + value: 1, + message: "Validation failed for $.DiagnosticReport.result constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.DiagnosticReport.result constraint. This field must be an array containing at most one item." + } } r4:Reference[] result; r4:Reference[] specimen?; @@ -329,7 +338,7 @@ public type Example_Lipid_Profile record {| r4:Reference[] performer?; r4:Period effectivePeriod?; r4:Reference[] resultsInterpreter?; - r4:CodeableConcept conclusionCode?; + r4:CodeableConcept[] conclusionCode?; r4:Reference encounter?; r4:Resource[] contained?; r4:dateTime effectiveDateTime?; @@ -337,11 +346,79 @@ public type Example_Lipid_Profile record {| r4:uri implicitRules?; r4:CodeableConcept[] category?; r4:Reference[] imagingStudy?; - Example_Lipid_ProfileStatusFour status; + ExampleLipidProfileStatusFour status; r4:Element ...; |}; -# FHIR Example_Lipid_ProfileMedia datatype record. +# FHIR ExampleLipidProfileResultTriglyceride datatype record. +# + +@r4:DataTypeDefinition { + name: "ExampleLipidProfileResultTriglyceride", + baseType: (), + elements: { + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ExampleLipidProfileResultTriglyceride record {| + *r4:Reference; + +|}; + +# FHIR ExampleLipidProfileResultCholesterol datatype record. +# + +@r4:DataTypeDefinition { + name: "ExampleLipidProfileResultCholesterol", + baseType: (), + elements: { + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ExampleLipidProfileResultCholesterol record {| + *r4:Reference; + +|}; + +# ExampleLipidProfileStatusFour enum +public enum ExampleLipidProfileStatusFour { + CODE_STATUS_FINAL = "final", + CODE_STATUS_REGISTERED = "registered", + CODE_STATUS_PRELIMINARY = "preliminary", + CODE_STATUS_PARTIAL = "partial" +} + +# FHIR ExampleLipidProfileResultLDLCholesterol datatype record. +# + +@r4:DataTypeDefinition { + name: "ExampleLipidProfileResultLDLCholesterol", + baseType: (), + elements: { + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ExampleLipidProfileResultLDLCholesterol record {| + *r4:Reference; + +|}; + +# FHIR ExampleLipidProfileMedia datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). @@ -349,7 +426,7 @@ public type Example_Lipid_Profile record {| # + comment - A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @r4:DataTypeDefinition { - name: "Example_Lipid_ProfileMedia", + name: "ExampleLipidProfileMedia", baseType: (), elements: { "extension": { @@ -403,7 +480,8 @@ public type Example_Lipid_Profile record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Example_Lipid_ProfileMedia record {| + +public type ExampleLipidProfileMedia record {| *r4:BackboneElement; r4:Extension[] extension?; @@ -413,78 +491,22 @@ public type Example_Lipid_ProfileMedia record {| string id?; |}; -# FHIR Example_Lipid_ProfileResultHDLCholesterol datatype record. +# FHIR ExampleLipidProfileResultHDLCholesterol datatype record. # -@r4:DataTypeDefinition { - name: "Example_Lipid_ProfileResultHDLCholesterol", - baseType: (), - elements: { - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Example_Lipid_ProfileResultHDLCholesterol record {| - *r4:Reference; -|}; - -# FHIR Example_Lipid_ProfileResultTriglyceride datatype record. -# @r4:DataTypeDefinition { - name: "Example_Lipid_ProfileResultTriglyceride", + name: "ExampleLipidProfileResultHDLCholesterol", baseType: (), elements: { }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Example_Lipid_ProfileResultTriglyceride record {| - *r4:Reference; -|}; - -# FHIR Example_Lipid_ProfileResultCholesterol datatype record. -# -@r4:DataTypeDefinition { - name: "Example_Lipid_ProfileResultCholesterol", - baseType: (), - elements: { - }, serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type Example_Lipid_ProfileResultCholesterol record {| - *r4:Reference; - -|}; -# Example_Lipid_ProfileStatusFour enum -public enum Example_Lipid_ProfileStatusFour { - CODE_STATUS_FINAL = "final", - CODE_STATUS_REGISTERED = "registered", - CODE_STATUS_PRELIMINARY = "preliminary", - CODE_STATUS_PARTIAL = "partial" -} - -# FHIR Example_Lipid_ProfileResultLDLCholesterol datatype record. -# -@r4:DataTypeDefinition { - name: "Example_Lipid_ProfileResultLDLCholesterol", - baseType: (), - elements: { - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Example_Lipid_ProfileResultLDLCholesterol record {| +public type ExampleLipidProfileResultHDLCholesterol record {| *r4:Reference; |}; diff --git a/international401/resource_example_scenario.bal b/international401/resource_example_scenario.bal index b727ca82..ef74edb9 100644 --- a/international401/resource_example_scenario.bal +++ b/international401/resource_example_scenario.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_EXAMPLESCENARIO = "http://hl7.org/fhir/StructureDefinition/ExampleScenario"; public const RESOURCE_NAME_EXAMPLESCENARIO = "ExampleScenario"; +public type ExampleScenarioExtensions (r4:Extension|Replaces); + # FHIR ExampleScenario resource record. # # + resourceType - The type of the resource describes @@ -308,6 +310,7 @@ public enum ExampleScenarioStatus { # FHIR ExampleScenarioProcessStep datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + process - Nested process. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + alternative - Indicates an alternative step that can be taken instead of the operations on the base step in exceptional/atypical circumstances. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @@ -326,6 +329,17 @@ public enum ExampleScenarioStatus { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "ExampleScenario.process.step.extension" }, + + "process": { + name: "process", + dataType: ExampleScenarioProcess, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Nested process.", + path: "ExampleScenario.process.step.process" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -381,6 +395,7 @@ public type ExampleScenarioProcessStep record {| *r4:BackboneElement; r4:Extension[] extension?; + ExampleScenarioProcess[] process?; r4:Extension[] modifierExtension?; ExampleScenarioProcessStepAlternative[] alternative?; string id?; @@ -399,6 +414,7 @@ public enum ExampleScenarioActorType { # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + description - A human-readable description of the alternative explaining when the alternative should occur rather than the base step. +# + step - What happens in each alternative option. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + title - The label to display for the alternative that gives a sense of the circumstance in which the alternative should be invoked. @r4:DataTypeDefinition { @@ -432,6 +448,17 @@ public enum ExampleScenarioActorType { description: "A human-readable description of the alternative explaining when the alternative should occur rather than the base step.", path: "ExampleScenario.process.step.alternative.description" }, + + "step": { + name: "step", + dataType: ExampleScenarioProcessStep, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "What happens in each alternative option.", + path: "ExampleScenario.process.step.alternative.step" + }, + "id": { name: "id", dataType: string, @@ -462,6 +489,7 @@ public type ExampleScenarioProcessStepAlternative record {| r4:Extension[] extension?; r4:Extension[] modifierExtension?; r4:markdown description?; + ExampleScenarioProcessStep[] step?; string id?; string title; |}; @@ -822,29 +850,31 @@ public type ExampleScenarioInstanceVersion record {| # FHIR ExampleScenarioProcessStepOperation datatype record. # -# + number - The sequential number of the interaction, e.g. 1.2.5. +# + request - Each resource instance used by the initiator. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + receiver - Who receives the transaction. # + initiator - Who starts the transaction. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + name - The human-friendly name of the interaction. # + description - A comment to be inserted in the diagram. -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + receiverActive - Whether the receiver is deactivated right after the transaction. # + 'type - The type of operation - CRUD. +# + number - The sequential number of the interaction, e.g. 1.2.5. +# + response - Each resource instance used by the responder. +# + name - The human-friendly name of the interaction. +# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + initiatorActive - Whether the initiator is deactivated right after the transaction. @r4:DataTypeDefinition { name: "ExampleScenarioProcessStepOperation", baseType: (), elements: { - "number": { - name: "number", - dataType: string, - min: 1, + "request": { + name: "request", + dataType: ExampleScenarioInstanceContainedInstance, + min: 0, max: 1, isArray: false, - description: "The sequential number of the interaction, e.g. 1.2.5.", - path: "ExampleScenario.process.step.operation.number" + description: "Each resource instance used by the initiator.", + path: "ExampleScenario.process.step.operation.request" }, "extension": { name: "extension", @@ -882,15 +912,7 @@ public type ExampleScenarioInstanceVersion record {| description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "ExampleScenario.process.step.operation.modifierExtension" }, - "name": { - name: "name", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "The human-friendly name of the interaction.", - path: "ExampleScenario.process.step.operation.name" - }, + "description": { name: "description", dataType: r4:markdown, @@ -900,15 +922,7 @@ public type ExampleScenarioInstanceVersion record {| description: "A comment to be inserted in the diagram.", path: "ExampleScenario.process.step.operation.description" }, - "id": { - name: "id", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "ExampleScenario.process.step.operation.id" - }, + "receiverActive": { name: "receiverActive", dataType: boolean, @@ -927,6 +941,47 @@ public type ExampleScenarioInstanceVersion record {| description: "The type of operation - CRUD.", path: "ExampleScenario.process.step.operation.type" }, + + "number": { + name: "number", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "The sequential number of the interaction, e.g. 1.2.5.", + path: "ExampleScenario.process.step.operation.number" + }, + + "response": { + name: "response", + dataType: ExampleScenarioInstanceContainedInstance, + min: 0, + max: 1, + isArray: false, + description: "Each resource instance used by the responder.", + path: "ExampleScenario.process.step.operation.response" + }, + + "name": { + name: "name", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "The human-friendly name of the interaction.", + path: "ExampleScenario.process.step.operation.name" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "ExampleScenario.process.step.operation.id" + }, + "initiatorActive": { name: "initiatorActive", dataType: boolean, @@ -945,16 +1000,18 @@ public type ExampleScenarioInstanceVersion record {| public type ExampleScenarioProcessStepOperation record {| *r4:BackboneElement; - string number; + ExampleScenarioInstanceContainedInstance request?; r4:Extension[] extension?; string receiver?; string initiator?; r4:Extension[] modifierExtension?; - string name?; r4:markdown description?; - string id?; boolean receiverActive?; string 'type?; + string number; + ExampleScenarioInstanceContainedInstance response?; + string name?; + string id?; boolean initiatorActive?; |}; diff --git a/international401/resource_explanation_of_benefit.bal b/international401/resource_explanation_of_benefit.bal index 204f0e9d..300720d8 100644 --- a/international401/resource_explanation_of_benefit.bal +++ b/international401/resource_explanation_of_benefit.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_EXPLANATIONOFBENEFIT = "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit"; public const RESOURCE_NAME_EXPLANATIONOFBENEFIT = "ExplanationOfBenefit"; +public type ExplanationOfBenefitExtensions (EventBasedOn|r4:Extension); + # FHIR ExplanationOfBenefit resource record. # # + resourceType - The type of the resource describes @@ -58,6 +60,7 @@ public const RESOURCE_NAME_EXPLANATIONOFBENEFIT = "ExplanationOfBenefit"; # + extension - May be used to represent additional information that is not part of the basic definition of the resource. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + benefitBalance - Balance by Benefit Category. # + accident - Details of a accident which resulted in injuries which required the products and services listed in the claim. +# + adjudication - The adjudication results which are presented at the header level rather than at the line-item or add-item levels. # + addItem - The first-tier service adjudications for payor added product or service lines. # + total - Categorized monetary totals for the adjudication. # + related - Other claims which are related to this claim such as prior submissions or claims for related services or for the same event. @@ -343,6 +346,16 @@ public const RESOURCE_NAME_EXPLANATIONOFBENEFIT = "ExplanationOfBenefit"; isArray: false, path: "ExplanationOfBenefit.accident" }, + + "adjudication": { + name: "adjudication", + dataType: ExplanationOfBenefitItemAdjudication, + min: 0, + max: int:MAX_VALUE, + isArray: true, + path: "ExplanationOfBenefit.adjudication" + }, + "addItem" : { name: "addItem", dataType: ExplanationOfBenefitAddItem, @@ -504,7 +517,10 @@ public type ExplanationOfBenefit record {| r4:Period benefitPeriod?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.ExplanationOfBenefit.insurance constraint. This field must be an array containing at least one item." + } } ExplanationOfBenefitInsurance[] insurance; r4:Reference claimResponse?; @@ -537,6 +553,7 @@ public type ExplanationOfBenefit record {| r4:Extension[] extension?; ExplanationOfBenefitBenefitBalance[] benefitBalance?; ExplanationOfBenefitAccident accident?; + ExplanationOfBenefitItemAdjudication[] adjudication?; ExplanationOfBenefitAddItem[] addItem?; ExplanationOfBenefitTotal[] total?; ExplanationOfBenefitRelated[] related?; @@ -685,6 +702,7 @@ public type ExplanationOfBenefitPayment record {| # + subDetail - Third-tier of goods and services. # + productOrService - When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item. # + noteNumber - The numbers associated with notes below which apply to the adjudication of this item. +# + adjudication - The adjudication results. # + sequence - A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items. # + revenue - The type of revenue or cost center providing the product and/or service. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @@ -777,6 +795,17 @@ public type ExplanationOfBenefitPayment record {| description: "The numbers associated with notes below which apply to the adjudication of this item.", path: "ExplanationOfBenefit.item.detail.noteNumber" }, + + "adjudication": { + name: "adjudication", + dataType: ExplanationOfBenefitItemAdjudication, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The adjudication results.", + path: "ExplanationOfBenefit.item.detail.adjudication" + }, + "sequence": { name: "sequence", dataType: r4:positiveInt, @@ -858,6 +887,7 @@ public type ExplanationOfBenefitItemDetail record {| ExplanationOfBenefitItemDetailSubDetail[] subDetail?; r4:CodeableConcept productOrService; r4:positiveInt[] noteNumber?; + ExplanationOfBenefitItemAdjudication[] adjudication?; r4:positiveInt sequence; r4:CodeableConcept revenue?; string id?; @@ -979,27 +1009,27 @@ public type ExplanationOfBenefitDiagnosis record {| r4:Extension[] modifierExtension?; string id?; r4:CodeableConcept[] 'type?; - r4:Reference diagnosisReference; - r4:CodeableConcept diagnosisCodeableConcept; + r4:Reference diagnosisReference?; + r4:CodeableConcept diagnosisCodeableConcept?; |}; # FHIR ExplanationOfBenefitBenefitBalanceFinancial datatype record. # -# + allowedExplanationOfBenefitMoney - The quantity of the benefit which is permitted under the coverage. +# + allowedMoney - The quantity of the benefit which is permitted under the coverage. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + allowedExplanationOfBenefitUnsignedInt - The quantity of the benefit which is permitted under the coverage. -# + allowedExplanationOfBenefitString - The quantity of the benefit which is permitted under the coverage. +# + allowedString - The quantity of the benefit which is permitted under the coverage. +# + allowedUnsignedInt - The quantity of the benefit which is permitted under the coverage. +# + usedUnsignedInt - The quantity of the benefit which have been consumed to date. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + usedExplanationOfBenefitUnsignedInt - The quantity of the benefit which have been consumed to date. +# + usedMoney - The quantity of the benefit which have been consumed to date. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + usedExplanationOfBenefitMoney - The quantity of the benefit which have been consumed to date. # + 'type - Classification of benefit being provided. @r4:DataTypeDefinition { name: "ExplanationOfBenefitBenefitBalanceFinancial", baseType: (), elements: { - "allowedExplanationOfBenefitMoney": { - name: "allowedExplanationOfBenefitMoney", + "allowedMoney": { + name: "allowedMoney", dataType: r4:Money, min: 0, max: 1, @@ -1016,24 +1046,37 @@ public type ExplanationOfBenefitDiagnosis record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "ExplanationOfBenefit.benefitBalance.financial.extension" }, - "allowedExplanationOfBenefitUnsignedInt": { - name: "allowedExplanationOfBenefitUnsignedInt", - dataType: r4:unsignedInt, + + "allowedString": { + name: "allowedString", + dataType: string, min: 0, max: 1, isArray: false, description: "The quantity of the benefit which is permitted under the coverage.", path: "ExplanationOfBenefit.benefitBalance.financial.allowed[x]" }, - "allowedExplanationOfBenefitString": { - name: "allowedExplanationOfBenefitString", - dataType: string, + + "allowedUnsignedInt": { + name: "allowedUnsignedInt", + dataType: r4:unsignedInt, min: 0, max: 1, isArray: false, description: "The quantity of the benefit which is permitted under the coverage.", path: "ExplanationOfBenefit.benefitBalance.financial.allowed[x]" }, + + "usedUnsignedInt": { + name: "usedUnsignedInt", + dataType: r4:unsignedInt, + min: 0, + max: 1, + isArray: false, + description: "The quantity of the benefit which have been consumed to date.", + path: "ExplanationOfBenefit.benefitBalance.financial.used[x]" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -1043,9 +1086,10 @@ public type ExplanationOfBenefitDiagnosis record {| description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "ExplanationOfBenefit.benefitBalance.financial.modifierExtension" }, - "usedExplanationOfBenefitUnsignedInt": { - name: "usedExplanationOfBenefitUnsignedInt", - dataType: r4:unsignedInt, + + "usedMoney": { + name: "usedMoney", + dataType: r4:Money, min: 0, max: 1, isArray: false, @@ -1061,15 +1105,7 @@ public type ExplanationOfBenefitDiagnosis record {| description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "ExplanationOfBenefit.benefitBalance.financial.id" }, - "usedExplanationOfBenefitMoney": { - name: "usedExplanationOfBenefitMoney", - dataType: r4:Money, - min: 0, - max: 1, - isArray: false, - description: "The quantity of the benefit which have been consumed to date.", - path: "ExplanationOfBenefit.benefitBalance.financial.used[x]" - }, + "type": { name: "type", dataType: r4:CodeableConcept, @@ -1088,19 +1124,20 @@ public type ExplanationOfBenefitDiagnosis record {| public type ExplanationOfBenefitBenefitBalanceFinancial record {| *r4:BackboneElement; - r4:Money allowedExplanationOfBenefitMoney?; + r4:Money allowedMoney?; r4:Extension[] extension?; - r4:unsignedInt allowedExplanationOfBenefitUnsignedInt?; - string allowedExplanationOfBenefitString?; + string allowedString?; + r4:unsignedInt allowedUnsignedInt?; + r4:unsignedInt usedUnsignedInt?; r4:Extension[] modifierExtension?; - r4:unsignedInt usedExplanationOfBenefitUnsignedInt?; + r4:Money usedMoney?; string id?; - r4:Money usedExplanationOfBenefitMoney?; r4:CodeableConcept 'type; |}; # FHIR ExplanationOfBenefitAddItemDetail datatype record. # +# + adjudication - The adjudication results. # + unitPrice - If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + quantity - The number of repetitions of a service or product. @@ -1116,6 +1153,16 @@ public type ExplanationOfBenefitBenefitBalanceFinancial record {| name: "ExplanationOfBenefitAddItemDetail", baseType: (), elements: { + "adjudication": { + name: "adjudication", + dataType: ExplanationOfBenefitItemAdjudication, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The adjudication results.", + path: "ExplanationOfBenefit.addItem.detail.adjudication" + }, + "unitPrice": { name: "unitPrice", dataType: r4:Money, @@ -1224,6 +1271,7 @@ public type ExplanationOfBenefitBenefitBalanceFinancial record {| public type ExplanationOfBenefitAddItemDetail record {| *r4:BackboneElement; + ExplanationOfBenefitItemAdjudication[] adjudication?; r4:Money unitPrice?; r4:Extension[] extension?; r4:Quantity quantity?; @@ -1321,6 +1369,7 @@ public type ExplanationOfBenefitPayee record {| # + productOrService - When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item. # + noteNumber - The numbers associated with notes below which apply to the adjudication of this item. # + servicedPeriod - The date or dates when the service or product was supplied, performed or completed. +# + adjudication - The adjudication results. # + subDetailSequence - The sequence number of the sub-details woithin the details within the claim item which this line is intended to replace. # + itemSequence - Claim items which this service line is intended to replace. # + bodySite - Physical service site on the patient (limb, tooth, etc.). @@ -1428,6 +1477,17 @@ public type ExplanationOfBenefitPayee record {| description: "The date or dates when the service or product was supplied, performed or completed.", path: "ExplanationOfBenefit.addItem.serviced[x]" }, + + "adjudication": { + name: "adjudication", + dataType: ExplanationOfBenefitItemAdjudication, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The adjudication results.", + path: "ExplanationOfBenefit.addItem.adjudication" + }, + "subDetailSequence": { name: "subDetailSequence", dataType: r4:positiveInt, @@ -1564,6 +1624,7 @@ public type ExplanationOfBenefitAddItem record {| r4:CodeableConcept productOrService; r4:positiveInt[] noteNumber?; r4:Period servicedPeriod?; + ExplanationOfBenefitItemAdjudication[] adjudication?; r4:positiveInt[] subDetailSequence?; r4:positiveInt[] itemSequence?; r4:CodeableConcept bodySite?; @@ -1695,9 +1756,9 @@ public type ExplanationOfBenefitProcedure record {| r4:dateTime date?; r4:positiveInt sequence; r4:Extension[] extension?; - r4:CodeableConcept procedureCodeableConcept; + r4:CodeableConcept procedureCodeableConcept?; r4:Extension[] modifierExtension?; - r4:Reference procedureReference; + r4:Reference procedureReference?; string id?; r4:Reference[] udi?; r4:CodeableConcept[] 'type?; @@ -2498,6 +2559,7 @@ public type ExplanationOfBenefitItemAdjudication record {| # FHIR ExplanationOfBenefitAddItemDetailSubDetail datatype record. # +# + adjudication - The adjudication results. # + unitPrice - If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + quantity - The number of repetitions of a service or product. @@ -2512,6 +2574,16 @@ public type ExplanationOfBenefitItemAdjudication record {| name: "ExplanationOfBenefitAddItemDetailSubDetail", baseType: (), elements: { + "adjudication": { + name: "adjudication", + dataType: ExplanationOfBenefitItemAdjudication, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The adjudication results.", + path: "ExplanationOfBenefit.addItem.detail.subDetail.adjudication" + }, + "unitPrice": { name: "unitPrice", dataType: r4:Money, @@ -2611,6 +2683,7 @@ public type ExplanationOfBenefitItemAdjudication record {| public type ExplanationOfBenefitAddItemDetailSubDetail record {| *r4:BackboneElement; + ExplanationOfBenefitItemAdjudication[] adjudication?; r4:Money unitPrice?; r4:Extension[] extension?; r4:Quantity quantity?; @@ -2727,6 +2800,7 @@ public type ExplanationOfBenefitProcessNote record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + productOrService - When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item. # + noteNumber - The numbers associated with notes below which apply to the adjudication of this item. +# + adjudication - The adjudication results. # + sequence - A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items. # + revenue - The type of revenue or cost center providing the product and/or service. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @@ -2810,6 +2884,17 @@ public type ExplanationOfBenefitProcessNote record {| description: "The numbers associated with notes below which apply to the adjudication of this item.", path: "ExplanationOfBenefit.item.detail.subDetail.noteNumber" }, + + "adjudication": { + name: "adjudication", + dataType: ExplanationOfBenefitItemAdjudication, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The adjudication results.", + path: "ExplanationOfBenefit.item.detail.subDetail.adjudication" + }, + "sequence": { name: "sequence", dataType: r4:positiveInt, @@ -2890,6 +2975,7 @@ public type ExplanationOfBenefitItemDetailSubDetail record {| r4:Extension[] modifierExtension?; r4:CodeableConcept productOrService; r4:positiveInt[] noteNumber?; + ExplanationOfBenefitItemAdjudication[] adjudication?; r4:positiveInt sequence; r4:CodeableConcept revenue?; string id?; diff --git a/international401/resource_family_member_history.bal b/international401/resource_family_member_history.bal index 12103084..7921051c 100644 --- a/international401/resource_family_member_history.bal +++ b/international401/resource_family_member_history.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_FAMILYMEMBERHISTORY = "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"; public const RESOURCE_NAME_FAMILYMEMBERHISTORY = "FamilyMemberHistory"; +public type FamilyMemberHistoryExtensions (EventBasedOn|r4:Extension|FamilyMemberHistoryGeneticsObservation|FamilyMemberHistoryGeneticsParent|FamilyMemberHistoryGeneticsSibling|FamilymemberhistoryPatientRecord|FamilymemberhistoryType|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowGeneratedFrom|WorkflowResearchStudy|WorkflowTriggeredBy); + # FHIR FamilyMemberHistory resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_family_member_history_for_genetics_analysis.bal b/international401/resource_familymemberhistoryforgeneticsanalysis.bal similarity index 87% rename from international401/resource_family_member_history_for_genetics_analysis.bal rename to international401/resource_familymemberhistoryforgeneticsanalysis.bal index 835bdf9d..7b87b55c 100644 --- a/international401/resource_family_member_history_for_genetics_analysis.bal +++ b/international401/resource_familymemberhistoryforgeneticsanalysis.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -13,35 +13,25 @@ // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. - +// // AUTO-GENERATED FILE. // This file is auto-generated by Ballerina. +import ballerina/constraint; import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic"; -public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "FamilyMemberHistory"; +public const string PROFILE_BASE_FAMILYMEMBERHISTORYFORGENETICSANALYSIS = "http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic"; +public const RESOURCE_NAME_FAMILYMEMBERHISTORYFORGENETICSANALYSIS = "FamilyMemberHistory"; + +public type FamilymemberhistoryforgeneticsanalysisExtensions (EventBasedOn|r4:Extension|FamilyMemberHistoryGeneticsObservation|FamilyMemberHistoryGeneticsParent|FamilyMemberHistoryGeneticsSibling|FamilymemberhistoryPatientRecord|FamilymemberhistoryType|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowGeneratedFrom|WorkflowResearchStudy|WorkflowTriggeredBy); -# FHIR Family_member_history_for_genetics_analysis resource record. +# FHIR Familymemberhistoryforgeneticsanalysis resource record. # # + resourceType - The type of the resource describes # + date - The date (and possibly time) when the family member history was recorded or last updated. # + dataAbsentReason - Describes why the family member's history is not available. # + note - This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible. # + extension - An Extension -# * extension Slicings -# 1) Extension: Mother(s) & Father(s) - genetic & other -# - min = 0 -# - max = * -# -# 2) Extension: natural brother(s) & natural sister(s) - genetic & other -# - min = 0 -# - max = * -# -# 3) Extension: Genetic markers, ethnicity, etc. -# - min = 0 -# - max = * -# # + AgeRange - The age of the relative at the time the family member history is recorded. # + modifierExtension - 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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + reasonReference - Indicates a Condition, Observation, AllergyIntolerance, or QuestionnaireResponse that justifies this family member history event. @@ -69,12 +59,13 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family # + BornAgeString - The actual or approximate date of birth of the relative. # + BornAgePeriod - The actual or approximate date of birth of the relative. # + status - A code specifying the status of the record of the family history of a specific family member. + @r4:ResourceDefinition { resourceType: "FamilyMemberHistory", baseType: r4:DomainResource, profile: "http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic", elements: { - "date" : { + "date": { name: "date", dataType: r4:dateTime, min: 0, @@ -82,7 +73,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.date" }, - "dataAbsentReason" : { + + "dataAbsentReason": { name: "dataAbsentReason", dataType: r4:CodeableConcept, min: 0, @@ -91,7 +83,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family path: "FamilyMemberHistory.dataAbsentReason", valueSet: "http://hl7.org/fhir/ValueSet/history-absent-reason" }, - "note" : { + + "note": { name: "note", dataType: r4:Annotation, min: 0, @@ -99,7 +92,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: true, path: "FamilyMemberHistory.note" }, - "extension" : { + + "extension": { name: "extension", dataType: r4:Extension, min: 0, @@ -107,7 +101,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: true, path: "FamilyMemberHistory.extension" }, - "AgeRange" : { + + "AgeRange": { name: "AgeRange", dataType: r4:Range, min: 0, @@ -115,7 +110,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.age[x]" }, - "modifierExtension" : { + + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, min: 0, @@ -123,7 +119,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: true, path: "FamilyMemberHistory.modifierExtension" }, - "reasonReference" : { + + "reasonReference": { name: "reasonReference", dataType: r4:Reference, min: 0, @@ -131,7 +128,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: true, path: "FamilyMemberHistory.reasonReference" }, - "language" : { + + "language": { name: "language", dataType: r4:code, min: 0, @@ -140,7 +138,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family path: "FamilyMemberHistory.language", valueSet: "http://hl7.org/fhir/ValueSet/languages" }, - "instantiatesUri" : { + + "instantiatesUri": { name: "instantiatesUri", dataType: r4:uri, min: 0, @@ -148,7 +147,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: true, path: "FamilyMemberHistory.instantiatesUri" }, - "DeceasedAgeString" : { + + "DeceasedAgeString": { name: "DeceasedAgeString", dataType: string, min: 0, @@ -156,7 +156,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.deceased[x]" }, - "DeceasedAgeAge" : { + + "DeceasedAgeAge": { name: "DeceasedAgeAge", dataType: r4:Age, min: 0, @@ -164,7 +165,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.deceased[x]" }, - "DeceasedAgeRange" : { + + "DeceasedAgeRange": { name: "DeceasedAgeRange", dataType: r4:Range, min: 0, @@ -172,7 +174,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.deceased[x]" }, - "BornAgeDate" : { + + "BornAgeDate": { name: "BornAgeDate", dataType: r4:date, min: 0, @@ -180,7 +183,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.born[x]" }, - "DeceasedAgeDate" : { + + "DeceasedAgeDate": { name: "DeceasedAgeDate", dataType: r4:date, min: 0, @@ -188,7 +192,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.deceased[x]" }, - "estimatedAge" : { + + "estimatedAge": { name: "estimatedAge", dataType: boolean, min: 0, @@ -196,7 +201,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.estimatedAge" }, - "patient" : { + + "patient": { name: "patient", dataType: r4:Reference, min: 1, @@ -204,7 +210,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.patient" }, - "AgeString" : { + + "AgeString": { name: "AgeString", dataType: string, min: 0, @@ -212,7 +219,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.age[x]" }, - "id" : { + + "id": { name: "id", dataType: string, min: 0, @@ -220,7 +228,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.id" }, - "reasonCode" : { + + "reasonCode": { name: "reasonCode", dataType: r4:CodeableConcept, min: 0, @@ -229,7 +238,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family path: "FamilyMemberHistory.reasonCode", valueSet: "http://hl7.org/fhir/ValueSet/clinical-findings" }, - "text" : { + + "text": { name: "text", dataType: r4:Narrative, min: 0, @@ -237,7 +247,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.text" }, - "identifier" : { + + "identifier": { name: "identifier", dataType: r4:Identifier, min: 0, @@ -245,7 +256,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: true, path: "FamilyMemberHistory.identifier" }, - "AgeAge" : { + + "AgeAge": { name: "AgeAge", dataType: r4:Age, min: 0, @@ -253,7 +265,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.age[x]" }, - "instantiatesCanonical" : { + + "instantiatesCanonical": { name: "instantiatesCanonical", dataType: r4:canonical, min: 0, @@ -261,7 +274,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: true, path: "FamilyMemberHistory.instantiatesCanonical" }, - "contained" : { + + "contained": { name: "contained", dataType: r4:Resource, min: 0, @@ -269,7 +283,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: true, path: "FamilyMemberHistory.contained" }, - "DeceasedAgeBoolean" : { + + "DeceasedAgeBoolean": { name: "DeceasedAgeBoolean", dataType: boolean, min: 0, @@ -277,7 +292,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.deceased[x]" }, - "meta" : { + + "meta": { name: "meta", dataType: r4:Meta, min: 0, @@ -285,7 +301,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.meta" }, - "name" : { + + "name": { name: "name", dataType: string, min: 0, @@ -293,7 +310,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.name" }, - "implicitRules" : { + + "implicitRules": { name: "implicitRules", dataType: r4:uri, min: 0, @@ -301,7 +319,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.implicitRules" }, - "BornAgeString" : { + + "BornAgeString": { name: "BornAgeString", dataType: string, min: 0, @@ -309,7 +328,8 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.born[x]" }, - "BornAgePeriod" : { + + "BornAgePeriod": { name: "BornAgePeriod", dataType: r4:Period, min: 0, @@ -317,25 +337,29 @@ public const RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS = "Family isArray: false, path: "FamilyMemberHistory.born[x]" }, - "status" : { + + "status": { name: "status", - dataType: Family_member_history_for_genetics_analysisStatus, + dataType: FamilymemberhistoryforgeneticsanalysisStatus, min: 1, max: 1, isArray: false, path: "FamilyMemberHistory.status", valueSet: "http://hl7.org/fhir/ValueSet/history-status|4.0.1" } + }, + serializers: { 'xml: r4:fhirResourceXMLSerializer, 'json: r4:fhirResourceJsonSerializer } } -public type Family_member_history_for_genetics_analysis record {| + +public type Familymemberhistoryforgeneticsanalysis record {| *r4:DomainResource; - RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS resourceType = RESOURCE_NAME_FAMILY_MEMBER_HISTORY_FOR_GENETICS_ANALYSIS; + RESOURCE_NAME_FAMILYMEMBERHISTORYFORGENETICSANALYSIS resourceType = RESOURCE_NAME_FAMILYMEMBERHISTORYFORGENETICSANALYSIS; r4:dateTime date?; r4:CodeableConcept dataAbsentReason?; @@ -367,28 +391,59 @@ public type Family_member_history_for_genetics_analysis record {| r4:uri implicitRules?; string BornAgeString?; r4:Period BornAgePeriod?; - Family_member_history_for_genetics_analysisStatus status; - r4:Element ...; + FamilymemberhistoryforgeneticsanalysisStatus status; + r4:Element...; |}; -# FHIR Family_member_history_for_genetics_analysisRelationshipRelationship datatype record. +# FamilymemberhistoryforgeneticsanalysisStatus enum +public enum FamilymemberhistoryforgeneticsanalysisStatus { + CODE_STATUS_COMPLETED = "completed", + CODE_STATUS_ENTERED_IN_ERROR = "entered-in-error", + CODE_STATUS_HEALTH_UNKNOWN = "health-unknown", + CODE_STATUS_PARTIAL = "partial" +} + +# FHIR FamilymemberhistoryforgeneticsanalysisSexSex datatype record. # + @r4:DataTypeDefinition { - name: "Family_member_history_for_genetics_analysisRelationshipRelationship", + name: "FamilymemberhistoryforgeneticsanalysisSexSex", baseType: (), elements: { }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type Family_member_history_for_genetics_analysisRelationshipRelationship record {| + +public type FamilymemberhistoryforgeneticsanalysisSexSex record {| *r4:CodeableConcept; |}; -# FHIR Family_member_history_for_genetics_analysisConditionCondition datatype record. +# FHIR FamilymemberhistoryforgeneticsanalysisRelationshipRelationship datatype record. +# + +@r4:DataTypeDefinition { + name: "FamilymemberhistoryforgeneticsanalysisRelationshipRelationship", + baseType: (), + elements: { + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type FamilymemberhistoryforgeneticsanalysisRelationshipRelationship record {| + *r4:CodeableConcept; + +|}; + +# FHIR FamilymemberhistoryforgeneticsanalysisConditionCondition datatype record. # # + contributedToDeath - This condition contributed to the cause of death of the related person. If contributedToDeath is not populated, then it is unknown. # + note - An area where general notes can be placed about this specific condition. @@ -401,8 +456,9 @@ public type Family_member_history_for_genetics_analysisRelationshipRelationship # + onsetString - Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence. # + onsetAge - Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence. # + outcome - Indicates what happened following the condition. If the condition resulted in death, deceased date is captured on the relation. + @r4:DataTypeDefinition { - name: "Family_member_history_for_genetics_analysisConditionCondition", + name: "FamilymemberhistoryforgeneticsanalysisConditionCondition", baseType: (), elements: { "contributedToDeath": { @@ -414,15 +470,17 @@ public type Family_member_history_for_genetics_analysisRelationshipRelationship description: "This condition contributed to the cause of death of the related person. If contributedToDeath is not populated, then it is unknown.", path: "FamilyMemberHistory.condition.contributedToDeath" }, + "note": { name: "note", dataType: r4:Annotation, min: 0, max: 1, - isArray: false, + isArray: true, description: "An area where general notes can be placed about this specific condition.", path: "FamilyMemberHistory.condition.note" }, + "extension": { name: "extension", dataType: r4:Extension, @@ -432,6 +490,7 @@ public type Family_member_history_for_genetics_analysisRelationshipRelationship description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "FamilyMemberHistory.condition.extension" }, + "code": { name: "code", dataType: r4:CodeableConcept, @@ -441,6 +500,7 @@ public type Family_member_history_for_genetics_analysisRelationshipRelationship description: "The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system.", path: "FamilyMemberHistory.condition.code" }, + "onsetPeriod": { name: "onsetPeriod", dataType: r4:Period, @@ -450,6 +510,7 @@ public type Family_member_history_for_genetics_analysisRelationshipRelationship description: "Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence.", path: "FamilyMemberHistory.condition.onset[x]" }, + "onsetRange": { name: "onsetRange", dataType: r4:Range, @@ -459,6 +520,7 @@ public type Family_member_history_for_genetics_analysisRelationshipRelationship description: "Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence.", path: "FamilyMemberHistory.condition.onset[x]" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -468,6 +530,7 @@ public type Family_member_history_for_genetics_analysisRelationshipRelationship description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "FamilyMemberHistory.condition.modifierExtension" }, + "id": { name: "id", dataType: string, @@ -477,6 +540,7 @@ public type Family_member_history_for_genetics_analysisRelationshipRelationship description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "FamilyMemberHistory.condition.id" }, + "onsetString": { name: "onsetString", dataType: string, @@ -486,6 +550,7 @@ public type Family_member_history_for_genetics_analysisRelationshipRelationship description: "Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence.", path: "FamilyMemberHistory.condition.onset[x]" }, + "onsetAge": { name: "onsetAge", dataType: r4:Age, @@ -495,6 +560,7 @@ public type Family_member_history_for_genetics_analysisRelationshipRelationship description: "Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence.", path: "FamilyMemberHistory.condition.onset[x]" }, + "outcome": { name: "outcome", dataType: r4:CodeableConcept, @@ -505,16 +571,24 @@ public type Family_member_history_for_genetics_analysisRelationshipRelationship path: "FamilyMemberHistory.condition.outcome" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type Family_member_history_for_genetics_analysisConditionCondition record {| + +public type FamilymemberhistoryforgeneticsanalysisConditionCondition record {| *r4:BackboneElement; boolean contributedToDeath?; - r4:Annotation note?; + @constraint:Array { + maxLength: { + value: 1, + message: "Validation failed for $.FamilyMemberHistory.condition.note constraint. This field must be an array containing at most one item." + } + } + r4:Annotation[] note?; r4:Extension[] extension?; r4:CodeableConcept code; r4:Period onsetPeriod?; @@ -526,28 +600,3 @@ public type Family_member_history_for_genetics_analysisConditionCondition record r4:CodeableConcept outcome?; |}; -# FHIR Family_member_history_for_genetics_analysisSexSex datatype record. -# -@r4:DataTypeDefinition { - name: "Family_member_history_for_genetics_analysisSexSex", - baseType: (), - elements: { - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Family_member_history_for_genetics_analysisSexSex record {| - *r4:CodeableConcept; - -|}; - -# Family_member_history_for_genetics_analysisStatus enum -public enum Family_member_history_for_genetics_analysisStatus { - CODE_STATUS_COMPLETED = "completed", - CODE_STATUS_ENTERED_IN_ERROR = "entered-in-error", - CODE_STATUS_HEALTH_UNKNOWN = "health-unknown", - CODE_STATUS_PARTIAL = "partial" -} - diff --git a/international401/resource_flag.bal b/international401/resource_flag.bal index 0c1f8f07..f8d34565 100644 --- a/international401/resource_flag.bal +++ b/international401/resource_flag.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_FLAG = "http://hl7.org/fhir/StructureDefinition/Flag"; public const RESOURCE_NAME_FLAG = "Flag"; +public type FlagExtensions (r4:Extension|FlagDetail|FlagPriority|WorkflowEpisodeOfCare|WorkflowReason); + # FHIR Flag resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_goal.bal b/international401/resource_goal.bal index 54832813..ed523823 100644 --- a/international401/resource_goal.bal +++ b/international401/resource_goal.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_GOAL = "http://hl7.org/fhir/StructureDefinition/Goal"; public const RESOURCE_NAME_GOAL = "Goal"; +public type GoalExtensions (r4:Extension|GoalAcceptance|GoalReasonRejected|GoalRelationship|WorkflowBarrier|WorkflowEpisodeOfCare|WorkflowProtectiveFactor|WorkflowReleaseDate); + # FHIR Goal resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_graph_definition.bal b/international401/resource_graph_definition.bal index d4958ca4..5eb71746 100644 --- a/international401/resource_graph_definition.bal +++ b/international401/resource_graph_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_GRAPHDEFINITION = "http://hl7.org/fhir/StructureDefinition/GraphDefinition"; public const RESOURCE_NAME_GRAPHDEFINITION = "GraphDefinition"; +public type GraphDefinitionExtensions (r4:Extension|Replaces); + # FHIR GraphDefinition resource record. # # + resourceType - The type of the resource describes @@ -284,6 +286,7 @@ public type GraphDefinition record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + profile - Profile for the target resource. # + compartment - Compartment Consistency Rules. +# + link - Additional links from target resource. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + params - A set of parameters to look up. # + 'type - Type of resource this link refers to. @@ -327,6 +330,17 @@ public type GraphDefinition record {| description: "Compartment Consistency Rules.", path: "GraphDefinition.link.target.compartment" }, + + "link": { + name: "link", + dataType: GraphDefinitionLink, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Additional links from target resource.", + path: "GraphDefinition.link.target.link" + }, + "id": { name: "id", dataType: string, @@ -367,6 +381,7 @@ public type GraphDefinitionLinkTarget record {| r4:Extension[] modifierExtension?; r4:canonical profile?; GraphDefinitionLinkTargetCompartment[] compartment?; + GraphDefinitionLink[] link?; string id?; string params?; r4:code 'type; diff --git a/international401/resource_group.bal b/international401/resource_group.bal index 9ad58444..2a56bf3b 100644 --- a/international401/resource_group.bal +++ b/international401/resource_group.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_GROUP = "http://hl7.org/fhir/StructureDefinition/Group"; public const RESOURCE_NAME_GROUP = "Group"; +public type GroupExtensions (ArtifactEditor|ArtifactEndorser|ArtifactReviewer|CharacteristicExpression|CqfInputParameters|CqfTestArtifact|r4:Extension|ResourceApprovalDate|ResourceEffectivePeriod|ResourceLastReviewDate); + # FHIR Group resource record. # # + resourceType - The type of the resource describes @@ -444,16 +446,16 @@ public enum GroupType { public type GroupCharacteristic record {| *r4:BackboneElement; - r4:CodeableConcept valueCodeableConcept; - boolean valueBoolean; + r4:CodeableConcept valueCodeableConcept?; + boolean valueBoolean?; r4:Extension[] extension?; r4:Period period?; r4:CodeableConcept code; - r4:Reference valueReference; - r4:Range valueRange; + r4:Reference valueReference?; + r4:Range valueRange?; r4:Extension[] modifierExtension?; boolean exclude; string id?; - r4:Quantity valueQuantity; + r4:Quantity valueQuantity?; |}; diff --git a/international401/resource_group_definition.bal b/international401/resource_group_definition.bal index d0dd0db1..77ce1b69 100644 --- a/international401/resource_group_definition.bal +++ b/international401/resource_group_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -19,10 +19,12 @@ import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_GROUP_DEFINITION = "http://hl7.org/fhir/StructureDefinition/groupdefinition"; -public const RESOURCE_NAME_GROUP_DEFINITION = "Group"; +public const string PROFILE_BASE_GROUPDEFINITION = "http://hl7.org/fhir/StructureDefinition/groupdefinition"; +public const RESOURCE_NAME_GROUPDEFINITION = "Group"; -# FHIR Group_Definition resource record. +public type GroupDefinitionExtensions (ArtifactEditor|ArtifactEndorser|ArtifactReviewer|CharacteristicExpression|CqfInputParameters|CqfTestArtifact|r4:Extension|ResourceApprovalDate|ResourceEffectivePeriod|ResourceLastReviewDate); + +# FHIR GroupDefinition resource record. # # + resourceType - The type of the resource describes # + actual - If true, indicates that the resource refers to a specific group of real individuals. If false, the group defines a set of intended individuals. @@ -115,7 +117,7 @@ public const RESOURCE_NAME_GROUP_DEFINITION = "Group"; }, "type" : { name: "type", - dataType: Group_DefinitionType, + dataType: GroupDefinitionType, min: 1, max: 1, isArray: false, @@ -124,7 +126,7 @@ public const RESOURCE_NAME_GROUP_DEFINITION = "Group"; }, "characteristic" : { name: "characteristic", - dataType: Group_DefinitionCharacteristic, + dataType: GroupDefinitionCharacteristic, min: 0, max: int:MAX_VALUE, isArray: true, @@ -156,10 +158,10 @@ public const RESOURCE_NAME_GROUP_DEFINITION = "Group"; }, "member" : { name: "member", - dataType: Group_DefinitionMember, + dataType: GroupDefinitionMember, min: 0, max: 0, - isArray: false, + isArray: true, path: "Group.member" }, "name" : { @@ -200,10 +202,11 @@ public const RESOURCE_NAME_GROUP_DEFINITION = "Group"; 'json: r4:fhirResourceJsonSerializer } } -public type Group_Definition record {| + +public type GroupDefinition record {| *r4:DomainResource; - RESOURCE_NAME_GROUP_DEFINITION resourceType = RESOURCE_NAME_GROUP_DEFINITION; + RESOURCE_NAME_GROUPDEFINITION resourceType = RESOURCE_NAME_GROUPDEFINITION; boolean actual; r4:Identifier[] identifier?; @@ -213,12 +216,12 @@ public type Group_Definition record {| r4:Extension[] modifierExtension?; boolean active?; r4:code language?; - Group_DefinitionType 'type; - Group_DefinitionCharacteristic[] characteristic?; + GroupDefinitionType 'type; + GroupDefinitionCharacteristic[] characteristic?; r4:Reference managingEntity?; r4:Resource[] contained?; r4:Meta meta?; - Group_DefinitionMember member?; + GroupDefinitionMember[] member?; string name?; r4:uri implicitRules?; string id?; @@ -226,7 +229,17 @@ public type Group_Definition record {| r4:Element ...; |}; -# FHIR Group_DefinitionCharacteristic datatype record. +# GroupDefinitionType enum +public enum GroupDefinitionType { + CODE_TYPE_PRACTITIONER = "practitioner", + CODE_TYPE_PERSON = "person", + CODE_TYPE_SUBSTANCE = "substance", + CODE_TYPE_ANIMAL = "animal", + CODE_TYPE_MEDICATION = "medication", + CODE_TYPE_DEVICE = "device" +} + +# FHIR GroupDefinitionCharacteristic datatype record. # # + valueCodeableConcept - The value of the trait that holds (or does not hold - see 'exclude') for members of the group. # + valueBoolean - The value of the trait that holds (or does not hold - see 'exclude') for members of the group. @@ -240,7 +253,7 @@ public type Group_Definition record {| # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + valueQuantity - The value of the trait that holds (or does not hold - see 'exclude') for members of the group. @r4:DataTypeDefinition { - name: "Group_DefinitionCharacteristic", + name: "GroupDefinitionCharacteristic", baseType: (), elements: { "valueCodeableConcept": { @@ -348,23 +361,24 @@ public type Group_Definition record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Group_DefinitionCharacteristic record {| + +public type GroupDefinitionCharacteristic record {| *r4:BackboneElement; - r4:CodeableConcept valueCodeableConcept; - boolean valueBoolean; + r4:CodeableConcept valueCodeableConcept?; + boolean valueBoolean?; r4:Extension[] extension?; r4:Period period?; r4:CodeableConcept code; - r4:Reference valueReference; - r4:Range valueRange; + r4:Reference valueReference?; + r4:Range valueRange?; r4:Extension[] modifierExtension?; boolean exclude; string id?; - r4:Quantity valueQuantity; + r4:Quantity valueQuantity?; |}; -# FHIR Group_DefinitionMember datatype record. +# FHIR GroupDefinitionMember datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + period - The period that the member was in the group, if known. @@ -373,7 +387,7 @@ public type Group_DefinitionCharacteristic record {| # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + entity - A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same. @r4:DataTypeDefinition { - name: "Group_DefinitionMember", + name: "GroupDefinitionMember", baseType: (), elements: { "extension": { @@ -436,7 +450,8 @@ public type Group_DefinitionCharacteristic record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Group_DefinitionMember record {| + +public type GroupDefinitionMember record {| *r4:BackboneElement; r4:Extension[] extension?; @@ -447,13 +462,3 @@ public type Group_DefinitionMember record {| r4:Reference entity; |}; -# Group_DefinitionType enum -public enum Group_DefinitionType { - CODE_TYPE_PRACTITIONER = "practitioner", - CODE_TYPE_PERSON = "person", - CODE_TYPE_SUBSTANCE = "substance", - CODE_TYPE_ANIMAL = "animal", - CODE_TYPE_MEDICATION = "medication", - CODE_TYPE_DEVICE = "device" -} - diff --git a/international401/resource_guidance_response.bal b/international401/resource_guidance_response.bal index f14ff346..286a1ffe 100644 --- a/international401/resource_guidance_response.bal +++ b/international401/resource_guidance_response.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_GUIDANCERESPONSE = "http://hl7.org/fhir/StructureDefinition/GuidanceResponse"; public const RESOURCE_NAME_GUIDANCERESPONSE = "GuidanceResponse"; +public type GuidanceResponseExtensions (CqfInputParameters|r4:Extension); + # FHIR GuidanceResponse resource record. # # + resourceType - The type of the resource describes @@ -276,16 +278,16 @@ public type GuidanceResponse record {| r4:code language?; r4:Reference result?; r4:Reference[] evaluationMessage?; - r4:canonical moduleCanonical; + r4:canonical moduleCanonical?; string id?; r4:CodeableConcept[] reasonCode?; r4:Narrative text?; - r4:uri moduleUri; + r4:uri moduleUri?; r4:Reference outputParameters?; r4:Identifier[] identifier?; r4:Reference performer?; r4:Reference encounter?; - r4:CodeableConcept moduleCodeableConcept; + r4:CodeableConcept moduleCodeableConcept?; r4:Resource[] contained?; r4:Meta meta?; r4:DataRequirement[] dataRequirement?; diff --git a/international401/resource_imaging_study.bal b/international401/resource_imaging_study.bal index 18430870..3b93e94b 100644 --- a/international401/resource_imaging_study.bal +++ b/international401/resource_imaging_study.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_IMAGINGSTUDY = "http://hl7.org/fhir/StructureDefinition/ImagingStudy"; public const RESOURCE_NAME_IMAGINGSTUDY = "ImagingStudy"; +public type ImagingStudyExtensions (r4:Extension|WorkflowEpisodeOfCare); + # FHIR ImagingStudy resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_immunization.bal b/international401/resource_immunization.bal index 7624f435..41b1e6b7 100644 --- a/international401/resource_immunization.bal +++ b/international401/resource_immunization.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_IMMUNIZATION = "http://hl7.org/fhir/StructureDefinition/Immunization"; public const RESOURCE_NAME_IMMUNIZATION = "Immunization"; +public type ImmunizationExtensions (r4:Extension|ImmunizationProcedure|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowResearchStudy|WorkflowTriggeredBy); + # FHIR Immunization resource record. # # + resourceType - The type of the resource describes @@ -418,8 +420,8 @@ public type Immunization record {| r4:uri implicitRules?; r4:CodeableConcept reportOrigin?; r4:Reference location?; - r4:dateTime occurrenceDateTime; - string occurrenceString; + r4:dateTime occurrenceDateTime?; + string occurrenceString?; r4:CodeableConcept fundingSource?; ImmunizationStatus status; r4:Element ...; @@ -796,12 +798,12 @@ public type ImmunizationReaction record {| public type ImmunizationProtocolApplied record {| *r4:BackboneElement; - string doseNumberString; + string doseNumberString?; r4:Extension[] extension?; r4:positiveInt seriesDosesPositiveInt?; string series?; r4:Reference authority?; - r4:positiveInt doseNumberPositiveInt; + r4:positiveInt doseNumberPositiveInt?; r4:Extension[] modifierExtension?; r4:CodeableConcept[] targetDisease?; string seriesDosesString?; diff --git a/international401/resource_immunization_evaluation.bal b/international401/resource_immunization_evaluation.bal index 3ee3ba30..c2fbaa07 100644 --- a/international401/resource_immunization_evaluation.bal +++ b/international401/resource_immunization_evaluation.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_IMMUNIZATIONEVALUATION = "http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation"; public const RESOURCE_NAME_IMMUNIZATIONEVALUATION = "ImmunizationEvaluation"; +public type ImmunizationEvaluationExtensions (EventBasedOn|r4:Extension|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowGeneratedFrom); + # FHIR ImmunizationEvaluation resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_immunization_recommendation.bal b/international401/resource_immunization_recommendation.bal index 7ab01e00..fc1503b5 100644 --- a/international401/resource_immunization_recommendation.bal +++ b/international401/resource_immunization_recommendation.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_IMMUNIZATIONRECOMMENDATION = "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation"; public const RESOURCE_NAME_IMMUNIZATIONRECOMMENDATION = "ImmunizationRecommendation"; +public type ImmunizationRecommendationExtensions (r4:Extension|WorkflowCompliesWith|WorkflowEpisodeOfCare|WorkflowGeneratedFrom|WorkflowShallComplyWith|WorkflowTriggeredBy); + # FHIR ImmunizationRecommendation resource record. # # + resourceType - The type of the resource describes @@ -165,7 +167,10 @@ public type ImmunizationRecommendation record {| r4:Extension[] extension?; r4:Extension[] modifierExtension?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.ImmunizationRecommendation.recommendation constraint. This field must be an array containing at least one item." + } } ImmunizationRecommendationRecommendation[] recommendation; r4:code language?; diff --git a/international401/resource_implementation_guide.bal b/international401/resource_implementation_guide.bal index b665928d..bdf7d106 100644 --- a/international401/resource_implementation_guide.bal +++ b/international401/resource_implementation_guide.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_IMPLEMENTATIONGUIDE = "http://hl7.org/fhir/StructureDefinition/ImplementationGuide"; public const RESOURCE_NAME_IMPLEMENTATIONGUIDE = "ImplementationGuide"; +public type ImplementationGuideExtensions (CqfExpansionParameters|CqfModelInfoSettings|r4:Extension|Replaces|ResourceApprovalDate|ResourceEffectivePeriod|ResourceLastReviewDate); + # FHIR ImplementationGuide resource record. # # + resourceType - The type of the resource describes @@ -311,7 +313,10 @@ public type ImplementationGuide record {| string title?; r4:ContactDetail[] contact?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.ImplementationGuide.fhirVersion constraint. This field must be an array containing at least one item." + } } r4:code[] fhirVersion; ImplementationGuideDefinition definition?; @@ -503,7 +508,14 @@ public type ImplementationGuideDefinition record {| ImplementationGuideDefinitionTemplate[] template?; r4:Extension[] extension?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.ImplementationGuide.definition.resource constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.ImplementationGuide.definition.resource constraint. This field must be an array containing at most one item." + } } ImplementationGuideDefinitionResource[] 'resource; r4:Extension[] modifierExtension?; @@ -847,7 +859,14 @@ public type ImplementationGuideManifest record {| r4:Extension[] extension?; string[] other?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.ImplementationGuide.manifest.resource constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.ImplementationGuide.manifest.resource constraint. This field must be an array containing at most one item." + } } ImplementationGuideManifestResource[] 'resource; r4:Extension[] modifierExtension?; @@ -859,12 +878,12 @@ public type ImplementationGuideManifest record {| # FHIR ImplementationGuideDefinitionResource datatype record. # # + reference - Where this resource is found. -# + exampleImplementationGuideCanonical - If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile. +# + exampleCanonical - If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + groupingId - Reference to the id of the grouping this resource appears in. # + fhirVersion - Indicates the FHIR Version(s) this artifact is intended to apply to. If no versions are specified, the resource is assumed to apply to all the versions stated in ImplementationGuide.fhirVersion. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + exampleImplementationGuideBoolean - If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile. +# + exampleBoolean - If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile. # + name - A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name). # + description - A description of the reason that a resource has been included in the implementation guide. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @@ -881,8 +900,9 @@ public type ImplementationGuideManifest record {| description: "Where this resource is found.", path: "ImplementationGuide.definition.resource.reference" }, - "exampleImplementationGuideCanonical": { - name: "exampleImplementationGuideCanonical", + + "exampleCanonical": { + name: "exampleCanonical", dataType: r4:canonical, min: 0, max: 1, @@ -926,8 +946,9 @@ public type ImplementationGuideManifest record {| description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "ImplementationGuide.definition.resource.modifierExtension" }, - "exampleImplementationGuideBoolean": { - name: "exampleImplementationGuideBoolean", + + "exampleBoolean": { + name: "exampleBoolean", dataType: boolean, min: 0, max: 1, @@ -972,12 +993,12 @@ public type ImplementationGuideDefinitionResource record {| *r4:BackboneElement; r4:Reference reference; - r4:canonical exampleImplementationGuideCanonical?; + r4:canonical exampleCanonical?; r4:Extension[] extension?; r4:id groupingId?; r4:code[] fhirVersion?; r4:Extension[] modifierExtension?; - boolean exampleImplementationGuideBoolean?; + boolean exampleBoolean?; string name?; string description?; string id?; @@ -986,11 +1007,11 @@ public type ImplementationGuideDefinitionResource record {| # FHIR ImplementationGuideManifestResource datatype record. # # + reference - Where this resource is found. -# + exampleImplementationGuideCanonical - If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile. +# + exampleCanonical - If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + relativePath - The relative path for primary page for this resource within the IG. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + exampleImplementationGuideBoolean - If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile. +# + exampleBoolean - If true or a reference, indicates the resource is an example instance. If a reference is present, indicates that the example is an example of the specified profile. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @r4:DataTypeDefinition { name: "ImplementationGuideManifestResource", @@ -1005,8 +1026,9 @@ public type ImplementationGuideDefinitionResource record {| description: "Where this resource is found.", path: "ImplementationGuide.manifest.resource.reference" }, - "exampleImplementationGuideCanonical": { - name: "exampleImplementationGuideCanonical", + + "exampleCanonical": { + name: "exampleCanonical", dataType: r4:canonical, min: 0, max: 1, @@ -1041,8 +1063,9 @@ public type ImplementationGuideDefinitionResource record {| description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "ImplementationGuide.manifest.resource.modifierExtension" }, - "exampleImplementationGuideBoolean": { - name: "exampleImplementationGuideBoolean", + + "exampleBoolean": { + name: "exampleBoolean", dataType: boolean, min: 0, max: 1, @@ -1069,11 +1092,11 @@ public type ImplementationGuideManifestResource record {| *r4:BackboneElement; r4:Reference reference; - r4:canonical exampleImplementationGuideCanonical?; + r4:canonical exampleCanonical?; r4:Extension[] extension?; r4:urlType relativePath?; r4:Extension[] modifierExtension?; - boolean exampleImplementationGuideBoolean?; + boolean exampleBoolean?; string id?; |}; @@ -1172,10 +1195,11 @@ public type ImplementationGuideDefinitionTemplate record {| # # + generation - A code that indicates how the page is generated. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + nameReference - The source address for the page. +# + nameUrl - The source address for the page. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + nameImplementationGuideReference - The source address for the page. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + nameImplementationGuideUrl - The source address for the page. +# + page - Nested Pages/Sections under this page. # + title - A short title used to represent this page in navigational structures such as table of contents, bread crumbs, etc. @r4:DataTypeDefinition { name: "ImplementationGuideDefinitionPage", @@ -1199,6 +1223,27 @@ public type ImplementationGuideDefinitionTemplate record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "ImplementationGuide.definition.page.extension" }, + + "nameReference": { + name: "nameReference", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "The source address for the page.", + path: "ImplementationGuide.definition.page.name[x]" + }, + + "nameUrl": { + name: "nameUrl", + dataType: r4:urlType, + min: 0, + max: 1, + isArray: false, + description: "The source address for the page.", + path: "ImplementationGuide.definition.page.name[x]" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -1208,15 +1253,7 @@ public type ImplementationGuideDefinitionTemplate record {| description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "ImplementationGuide.definition.page.modifierExtension" }, - "nameImplementationGuideReference": { - name: "nameImplementationGuideReference", - dataType: r4:Reference, - min: 0, - max: 1, - isArray: false, - description: "The source address for the page.", - path: "ImplementationGuide.definition.page.name[x]" - }, + "id": { name: "id", dataType: string, @@ -1226,14 +1263,15 @@ public type ImplementationGuideDefinitionTemplate record {| description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "ImplementationGuide.definition.page.id" }, - "nameImplementationGuideUrl": { - name: "nameImplementationGuideUrl", - dataType: r4:urlType, + + "page": { + name: "page", + dataType: ImplementationGuideDefinitionPage, min: 0, - max: 1, - isArray: false, - description: "The source address for the page.", - path: "ImplementationGuide.definition.page.name[x]" + max: int:MAX_VALUE, + isArray: true, + description: "Nested Pages/Sections under this page.", + path: "ImplementationGuide.definition.page.page" }, "title": { name: "title", @@ -1255,10 +1293,11 @@ public type ImplementationGuideDefinitionPage record {| ImplementationGuideDefinitionPageGeneration generation; r4:Extension[] extension?; + r4:Reference nameReference?; + r4:urlType nameUrl?; r4:Extension[] modifierExtension?; - r4:Reference nameImplementationGuideReference; string id?; - r4:urlType nameImplementationGuideUrl; + ImplementationGuideDefinitionPage[] page?; string title; |}; diff --git a/international401/resource_insurance_plan.bal b/international401/resource_insurance_plan.bal index fc35a84a..e9521974 100644 --- a/international401/resource_insurance_plan.bal +++ b/international401/resource_insurance_plan.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -1053,7 +1053,14 @@ public type InsurancePlanCoverage record {| string id?; r4:CodeableConcept 'type; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.InsurancePlan.coverage.benefit constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.InsurancePlan.coverage.benefit constraint. This field must be an array containing at most one item." + } } InsurancePlanCoverageBenefit[] benefit; r4:Reference[] network?; diff --git a/international401/resource_invoice.bal b/international401/resource_invoice.bal index ad025f4f..19459404 100644 --- a/international401/resource_invoice.bal +++ b/international401/resource_invoice.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_INVOICE = "http://hl7.org/fhir/StructureDefinition/Invoice"; public const RESOURCE_NAME_INVOICE = "Invoice"; +public type InvoiceExtensions (r4:Extension|WorkflowEpisodeOfCare); + # FHIR Invoice resource record. # # + resourceType - The type of the resource describes @@ -33,6 +35,7 @@ public const RESOURCE_NAME_INVOICE = "Invoice"; # + subject - The individual or set of individuals receiving the goods and services billed in this invoice. # + modifierExtension - 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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + language - The base language in which the resource is written. +# + totalPriceComponent - The total amount for the Invoice may be calculated as the sum of the line items with surcharges/deductions that apply in certain conditions. The priceComponent element can be used to offer transparency to the recipient of the Invoice of how the total price was calculated. # + 'type - Type of Invoice depending on domain, realm an usage (e.g. internal/external, dental, preliminary). # + issuer - The organizationissuing the Invoice. # + participant - Indicates who or what performed or participated in the charged service. @@ -118,6 +121,16 @@ public const RESOURCE_NAME_INVOICE = "Invoice"; path: "Invoice.language", valueSet: "http://hl7.org/fhir/ValueSet/languages" }, + + "totalPriceComponent": { + name: "totalPriceComponent", + dataType: InvoiceLineItemPriceComponent, + min: 0, + max: int:MAX_VALUE, + isArray: true, + path: "Invoice.totalPriceComponent" + }, + "type" : { name: "type", dataType: r4:CodeableConcept, @@ -258,6 +271,7 @@ public type Invoice record {| r4:Reference subject?; r4:Extension[] modifierExtension?; r4:code language?; + InvoiceLineItemPriceComponent[] totalPriceComponent?; r4:CodeableConcept 'type?; r4:Reference issuer?; InvoiceParticipant[] participant?; @@ -527,13 +541,13 @@ public type InvoiceLineItemPriceComponent record {| public type InvoiceLineItem record {| *r4:BackboneElement; - r4:CodeableConcept chargeItemCodeableConcept; + r4:CodeableConcept chargeItemCodeableConcept?; r4:positiveInt sequence?; r4:Extension[] extension?; r4:Extension[] modifierExtension?; string id?; InvoiceLineItemPriceComponent[] priceComponent?; - r4:Reference chargeItemReference; + r4:Reference chargeItemReference?; |}; # InvoiceLineItemPriceComponentType enum diff --git a/international401/resource_library.bal b/international401/resource_library.bal index df867dc1..497187ab 100644 --- a/international401/resource_library.bal +++ b/international401/resource_library.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_LIBRARY = "http://hl7.org/fhir/StructureDefinition/Library"; public const RESOURCE_NAME_LIBRARY = "Library"; +public type LibraryExtensions (CqfCqlOptions|CqfExpansionParameters|CqfInputParameters|CqfModelInfoSettings|CqfPartOf|CqfTestArtifact|r4:Extension|Replaces); + # FHIR Library resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_linkage.bal b/international401/resource_linkage.bal index 43d64327..3a9c5728 100644 --- a/international401/resource_linkage.bal +++ b/international401/resource_linkage.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -145,7 +145,10 @@ public type Linkage record {| r4:Resource[] contained?; r4:Extension[] extension?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Linkage.item constraint. This field must be an array containing at least one item." + } } LinkageItem[] item; r4:Reference author?; diff --git a/international401/resource_list.bal b/international401/resource_list.bal index b11e19f5..1df4e205 100644 --- a/international401/resource_list.bal +++ b/international401/resource_list.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_LIST = "http://hl7.org/fhir/StructureDefinition/List"; public const RESOURCE_NAME_LIST = "List"; +public type ListExtensions (r4:Extension|ListCategory|ListChangeBase|ListFor|WorkflowEpisodeOfCare); + # FHIR List resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_location.bal b/international401/resource_location.bal index 8364f864..330f315c 100644 --- a/international401/resource_location.bal +++ b/international401/resource_location.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_LOCATION = "http://hl7.org/fhir/StructureDefinition/Location"; public const RESOURCE_NAME_LOCATION = "Location"; +public type LocationExtensions (r4:Extension|LocationBoundaryGeojson|LocationCommunication|PatientPreferredPharmacy); + # FHIR Location resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_measure.bal b/international401/resource_measure.bal index ba085628..9b8d482f 100644 --- a/international401/resource_measure.bal +++ b/international401/resource_measure.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_MEASURE = "http://hl7.org/fhir/StructureDefinition/Measure"; public const RESOURCE_NAME_MEASURE = "Measure"; +public type MeasureExtensions (CqfImprovementNotationGuidance|CqfTargetInvariant|r4:Extension|Replaces|TargetConstraint|Variable|WorkflowShallComplyWith); + # FHIR Measure resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_measure_report.bal b/international401/resource_measure_report.bal index a3ed27c3..016b8f84 100644 --- a/international401/resource_measure_report.bal +++ b/international401/resource_measure_report.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_MEASUREREPORT = "http://hl7.org/fhir/StructureDefinition/MeasureReport"; public const RESOURCE_NAME_MEASUREREPORT = "MeasureReport"; +public type MeasureReportExtensions (CqfImprovementNotationGuidance|CqfInputParameters|r4:Extension|MeasurereportCategory|WorkflowEpisodeOfCare); + # FHIR MeasureReport resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_media.bal b/international401/resource_media.bal index 8ff32dd6..6916ba38 100644 --- a/international401/resource_media.bal +++ b/international401/resource_media.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_MEDIA = "http://hl7.org/fhir/StructureDefinition/Media"; public const RESOURCE_NAME_MEDIA = "Media"; +public type MediaExtensions (r4:Extension|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReasonCode|WorkflowReasonReference); + # FHIR Media resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_medication.bal b/international401/resource_medication.bal index e3e8daa7..21532181 100644 --- a/international401/resource_medication.bal +++ b/international401/resource_medication.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -300,10 +300,10 @@ public enum MedicationStatus { public type MedicationIngredient record {| *r4:BackboneElement; - r4:Reference itemReference; + r4:Reference itemReference?; r4:Extension[] extension?; r4:Ratio strength?; - r4:CodeableConcept itemCodeableConcept; + r4:CodeableConcept itemCodeableConcept?; r4:Extension[] modifierExtension?; string id?; boolean isActive?; diff --git a/international401/resource_medication_administration.bal b/international401/resource_medication_administration.bal index 4aedbc90..ce8af235 100644 --- a/international401/resource_medication_administration.bal +++ b/international401/resource_medication_administration.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_MEDICATIONADMINISTRATION = "http://hl7.org/fhir/StructureDefinition/MedicationAdministration"; public const RESOURCE_NAME_MEDICATIONADMINISTRATION = "MedicationAdministration"; +public type MedicationAdministrationExtensions (EventLocation|r4:Extension|WorkflowEpisodeOfCare|WorkflowReleaseDate|WorkflowResearchStudy); + # FHIR MedicationAdministration resource record. # # + resourceType - The type of the resource describes @@ -319,7 +321,7 @@ public type MedicationAdministration record {| r4:Extension[] modifierExtension?; r4:Reference[] reasonReference?; r4:code language?; - r4:Reference medicationReference; + r4:Reference medicationReference?; r4:CodeableConcept[] statusReason?; r4:Reference context?; string id?; @@ -327,11 +329,11 @@ public type MedicationAdministration record {| r4:Narrative text?; r4:Identifier[] identifier?; MedicationAdministrationPerformer[] performer?; - r4:Period effectivePeriod; + r4:Period effectivePeriod?; r4:Reference[] supportingInformation?; - r4:CodeableConcept medicationCodeableConcept; + r4:CodeableConcept medicationCodeableConcept?; r4:Resource[] contained?; - r4:dateTime effectiveDateTime; + r4:dateTime effectiveDateTime?; r4:Meta meta?; r4:Reference[] eventHistory?; r4:uri implicitRules?; diff --git a/international401/resource_medication_dispense.bal b/international401/resource_medication_dispense.bal index 5c2c1508..16f35151 100644 --- a/international401/resource_medication_dispense.bal +++ b/international401/resource_medication_dispense.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_MEDICATIONDISPENSE = "http://hl7.org/fhir/StructureDefinition/MedicationDispense"; public const RESOURCE_NAME_MEDICATIONDISPENSE = "MedicationDispense"; +public type MedicationDispenseExtensions (EventLocation|r4:Extension|MedicationdispenseQuantityRemaining|MedicationdispenseRefillsRemaining|WorkflowEpisodeOfCare|WorkflowReleaseDate|WorkflowResearchStudy); + # FHIR MedicationDispense resource record. # # + resourceType - The type of the resource describes @@ -366,7 +368,7 @@ public type MedicationDispense record {| r4:Reference statusReasonReference?; r4:CodeableConcept statusReasonCodeableConcept?; r4:CodeableConcept 'type?; - r4:Reference medicationReference; + r4:Reference medicationReference?; r4:Reference context?; string id?; r4:Narrative text?; @@ -380,7 +382,7 @@ public type MedicationDispense record {| r4:SimpleQuantity daysSupply?; r4:Reference[] supportingInformation?; r4:dateTime whenHandedOver?; - r4:CodeableConcept medicationCodeableConcept; + r4:CodeableConcept medicationCodeableConcept?; r4:Resource[] contained?; r4:Dosage[] dosageInstruction?; r4:Meta meta?; diff --git a/international401/resource_medication_knowledge.bal b/international401/resource_medication_knowledge.bal index 32da8376..c40d4771 100644 --- a/international401/resource_medication_knowledge.bal +++ b/international401/resource_medication_knowledge.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -352,27 +352,19 @@ public type MedicationKnowledge record {| # FHIR MedicationKnowledgeAdministrationGuidelinesPatientCharacteristics datatype record. # +# + characteristicQuantity - Specific characteristic that is relevant to the administration guideline (e.g. height, weight, gender). # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + characteristicMedicationKnowledgeQuantity - Specific characteristic that is relevant to the administration guideline (e.g. height, weight, gender). -# + characteristicMedicationKnowledgeCodeableConcept - Specific characteristic that is relevant to the administration guideline (e.g. height, weight, gender). # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + value - The specific characteristic (e.g. height, weight, gender, etc.). +# + characteristicCodeableConcept - Specific characteristic that is relevant to the administration guideline (e.g. height, weight, gender). + @r4:DataTypeDefinition { name: "MedicationKnowledgeAdministrationGuidelinesPatientCharacteristics", baseType: (), elements: { - "extension": { - name: "extension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "MedicationKnowledge.administrationGuidelines.patientCharacteristics.extension" - }, - "characteristicMedicationKnowledgeQuantity": { - name: "characteristicMedicationKnowledgeQuantity", + "characteristicQuantity": { + name: "characteristicQuantity", dataType: r4:Quantity, min: 0, max: 1, @@ -380,14 +372,15 @@ public type MedicationKnowledge record {| description: "Specific characteristic that is relevant to the administration guideline (e.g. height, weight, gender).", path: "MedicationKnowledge.administrationGuidelines.patientCharacteristics.characteristic[x]" }, - "characteristicMedicationKnowledgeCodeableConcept": { - name: "characteristicMedicationKnowledgeCodeableConcept", - dataType: r4:CodeableConcept, + + "extension": { + name: "extension", + dataType: r4:Extension, min: 0, - max: 1, - isArray: false, - description: "Specific characteristic that is relevant to the administration guideline (e.g. height, weight, gender).", - path: "MedicationKnowledge.administrationGuidelines.patientCharacteristics.characteristic[x]" + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "MedicationKnowledge.administrationGuidelines.patientCharacteristics.extension" }, "modifierExtension": { name: "modifierExtension", @@ -415,6 +408,16 @@ public type MedicationKnowledge record {| isArray: true, description: "The specific characteristic (e.g. height, weight, gender, etc.).", path: "MedicationKnowledge.administrationGuidelines.patientCharacteristics.value" + }, + + "characteristicCodeableConcept": { + name: "characteristicCodeableConcept", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "Specific characteristic that is relevant to the administration guideline (e.g. height, weight, gender).", + path: "MedicationKnowledge.administrationGuidelines.patientCharacteristics.characteristic[x]" } }, serializers: { @@ -425,12 +428,12 @@ public type MedicationKnowledge record {| public type MedicationKnowledgeAdministrationGuidelinesPatientCharacteristics record {| *r4:BackboneElement; + r4:Quantity characteristicQuantity?; r4:Extension[] extension?; - r4:Quantity characteristicMedicationKnowledgeQuantity; - r4:CodeableConcept characteristicMedicationKnowledgeCodeableConcept; r4:Extension[] modifierExtension?; string id?; string[] value?; + r4:CodeableConcept characteristicCodeableConcept?; |}; # FHIR MedicationKnowledgeKinetics datatype record. @@ -745,10 +748,10 @@ public type MedicationKnowledgeMonograph record {| public type MedicationKnowledgeIngredient record {| *r4:BackboneElement; - r4:Reference itemReference; + r4:Reference itemReference?; r4:Extension[] extension?; r4:Ratio strength?; - r4:CodeableConcept itemCodeableConcept; + r4:CodeableConcept itemCodeableConcept?; r4:Extension[] modifierExtension?; string id?; boolean isActive?; @@ -1545,7 +1548,14 @@ public type MedicationKnowledgeRelatedMedicationKnowledge record {| *r4:BackboneElement; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.MedicationKnowledge.relatedMedicationKnowledge.reference constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.MedicationKnowledge.relatedMedicationKnowledge.reference constraint. This field must be an array containing at most one item." + } } r4:Reference[] reference; r4:Extension[] extension?; @@ -1627,7 +1637,14 @@ public type MedicationKnowledgeAdministrationGuidelinesDosage record {| *r4:BackboneElement; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.MedicationKnowledge.administrationGuidelines.dosage.dosage constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.MedicationKnowledge.administrationGuidelines.dosage.dosage constraint. This field must be an array containing at most one item." + } } r4:Dosage[] dosage; r4:Extension[] extension?; diff --git a/international401/resource_medication_request.bal b/international401/resource_medication_request.bal index 4a71fbae..2fa1994e 100644 --- a/international401/resource_medication_request.bal +++ b/international401/resource_medication_request.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_MEDICATIONREQUEST = "http://hl7.org/fhir/StructureDefinition/MedicationRequest"; public const RESOURCE_NAME_MEDICATIONREQUEST = "MedicationRequest"; +public type MedicationRequestExtensions (r4:Extension|WorkflowEpisodeOfCare|WorkflowReleaseDate|WorkflowShallComplyWith); + # FHIR MedicationRequest resource record. # # + resourceType - The type of the resource describes @@ -441,7 +443,7 @@ public type MedicationRequest record {| r4:Reference[] reasonReference?; r4:code language?; r4:uri[] instantiatesUri?; - r4:Reference medicationReference; + r4:Reference medicationReference?; r4:Reference reportedReference?; r4:CodeableConcept statusReason?; MedicationRequestDispenseRequest dispenseRequest?; @@ -460,7 +462,7 @@ public type MedicationRequest record {| r4:Reference[] supportingInformation?; r4:Reference encounter?; r4:canonical[] instantiatesCanonical?; - r4:CodeableConcept medicationCodeableConcept; + r4:CodeableConcept medicationCodeableConcept?; MedicationRequestPriority priority?; MedicationRequestIntent intent; r4:CodeableConcept performerType?; @@ -781,11 +783,11 @@ public enum MedicationRequestIntent { public type MedicationRequestSubstitution record {| *r4:BackboneElement; - r4:CodeableConcept allowedCodeableConcept; + r4:CodeableConcept allowedCodeableConcept?; r4:CodeableConcept reason?; r4:Extension[] extension?; r4:Extension[] modifierExtension?; - boolean allowedBoolean; + boolean allowedBoolean?; string id?; |}; diff --git a/international401/resource_medication_statement.bal b/international401/resource_medication_statement.bal index a4583f5b..b8f219d4 100644 --- a/international401/resource_medication_statement.bal +++ b/international401/resource_medication_statement.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_MEDICATIONSTATEMENT = "http://hl7.org/fhir/StructureDefinition/MedicationStatement"; public const RESOURCE_NAME_MEDICATIONSTATEMENT = "MedicationStatement"; +public type MedicationStatementExtensions (EventBasedOn|r4:Extension|WorkflowEpisodeOfCare|WorkflowResearchStudy); + # FHIR MedicationStatement resource record. # # + resourceType - The type of the resource describes @@ -299,7 +301,7 @@ public type MedicationStatement record {| r4:Extension[] modifierExtension?; r4:Reference[] reasonReference?; r4:code language?; - r4:Reference medicationReference; + r4:Reference medicationReference?; r4:CodeableConcept[] statusReason?; r4:Reference informationSource?; r4:Reference context?; @@ -311,7 +313,7 @@ public type MedicationStatement record {| r4:Reference[] basedOn?; r4:Identifier[] identifier?; r4:Period effectivePeriod?; - r4:CodeableConcept medicationCodeableConcept; + r4:CodeableConcept medicationCodeableConcept?; r4:Resource[] contained?; r4:dateTime effectiveDateTime?; r4:Meta meta?; diff --git a/international401/resource_medicinal_product.bal b/international401/resource_medicinal_product.bal index fa7f1428..87e5e4fa 100644 --- a/international401/resource_medicinal_product.bal +++ b/international401/resource_medicinal_product.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -319,7 +319,10 @@ public type MedicinalProduct record {| r4:Meta meta?; r4:Coding domain?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.MedicinalProduct.name constraint. This field must be an array containing at least one item." + } } MedicinalProductName[] name; r4:uri implicitRules?; diff --git a/international401/resource_medicinal_product_authorization.bal b/international401/resource_medicinal_product_authorization.bal index c69e104b..0383f35d 100644 --- a/international401/resource_medicinal_product_authorization.bal +++ b/international401/resource_medicinal_product_authorization.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -395,6 +395,7 @@ public type MedicinalProductAuthorizationJurisdictionalAuthorization record {| # + dateDateTime - Date of procedure. # + identifier - Identifier for this procedure. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + application - Applcations submitted to obtain a marketing authorization. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + datePeriod - Date of procedure. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @@ -430,6 +431,17 @@ public type MedicinalProductAuthorizationJurisdictionalAuthorization record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "MedicinalProductAuthorization.procedure.extension" }, + + "application": { + name: "application", + dataType: MedicinalProductAuthorizationProcedure, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Applcations submitted to obtain a marketing authorization.", + path: "MedicinalProductAuthorization.procedure.application" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -478,6 +490,7 @@ public type MedicinalProductAuthorizationProcedure record {| r4:dateTime dateDateTime?; r4:Identifier identifier?; r4:Extension[] extension?; + MedicinalProductAuthorizationProcedure[] application?; r4:Extension[] modifierExtension?; r4:Period datePeriod?; string id?; diff --git a/international401/resource_medicinal_product_contraindication.bal b/international401/resource_medicinal_product_contraindication.bal index d275552a..1b33d9ed 100644 --- a/international401/resource_medicinal_product_contraindication.bal +++ b/international401/resource_medicinal_product_contraindication.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -270,11 +270,11 @@ public type MedicinalProductContraindication record {| public type MedicinalProductContraindicationOtherTherapy record {| *r4:BackboneElement; - r4:Reference medicationReference; + r4:Reference medicationReference?; r4:Extension[] extension?; r4:CodeableConcept therapyRelationshipType; r4:Extension[] modifierExtension?; string id?; - r4:CodeableConcept medicationCodeableConcept; + r4:CodeableConcept medicationCodeableConcept?; |}; diff --git a/international401/resource_medicinal_product_indication.bal b/international401/resource_medicinal_product_indication.bal index afc2138a..afafd9a5 100644 --- a/international401/resource_medicinal_product_indication.bal +++ b/international401/resource_medicinal_product_indication.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -290,11 +290,11 @@ public type MedicinalProductIndication record {| public type MedicinalProductIndicationOtherTherapy record {| *r4:BackboneElement; - r4:Reference medicationReference; + r4:Reference medicationReference?; r4:Extension[] extension?; r4:CodeableConcept therapyRelationshipType; r4:Extension[] modifierExtension?; string id?; - r4:CodeableConcept medicationCodeableConcept; + r4:CodeableConcept medicationCodeableConcept?; |}; diff --git a/international401/resource_medicinal_product_ingredient.bal b/international401/resource_medicinal_product_ingredient.bal index 764e4370..c9025c16 100644 --- a/international401/resource_medicinal_product_ingredient.bal +++ b/international401/resource_medicinal_product_ingredient.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -421,6 +421,7 @@ public type MedicinalProductIngredientSpecifiedSubstanceStrength record {| # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + code - The ingredient substance. +# + strength - Quantity of the substance or specified substance present in the manufactured item or pharmaceutical product. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @r4:DataTypeDefinition { @@ -445,6 +446,17 @@ public type MedicinalProductIngredientSpecifiedSubstanceStrength record {| description: "The ingredient substance.", path: "MedicinalProductIngredient.substance.code" }, + + "strength": { + name: "strength", + dataType: MedicinalProductIngredientSpecifiedSubstanceStrength, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Quantity of the substance or specified substance present in the manufactured item or pharmaceutical product.", + path: "MedicinalProductIngredient.substance.strength" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -474,6 +486,7 @@ public type MedicinalProductIngredientSubstance record {| r4:Extension[] extension?; r4:CodeableConcept code; + MedicinalProductIngredientSpecifiedSubstanceStrength[] strength?; r4:Extension[] modifierExtension?; string id?; |}; diff --git a/international401/resource_medicinal_product_interaction.bal b/international401/resource_medicinal_product_interaction.bal index 83957188..58b37127 100644 --- a/international401/resource_medicinal_product_interaction.bal +++ b/international401/resource_medicinal_product_interaction.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -260,9 +260,9 @@ public type MedicinalProductInteraction record {| public type MedicinalProductInteractionInteractant record {| *r4:BackboneElement; - r4:Reference itemReference; + r4:Reference itemReference?; r4:Extension[] extension?; - r4:CodeableConcept itemCodeableConcept; + r4:CodeableConcept itemCodeableConcept?; r4:Extension[] modifierExtension?; string id?; |}; diff --git a/international401/resource_medicinal_product_packaged.bal b/international401/resource_medicinal_product_packaged.bal index bfb68739..c9463b4f 100644 --- a/international401/resource_medicinal_product_packaged.bal +++ b/international401/resource_medicinal_product_packaged.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -206,7 +206,10 @@ public type MedicinalProductPackaged record {| r4:Reference[] manufacturer?; r4:MarketingStatus[] marketingStatus?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.MedicinalProductPackaged.packageItem constraint. This field must be an array containing at least one item." + } } MedicinalProductPackagedPackageItem[] packageItem; r4:Resource[] contained?; @@ -302,6 +305,7 @@ public type MedicinalProductPackagedBatchIdentifier record {| # + physicalCharacteristics - Dimensions, color etc. # + 'type - The physical type of the container of the medicine. # + manufacturer - Manufacturer of this Package Item. +# + packageItem - Allows containers within containers. # + material - Material type of the package item. # + shelfLifeStorage - Shelf Life and storage information. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @@ -392,6 +396,17 @@ public type MedicinalProductPackagedBatchIdentifier record {| description: "Manufacturer of this Package Item.", path: "MedicinalProductPackaged.packageItem.manufacturer" }, + + "packageItem": { + name: "packageItem", + dataType: MedicinalProductPackagedPackageItem, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Allows containers within containers.", + path: "MedicinalProductPackaged.packageItem.packageItem" + }, + "material": { name: "material", dataType: r4:CodeableConcept, @@ -455,6 +470,7 @@ public type MedicinalProductPackagedPackageItem record {| r4:ProdCharacteristic physicalCharacteristics?; r4:CodeableConcept 'type; r4:Reference[] manufacturer?; + MedicinalProductPackagedPackageItem[] packageItem?; r4:CodeableConcept[] material?; r4:ProductShelfLife[] shelfLifeStorage?; string id?; diff --git a/international401/resource_medicinal_product_pharmaceutical.bal b/international401/resource_medicinal_product_pharmaceutical.bal index bb95b5f5..968d17e8 100644 --- a/international401/resource_medicinal_product_pharmaceutical.bal +++ b/international401/resource_medicinal_product_pharmaceutical.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -185,7 +185,10 @@ public type MedicinalProductPharmaceutical record {| r4:Reference[] ingredient?; r4:Extension[] modifierExtension?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.MedicinalProductPharmaceutical.routeOfAdministration constraint. This field must be an array containing at least one item." + } } MedicinalProductPharmaceuticalRouteOfAdministration[] routeOfAdministration; r4:code language?; diff --git a/international401/resource_message_definition.bal b/international401/resource_message_definition.bal index 7227ea01..e0876fed 100644 --- a/international401/resource_message_definition.bal +++ b/international401/resource_message_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_MESSAGEDEFINITION = "http://hl7.org/fhir/StructureDefinition/MessageDefinition"; public const RESOURCE_NAME_MESSAGEDEFINITION = "MessageDefinition"; +public type MessageDefinitionExtensions (r4:Extension|Replaces); + # FHIR MessageDefinition resource record. # # + resourceType - The type of the resource describes @@ -361,10 +363,10 @@ public type MessageDefinition record {| string id?; r4:Narrative text?; MessageDefinitionAllowedResponse[] allowedResponse?; - r4:uri eventUri; + r4:uri eventUri?; r4:Identifier[] identifier?; r4:canonical[] replaces?; - r4:Coding eventCoding; + r4:Coding eventCoding?; string 'version?; r4:canonical[] graph?; MessageDefinitionResponseRequired responseRequired?; diff --git a/international401/resource_message_header.bal b/international401/resource_message_header.bal index a355a8e8..08a97477 100644 --- a/international401/resource_message_header.bal +++ b/international401/resource_message_header.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_MESSAGEHEADER = "http://hl7.org/fhir/StructureDefinition/MessageHeader"; public const RESOURCE_NAME_MESSAGEHEADER = "MessageHeader"; +public type MessageHeaderExtensions (r4:Extension|MessageheaderResponseRequest); + # FHIR MessageHeader resource record. # # + resourceType - The type of the resource describes @@ -225,7 +227,7 @@ public type MessageHeader record {| RESOURCE_NAME_MESSAGEHEADER resourceType = RESOURCE_NAME_MESSAGEHEADER; - r4:uri eventUri; + r4:uri eventUri?; r4:CodeableConcept reason?; r4:Extension[] extension?; r4:Reference author?; @@ -234,7 +236,7 @@ public type MessageHeader record {| r4:Reference[] focus?; r4:code language?; MessageHeaderSource 'source; - r4:Coding eventCoding; + r4:Coding eventCoding?; r4:Resource[] contained?; r4:Reference sender?; r4:Meta meta?; diff --git a/international401/resource_molecular_sequence.bal b/international401/resource_molecular_sequence.bal index ec76c10f..dce34199 100644 --- a/international401/resource_molecular_sequence.bal +++ b/international401/resource_molecular_sequence.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_MOLECULARSEQUENCE = "http://hl7.org/fhir/StructureDefinition/MolecularSequence"; public const RESOURCE_NAME_MOLECULARSEQUENCE = "MolecularSequence"; +public type MolecularSequenceExtensions (r4:Extension|WorkflowEpisodeOfCare); + # FHIR MolecularSequence resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_naming_system.bal b/international401/resource_naming_system.bal index 52462610..284fbe2b 100644 --- a/international401/resource_naming_system.bal +++ b/international401/resource_naming_system.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_NAMINGSYSTEM = "http://hl7.org/fhir/StructureDefinition/NamingSystem"; public const RESOURCE_NAME_NAMINGSYSTEM = "NamingSystem"; +public type NamingSystemExtensions (r4:Extension|NamingsystemCheckDigit|Replaces|ResourceApprovalDate|ResourceEffectivePeriod|ResourceLastReviewDate); + # FHIR NamingSystem resource record. # # + resourceType - The type of the resource describes @@ -256,7 +258,10 @@ public type NamingSystem record {| r4:Narrative text?; r4:UsageContext[] useContext?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.NamingSystem.uniqueId constraint. This field must be an array containing at least one item." + } } NamingSystemUniqueId[] uniqueId; NamingSystemStatus status; diff --git a/international401/resource_nutrition_order.bal b/international401/resource_nutrition_order.bal index c9a87479..9b9ea770 100644 --- a/international401/resource_nutrition_order.bal +++ b/international401/resource_nutrition_order.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_NUTRITIONORDER = "http://hl7.org/fhir/StructureDefinition/NutritionOrder"; public const RESOURCE_NAME_NUTRITIONORDER = "NutritionOrder"; +public type NutritionOrderExtensions (r4:Extension|RequestDoNotPerform|RequestInsurance|RequestRelevantHistory|RequestReplaces|RequestStatusReason|WorkflowCompliesWith|WorkflowEpisodeOfCare|WorkflowGeneratedFrom|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowReleaseDate|WorkflowShallComplyWith|WorkflowTriggeredBy); + # FHIR NutritionOrder resource record. # # + resourceType - The type of the resource describes @@ -664,11 +666,12 @@ public type NutritionOrderOralDietNutrient record {| # # + schedule - The time period and frequency at which the enteral formula should be delivered to the patient. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + rateRatio - The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule. # + quantity - The volume of formula to provide to the patient per the specified administration schedule. +# + rateQuantity - The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + rateNutritionOrderRatio - The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + rateNutritionOrderQuantity - The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule. + @r4:DataTypeDefinition { name: "NutritionOrderEnteralFormulaAdministration", baseType: (), @@ -691,6 +694,17 @@ public type NutritionOrderOralDietNutrient record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "NutritionOrder.enteralFormula.administration.extension" }, + + "rateRatio": { + name: "rateRatio", + dataType: r4:Ratio, + min: 0, + max: 1, + isArray: false, + description: "The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule.", + path: "NutritionOrder.enteralFormula.administration.rate[x]" + }, + "quantity": { name: "quantity", dataType: r4:Quantity, @@ -700,6 +714,17 @@ public type NutritionOrderOralDietNutrient record {| description: "The volume of formula to provide to the patient per the specified administration schedule.", path: "NutritionOrder.enteralFormula.administration.quantity" }, + + "rateQuantity": { + name: "rateQuantity", + dataType: r4:Quantity, + min: 0, + max: 1, + isArray: false, + description: "The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule.", + path: "NutritionOrder.enteralFormula.administration.rate[x]" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -709,15 +734,7 @@ public type NutritionOrderOralDietNutrient record {| description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "NutritionOrder.enteralFormula.administration.modifierExtension" }, - "rateNutritionOrderRatio": { - name: "rateNutritionOrderRatio", - dataType: r4:Ratio, - min: 0, - max: 1, - isArray: false, - description: "The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule.", - path: "NutritionOrder.enteralFormula.administration.rate[x]" - }, + "id": { name: "id", dataType: string, @@ -726,15 +743,6 @@ public type NutritionOrderOralDietNutrient record {| isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "NutritionOrder.enteralFormula.administration.id" - }, - "rateNutritionOrderQuantity": { - name: "rateNutritionOrderQuantity", - dataType: r4:Quantity, - min: 0, - max: 1, - isArray: false, - description: "The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule.", - path: "NutritionOrder.enteralFormula.administration.rate[x]" } }, serializers: { @@ -747,11 +755,11 @@ public type NutritionOrderEnteralFormulaAdministration record {| r4:Timing schedule?; r4:Extension[] extension?; + r4:Ratio rateRatio?; r4:Quantity quantity?; + r4:Quantity rateQuantity?; r4:Extension[] modifierExtension?; - r4:Ratio rateNutritionOrderRatio?; string id?; - r4:Quantity rateNutritionOrderQuantity?; |}; # FHIR NutritionOrderOralDietTexture datatype record. diff --git a/international401/resource_observation.bal b/international401/resource_observation.bal index 2032145b..b0695365 100644 --- a/international401/resource_observation.bal +++ b/international401/resource_observation.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OBSERVATION = "http://hl7.org/fhir/StructureDefinition/Observation"; public const RESOURCE_NAME_OBSERVATION = "Observation"; +public type ObservationExtensions (DiagnosticReportRisk|EventEventHistory|EventLocation|EventStatusReason|r4:Extension|ObservationAnalysisDateTime|ObservationBodyPosition|ObservationDelta|ObservationDeviceCode|ObservationFocusCode|ObservationGatewayDevice|ObservationGeneticsAllele|ObservationGeneticsAminoAcidChange|ObservationGeneticsAncestry|ObservationGeneticsCopyNumberEvent|ObservationGeneticsDNARegionName|ObservationGeneticsGene|ObservationGeneticsGenomicSourceClass|ObservationGeneticsInterpretation|ObservationGeneticsPhaseSet|ObservationGeneticsVariant|ObservationNatureOfAbnormalTest|ObservationPrecondition|ObservationReagent|ObservationReplaces|ObservationSecondaryFinding|ObservationSequelTo|ObservationSpecimenCode|ObservationStructureType|ObservationVSubid|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR Observation resource record. # # + resourceType - The type of the resource describes @@ -637,6 +639,7 @@ public enum ObservationStatus { # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + valueCodeableConcept - The information determined as a result of making the observation, if the information has a simple value. # + valueRatio - The information determined as a result of making the observation, if the information has a simple value. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + valueString - The information determined as a result of making the observation, if the information has a simple value. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + valueSampledData - The information determined as a result of making the observation, if the information has a simple value. @@ -730,6 +733,17 @@ public enum ObservationStatus { description: "The information determined as a result of making the observation, if the information has a simple value.", path: "Observation.component.value[x]" }, + + "referenceRange": { + name: "referenceRange", + dataType: ObservationReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "valueString": { name: "valueString", dataType: string, @@ -820,6 +834,7 @@ public type ObservationComponent record {| r4:Extension[] modifierExtension?; r4:CodeableConcept valueCodeableConcept?; r4:Ratio valueRatio?; + ObservationReferenceRange[] referenceRange?; string valueString?; r4:CodeableConcept[] interpretation?; r4:SampledData valueSampledData?; diff --git a/international401/resource_observation_bmi.bal b/international401/resource_observation_bmi.bal index 2b2f22bd..efc6fabc 100644 --- a/international401/resource_observation_bmi.bal +++ b/international401/resource_observation_bmi.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OBSERVATION_BMI = "http://hl7.org/fhir/StructureDefinition/bmi"; public const RESOURCE_NAME_OBSERVATION_BMI = "Observation"; +public type observation_bmiExtensions (DiagnosticReportRisk|EventEventHistory|EventLocation|EventStatusReason|r4:Extension|ObservationAnalysisDateTime|ObservationBodyPosition|ObservationDelta|ObservationDeviceCode|ObservationFocusCode|ObservationGatewayDevice|ObservationGeneticsAllele|ObservationGeneticsAminoAcidChange|ObservationGeneticsAncestry|ObservationGeneticsCopyNumberEvent|ObservationGeneticsDNARegionName|ObservationGeneticsGene|ObservationGeneticsGenomicSourceClass|ObservationGeneticsInterpretation|ObservationGeneticsPhaseSet|ObservationGeneticsVariant|ObservationNatureOfAbnormalTest|ObservationPrecondition|ObservationReagent|ObservationReplaces|ObservationSecondaryFinding|ObservationSequelTo|ObservationSpecimenCode|ObservationStructureType|ObservationVSubid|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR observation_bmi resource record. # # + resourceType - The type of the resource describes @@ -195,7 +197,7 @@ public const RESOURCE_NAME_OBSERVATION_BMI = "Observation"; "valueQuantity" : { name: "valueQuantity", dataType: Observation_bmiValue, - min: 1, + min: 0, max: 1, isArray: false, path: "Observation.value[x]" @@ -367,10 +369,10 @@ public type observation_bmi record {| r4:Narrative text?; r4:instant issued?; r4:Reference[] basedOn?; - Observation_bmiValue valueQuantity; + Observation_bmiValue valueQuantity?; r4:Identifier[] identifier?; r4:Reference[] performer?; - r4:Period effectivePeriod; + r4:Period effectivePeriod?; r4:CodeableConcept method?; r4:Reference[] hasMember?; r4:Reference encounter?; @@ -378,12 +380,15 @@ public type observation_bmi record {| Observation_bmiComponent[] component?; r4:Resource[] contained?; Observation_bmiReferenceRange[] referenceRange?; - r4:dateTime effectiveDateTime; + r4:dateTime effectiveDateTime?; r4:CodeableConcept[] interpretation?; r4:Meta meta?; r4:uri implicitRules?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category constraint. This field must be an array containing at least one item." + } } r4:CodeableConcept[] category; r4:Reference device?; @@ -402,6 +407,7 @@ public type observation_bmi record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + valueCodeableConcept - Vital Sign Value recorded with UCUM. # + valueRatio - Vital Sign Value recorded with UCUM. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + valueString - Vital Sign Value recorded with UCUM. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + valueSampledData - Vital Sign Value recorded with UCUM. @@ -495,6 +501,17 @@ public type observation_bmi record {| description: "Vital Sign Value recorded with UCUM.", path: "Observation.component.value[x]" }, + + "referenceRange": { + name: "referenceRange", + dataType: Observation_bmiReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "valueString": { name: "valueString", dataType: string, @@ -585,6 +602,7 @@ public type Observation_bmiComponent record {| r4:Extension[] modifierExtension?; r4:CodeableConcept valueCodeableConcept?; r4:Ratio valueRatio?; + Observation_bmiReferenceRange[] referenceRange?; string valueString?; r4:CodeableConcept[] interpretation?; r4:SampledData valueSampledData?; @@ -1049,7 +1067,14 @@ public type Observation_bmiCategoryVSCat record {| *r4:CodeableConcept; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at most one item." + } } Observation_bmiCategoryCoding[] coding; r4:Extension[] extension?; diff --git a/international401/resource_observation_bodyheight.bal b/international401/resource_observation_bodyheight.bal index d853aac4..07941961 100644 --- a/international401/resource_observation_bodyheight.bal +++ b/international401/resource_observation_bodyheight.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OBSERVATION_BODYHEIGHT = "http://hl7.org/fhir/StructureDefinition/bodyheight"; public const RESOURCE_NAME_OBSERVATION_BODYHEIGHT = "Observation"; +public type observation_bodyheightExtensions (DiagnosticReportRisk|EventEventHistory|EventLocation|EventStatusReason|r4:Extension|ObservationAnalysisDateTime|ObservationBodyPosition|ObservationDelta|ObservationDeviceCode|ObservationFocusCode|ObservationGatewayDevice|ObservationGeneticsAllele|ObservationGeneticsAminoAcidChange|ObservationGeneticsAncestry|ObservationGeneticsCopyNumberEvent|ObservationGeneticsDNARegionName|ObservationGeneticsGene|ObservationGeneticsGenomicSourceClass|ObservationGeneticsInterpretation|ObservationGeneticsPhaseSet|ObservationGeneticsVariant|ObservationNatureOfAbnormalTest|ObservationPrecondition|ObservationReagent|ObservationReplaces|ObservationSecondaryFinding|ObservationSequelTo|ObservationSpecimenCode|ObservationStructureType|ObservationVSubid|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR observation_bodyheight resource record. # # + resourceType - The type of the resource describes @@ -370,7 +372,7 @@ public type observation_bodyheight record {| Observation_bodyheightValue valueQuantity?; r4:Identifier[] identifier?; r4:Reference[] performer?; - r4:Period effectivePeriod; + r4:Period effectivePeriod?; r4:CodeableConcept method?; r4:Reference[] hasMember?; r4:Reference encounter?; @@ -378,12 +380,15 @@ public type observation_bodyheight record {| Observation_bodyheightComponent[] component?; r4:Resource[] contained?; Observation_bodyheightReferenceRange[] referenceRange?; - r4:dateTime effectiveDateTime; + r4:dateTime effectiveDateTime?; r4:CodeableConcept[] interpretation?; r4:Meta meta?; r4:uri implicitRules?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category constraint. This field must be an array containing at least one item." + } } r4:CodeableConcept[] category; r4:Reference device?; @@ -402,6 +407,7 @@ public type observation_bodyheight record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + valueCodeableConcept - Vital Sign Value recorded with UCUM. # + valueRatio - Vital Sign Value recorded with UCUM. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + valueString - Vital Sign Value recorded with UCUM. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + valueSampledData - Vital Sign Value recorded with UCUM. @@ -495,6 +501,17 @@ public type observation_bodyheight record {| description: "Vital Sign Value recorded with UCUM.", path: "Observation.component.value[x]" }, + + "referenceRange": { + name: "referenceRange", + dataType: Observation_bodyheightReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "valueString": { name: "valueString", dataType: string, @@ -585,6 +602,7 @@ public type Observation_bodyheightComponent record {| r4:Extension[] modifierExtension?; r4:CodeableConcept valueCodeableConcept?; r4:Ratio valueRatio?; + Observation_bodyheightReferenceRange[] referenceRange?; string valueString?; r4:CodeableConcept[] interpretation?; r4:SampledData valueSampledData?; @@ -745,7 +763,14 @@ public type Observation_bodyheightCategoryVSCat record {| *r4:CodeableConcept; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at most one item." + } } Observation_bodyheightCategoryCoding[] coding; r4:Extension[] extension?; diff --git a/international401/resource_observation_bodytemp.bal b/international401/resource_observation_bodytemp.bal index a2abb855..7124b7f2 100644 --- a/international401/resource_observation_bodytemp.bal +++ b/international401/resource_observation_bodytemp.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OBSERVATION_BODYTEMP = "http://hl7.org/fhir/StructureDefinition/bodytemp"; public const RESOURCE_NAME_OBSERVATION_BODYTEMP = "Observation"; +public type observation_bodytempExtensions (DiagnosticReportRisk|EventEventHistory|EventLocation|EventStatusReason|r4:Extension|ObservationAnalysisDateTime|ObservationBodyPosition|ObservationDelta|ObservationDeviceCode|ObservationFocusCode|ObservationGatewayDevice|ObservationGeneticsAllele|ObservationGeneticsAminoAcidChange|ObservationGeneticsAncestry|ObservationGeneticsCopyNumberEvent|ObservationGeneticsDNARegionName|ObservationGeneticsGene|ObservationGeneticsGenomicSourceClass|ObservationGeneticsInterpretation|ObservationGeneticsPhaseSet|ObservationGeneticsVariant|ObservationNatureOfAbnormalTest|ObservationPrecondition|ObservationReagent|ObservationReplaces|ObservationSecondaryFinding|ObservationSequelTo|ObservationSpecimenCode|ObservationStructureType|ObservationVSubid|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR observation_bodytemp resource record. # # + resourceType - The type of the resource describes @@ -370,7 +372,7 @@ public type observation_bodytemp record {| Observation_bodytempValue valueQuantity?; r4:Identifier[] identifier?; r4:Reference[] performer?; - r4:Period effectivePeriod; + r4:Period effectivePeriod?; r4:CodeableConcept method?; r4:Reference[] hasMember?; r4:Reference encounter?; @@ -378,12 +380,15 @@ public type observation_bodytemp record {| Observation_bodytempComponent[] component?; r4:Resource[] contained?; Observation_bodytempReferenceRange[] referenceRange?; - r4:dateTime effectiveDateTime; + r4:dateTime effectiveDateTime?; r4:CodeableConcept[] interpretation?; r4:Meta meta?; r4:uri implicitRules?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category constraint. This field must be an array containing at least one item." + } } r4:CodeableConcept[] category; r4:Reference device?; @@ -657,7 +662,14 @@ public type Observation_bodytempCategoryVSCat record {| *r4:CodeableConcept; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at most one item." + } } Observation_bodytempCategoryCoding[] coding; r4:Extension[] extension?; @@ -770,6 +782,7 @@ public type Observation_bodytempValue record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + valueCodeableConcept - Vital Sign Value recorded with UCUM. # + valueRatio - Vital Sign Value recorded with UCUM. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + valueString - Vital Sign Value recorded with UCUM. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + valueSampledData - Vital Sign Value recorded with UCUM. @@ -863,6 +876,17 @@ public type Observation_bodytempValue record {| description: "Vital Sign Value recorded with UCUM.", path: "Observation.component.value[x]" }, + + "referenceRange": { + name: "referenceRange", + dataType: Observation_bodytempReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "valueString": { name: "valueString", dataType: string, @@ -953,6 +977,7 @@ public type Observation_bodytempComponent record {| r4:Extension[] modifierExtension?; r4:CodeableConcept valueCodeableConcept?; r4:Ratio valueRatio?; + Observation_bodytempReferenceRange[] referenceRange?; string valueString?; r4:CodeableConcept[] interpretation?; r4:SampledData valueSampledData?; diff --git a/international401/resource_observation_bodyweight.bal b/international401/resource_observation_bodyweight.bal index fffc202a..c8bb3fb6 100644 --- a/international401/resource_observation_bodyweight.bal +++ b/international401/resource_observation_bodyweight.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OBSERVATION_BODYWEIGHT = "http://hl7.org/fhir/StructureDefinition/bodyweight"; public const RESOURCE_NAME_OBSERVATION_BODYWEIGHT = "Observation"; +public type observation_bodyweightExtensions (DiagnosticReportRisk|EventEventHistory|EventLocation|EventStatusReason|r4:Extension|ObservationAnalysisDateTime|ObservationBodyPosition|ObservationDelta|ObservationDeviceCode|ObservationFocusCode|ObservationGatewayDevice|ObservationGeneticsAllele|ObservationGeneticsAminoAcidChange|ObservationGeneticsAncestry|ObservationGeneticsCopyNumberEvent|ObservationGeneticsDNARegionName|ObservationGeneticsGene|ObservationGeneticsGenomicSourceClass|ObservationGeneticsInterpretation|ObservationGeneticsPhaseSet|ObservationGeneticsVariant|ObservationNatureOfAbnormalTest|ObservationPrecondition|ObservationReagent|ObservationReplaces|ObservationSecondaryFinding|ObservationSequelTo|ObservationSpecimenCode|ObservationStructureType|ObservationVSubid|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR observation_bodyweight resource record. # # + resourceType - The type of the resource describes @@ -370,7 +372,7 @@ public type observation_bodyweight record {| Observation_bodyweightValue valueQuantity?; r4:Identifier[] identifier?; r4:Reference[] performer?; - r4:Period effectivePeriod; + r4:Period effectivePeriod?; r4:CodeableConcept method?; r4:Reference[] hasMember?; r4:Reference encounter?; @@ -378,12 +380,15 @@ public type observation_bodyweight record {| Observation_bodyweightComponent[] component?; r4:Resource[] contained?; Observation_bodyweightReferenceRange[] referenceRange?; - r4:dateTime effectiveDateTime; + r4:dateTime effectiveDateTime?; r4:CodeableConcept[] interpretation?; r4:Meta meta?; r4:uri implicitRules?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category constraint. This field must be an array containing at least one item." + } } r4:CodeableConcept[] category; r4:Reference device?; @@ -704,7 +709,14 @@ public type Observation_bodyweightCategoryVSCat record {| *r4:CodeableConcept; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at most one item." + } } Observation_bodyweightCategoryCoding[] coding; r4:Extension[] extension?; @@ -731,6 +743,7 @@ public enum Observation_bodyweightValueComparator { # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + valueCodeableConcept - Vital Sign Value recorded with UCUM. # + valueRatio - Vital Sign Value recorded with UCUM. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + valueString - Vital Sign Value recorded with UCUM. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + valueSampledData - Vital Sign Value recorded with UCUM. @@ -824,6 +837,17 @@ public enum Observation_bodyweightValueComparator { description: "Vital Sign Value recorded with UCUM.", path: "Observation.component.value[x]" }, + + "referenceRange": { + name: "referenceRange", + dataType: Observation_bodyweightReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "valueString": { name: "valueString", dataType: string, @@ -914,6 +938,7 @@ public type Observation_bodyweightComponent record {| r4:Extension[] modifierExtension?; r4:CodeableConcept valueCodeableConcept?; r4:Ratio valueRatio?; + Observation_bodyweightReferenceRange[] referenceRange?; string valueString?; r4:CodeableConcept[] interpretation?; r4:SampledData valueSampledData?; diff --git a/international401/resource_observation_bp.bal b/international401/resource_observation_bp.bal index 3f9ec062..7175922f 100644 --- a/international401/resource_observation_bp.bal +++ b/international401/resource_observation_bp.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OBSERVATION_BP = "http://hl7.org/fhir/StructureDefinition/bp"; public const RESOURCE_NAME_OBSERVATION_BP = "Observation"; +public type observation_bpExtensions (DiagnosticReportRisk|EventEventHistory|EventLocation|EventStatusReason|r4:Extension|ObservationAnalysisDateTime|ObservationBodyPosition|ObservationDelta|ObservationDeviceCode|ObservationFocusCode|ObservationGatewayDevice|ObservationGeneticsAllele|ObservationGeneticsAminoAcidChange|ObservationGeneticsAncestry|ObservationGeneticsCopyNumberEvent|ObservationGeneticsDNARegionName|ObservationGeneticsGene|ObservationGeneticsGenomicSourceClass|ObservationGeneticsInterpretation|ObservationGeneticsPhaseSet|ObservationGeneticsVariant|ObservationNatureOfAbnormalTest|ObservationPrecondition|ObservationReagent|ObservationReplaces|ObservationSecondaryFinding|ObservationSequelTo|ObservationSpecimenCode|ObservationStructureType|ObservationVSubid|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR observation_bp resource record. # # + resourceType - The type of the resource describes @@ -379,23 +381,29 @@ public type observation_bp record {| r4:Quantity valueQuantity?; r4:Identifier[] identifier?; r4:Reference[] performer?; - r4:Period effectivePeriod; + r4:Period effectivePeriod?; r4:CodeableConcept method?; r4:Reference[] hasMember?; r4:Reference encounter?; r4:CodeableConcept bodySite?; @constraint:Array { - minLength: 2 + minLength: { + value: 1, + message: "Validation failed for $.Observation.component constraint. This field must be an array containing at least one item." + } } Observation_bpComponent[] component; r4:Resource[] contained?; Observation_bpReferenceRange[] referenceRange?; - r4:dateTime effectiveDateTime; + r4:dateTime effectiveDateTime?; r4:CodeableConcept[] interpretation?; r4:Meta meta?; r4:uri implicitRules?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category constraint. This field must be an array containing at least one item." + } } r4:CodeableConcept[] category; r4:Reference device?; @@ -403,6 +411,73 @@ public type observation_bp record {| r4:Element ...; |}; +# FHIR Observation_bpCode datatype record. +# +# + coding - A reference to a code defined by a terminology system. +# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + text - A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. + +@r4:DataTypeDefinition { + name: "Observation_bpCode", + baseType: (), + elements: { + "coding": { + name: "coding", + dataType: r4:Coding, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A reference to a code defined by a terminology system.", + path: "Observation.code.coding" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "Observation.code.extension" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "Observation.code.id" + }, + + "text": { + name: "text", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", + path: "Observation.code.text" + } + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type Observation_bpCode record {| + *r4:CodeableConcept; + + r4:Coding[] coding?; + r4:Extension[] extension?; + string id?; + string text?; +|}; + # Observation_bpStatus enum public enum Observation_bpStatus { CODE_STATUS_AMENDED = "amended", @@ -413,7 +488,6 @@ public enum Observation_bpStatus { # FHIR Observation_bpComponentCodeOne datatype record. # -# + DBPCode - Diastolic Blood Pressure. # + coding - Diastolic Blood Pressure. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @@ -422,15 +496,6 @@ public enum Observation_bpStatus { name: "Observation_bpComponentCodeOne", baseType: (), elements: { - "DBPCode": { - name: "DBPCode", - dataType: Observation_bpComponentCodeCodingDBPCode, - min: 1, - max: 1, - isArray: false, - description: "Diastolic Blood Pressure.", - path: "Observation.component.code.coding" - }, "coding": { name: "coding", dataType: r4:Coding, @@ -476,7 +541,6 @@ public enum Observation_bpStatus { public type Observation_bpComponentCodeOne record {| *r4:CodeableConcept; - Observation_bpComponentCodeCodingDBPCode DBPCode; r4:Coding[] coding?; r4:Extension[] extension?; string id?; @@ -487,6 +551,7 @@ public type Observation_bpComponentCodeOne record {| # # + dataAbsentReason - Provides a reason why the expected value in the element Observation.component.value[x] is missing. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + code - Describes what was observed. Sometimes this is called the observation 'code'. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). @@ -514,6 +579,17 @@ public type Observation_bpComponentCodeOne record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "Observation.component.extension" }, + + "referenceRange": { + name: "referenceRange", + dataType: Observation_bpReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "code": { name: "code", dataType: Observation_bpComponentCodeOne, @@ -552,7 +628,7 @@ public type Observation_bpComponentCodeOne record {| }, "valueQuantity": { name: "valueQuantity", - dataType: Observation_bpComponentValue, + dataType: r4:Quantity, min: 0, max: 1, isArray: false, @@ -566,15 +642,16 @@ public type Observation_bpComponentCodeOne record {| } } public type Observation_bpComponentDiastolicBP record {| - *r4:BackboneElement; + *Observation_bpComponent; r4:CodeableConcept dataAbsentReason?; r4:Extension[] extension?; + Observation_bpReferenceRange[] referenceRange?; Observation_bpComponentCodeOne code; r4:CodeableConcept[] interpretation?; r4:Extension[] modifierExtension?; string id?; - Observation_bpComponentValue valueQuantity?; + r4:Quantity valueQuantity?; |}; # FHIR Observation_bpCategoryCoding datatype record. @@ -682,6 +759,7 @@ public type Observation_bpCategoryCoding record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + valueCodeableConcept - Vital Sign Value recorded with UCUM. # + valueRatio - Vital Sign Value recorded with UCUM. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + valueString - Vital Sign Value recorded with UCUM. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + valueSampledData - Vital Sign Value recorded with UCUM. @@ -775,6 +853,17 @@ public type Observation_bpCategoryCoding record {| description: "Vital Sign Value recorded with UCUM.", path: "Observation.component.value[x]" }, + + "referenceRange": { + name: "referenceRange", + dataType: Observation_bpReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "valueString": { name: "valueString", dataType: string, @@ -865,6 +954,7 @@ public type Observation_bpComponent record {| r4:Extension[] modifierExtension?; r4:CodeableConcept valueCodeableConcept?; r4:Ratio valueRatio?; + Observation_bpReferenceRange[] referenceRange?; string valueString?; r4:CodeableConcept[] interpretation?; r4:SampledData valueSampledData?; @@ -875,176 +965,9 @@ public type Observation_bpComponent record {| r4:Quantity valueQuantity?; |}; -# FHIR Observation_bpComponentValue datatype record. -# -# + comparator - How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is '<' , then the real value is < stated value. -# + unit - A human-readable form of the unit. -# + code - Coded responses from the common UCUM units for vital signs value set. -# + system - The identification of the system that provides the coded form of the unit. -# + value - The value of the measured amount. The value includes an implicit precision in the presentation of the value. -@r4:DataTypeDefinition { - name: "Observation_bpComponentValue", - baseType: (), - elements: { - "comparator": { - name: "comparator", - dataType: Observation_bpComponentValueComparator, - min: 0, - max: 1, - isArray: false, - description: "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is '<' , then the real value is < stated value.", - path: "Observation.component.value[x].comparator" - }, - "unit": { - name: "unit", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "A human-readable form of the unit.", - path: "Observation.component.value[x].unit" - }, - "code": { - name: "code", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "Coded responses from the common UCUM units for vital signs value set.", - path: "Observation.component.value[x].code" - }, - "system": { - name: "system", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "The identification of the system that provides the coded form of the unit.", - path: "Observation.component.value[x].system" - }, - "value": { - name: "value", - dataType: decimal, - min: 1, - max: 1, - isArray: false, - description: "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", - path: "Observation.component.value[x].value" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Observation_bpComponentValue record {| - *r4:Quantity; - - Observation_bpComponentValueComparator comparator?; - string unit; - r4:code code = "mm[Hg]"; - r4:uri system = "http://unitsofmeasure.org"; - decimal value; -|}; - -# FHIR Observation_bpComponentCodeCodingDBPCode datatype record. -# -# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + code - A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). -# + system - The identification of the code system that defines the meaning of the symbol in the code. -# + userSelected - Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays). -# + display - A representation of the meaning of the code in the system, following the rules of the system. -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + 'version - The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged. -@r4:DataTypeDefinition { - name: "Observation_bpComponentCodeCodingDBPCode", - baseType: (), - elements: { - "extension": { - name: "extension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Observation.component.code.coding.extension" - }, - "code": { - name: "code", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", - path: "Observation.component.code.coding.code" - }, - "system": { - name: "system", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "The identification of the code system that defines the meaning of the symbol in the code.", - path: "Observation.component.code.coding.system" - }, - "userSelected": { - name: "userSelected", - dataType: boolean, - min: 0, - max: 1, - isArray: false, - description: "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", - path: "Observation.component.code.coding.userSelected" - }, - "display": { - name: "display", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "A representation of the meaning of the code in the system, following the rules of the system.", - path: "Observation.component.code.coding.display" - }, - "id": { - name: "id", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Observation.component.code.coding.id" - }, - "version": { - name: "version", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", - path: "Observation.component.code.coding.version" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Observation_bpComponentCodeCodingDBPCode record {| - *r4:Coding; - - r4:Extension[] extension?; - r4:code code = "8462-4"; - r4:uri system = "http://loinc.org"; - boolean userSelected?; - string display?; - string id?; - string 'version?; -|}; - # FHIR Observation_bpComponentCode datatype record. # # + coding - Systolic Blood Pressure. -# + SBPCode - Systolic Blood Pressure. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + text - A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. @@ -1061,15 +984,7 @@ public type Observation_bpComponentCodeCodingDBPCode record {| description: "Systolic Blood Pressure.", path: "Observation.component.code.coding" }, - "SBPCode": { - name: "SBPCode", - dataType: Observation_bpComponentCodeCodingSBPCode, - min: 1, - max: 1, - isArray: false, - description: "Systolic Blood Pressure.", - path: "Observation.component.code.coding" - }, + "extension": { name: "extension", dataType: r4:Extension, @@ -1107,7 +1022,6 @@ public type Observation_bpComponentCode record {| *r4:CodeableConcept; r4:Coding[] coding?; - Observation_bpComponentCodeCodingSBPCode SBPCode; r4:Extension[] extension?; string id?; string text?; @@ -1285,178 +1199,22 @@ public type Observation_bpCategoryVSCat record {| *r4:CodeableConcept; @constraint:Array { - minLength: 1 - } - Observation_bpCategoryCoding[] coding; - r4:Extension[] extension?; - string id?; - string text?; -|}; - -# Observation_bpComponentValueComparator enum -public enum Observation_bpComponentValueComparator { - CODE_COMPARATOR_LESS_THAN_OR_EQUAL = "<=", - CODE_COMPARATOR_LESS_THAN = "<", - CODE_COMPARATOR_GREATER_THAN = ">", - CODE_COMPARATOR_GREATER_THAN_OR_EQUAL = ">=" -} - -# FHIR Observation_bpComponentSystolicBP datatype record. -# -# + dataAbsentReason - Provides a reason why the expected value in the element Observation.component.value[x] is missing. -# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + code - Describes what was observed. Sometimes this is called the observation 'code'. -# + interpretation - A categorical assessment of an observation value. For example, high, low, normal. -# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + valueQuantity - Vital Sign Value recorded with UCUM. -@r4:DataTypeDefinition { - name: "Observation_bpComponentSystolicBP", - baseType: (), - elements: { - "dataAbsentReason": { - name: "dataAbsentReason", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", - path: "Observation.component.dataAbsentReason" - }, - "extension": { - name: "extension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Observation.component.extension" + minLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at least one item." }, - "code": { - name: "code", - dataType: Observation_bpComponentCode, - min: 1, - max: 1, - isArray: false, - description: "Describes what was observed. Sometimes this is called the observation 'code'.", - path: "Observation.component.code" - }, - "interpretation": { - name: "interpretation", - dataType: r4:CodeableConcept, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "A categorical assessment of an observation value. For example, high, low, normal.", - path: "Observation.component.interpretation" - }, - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Observation.component.modifierExtension" - }, - "id": { - name: "id", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Observation.component.id" - }, - "valueQuantity": { - name: "valueQuantity", - dataType: Observation_bpComponentValue, - min: 0, - max: 1, - isArray: false, - description: "Vital Sign Value recorded with UCUM.", - path: "Observation.component.value[x]" + maxLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at most one item." } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Observation_bpComponentSystolicBP record {| - *r4:BackboneElement; - - r4:CodeableConcept dataAbsentReason?; - r4:Extension[] extension?; - Observation_bpComponentCode code; - r4:CodeableConcept[] interpretation?; - r4:Extension[] modifierExtension?; - string id?; - Observation_bpComponentValue valueQuantity?; -|}; - -# FHIR Observation_bpCode datatype record. -# -# + coding - A reference to a code defined by a terminology system. -# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + text - A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. -@r4:DataTypeDefinition { - name: "Observation_bpCode", - baseType: (), - elements: { - "coding": { - name: "coding", - dataType: r4:Coding, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "A reference to a code defined by a terminology system.", - path: "Observation.code.coding" - }, - "extension": { - name: "extension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Observation.code.extension" - }, - "id": { - name: "id", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Observation.code.id" - }, - "text": { - name: "text", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.", - path: "Observation.code.text" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer } -} -public type Observation_bpCode record {| - *r4:CodeableConcept; - - r4:Coding[] coding?; + Observation_bpCategoryCoding[] coding; r4:Extension[] extension?; string id?; string text?; |}; -# FHIR Observation_bpComponentCodeCodingSBPCode datatype record. +# FHIR Observation_bpCodeCodingBPCode datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + code - A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). @@ -1466,7 +1224,7 @@ public type Observation_bpCode record {| # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + 'version - The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged. @r4:DataTypeDefinition { - name: "Observation_bpComponentCodeCodingSBPCode", + name: "Observation_bpCodeCodingBPCode", baseType: (), elements: { "extension": { @@ -1476,7 +1234,7 @@ public type Observation_bpCode record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Observation.component.code.coding.extension" + path: "Observation.code.coding.extension" }, "code": { name: "code", @@ -1485,7 +1243,7 @@ public type Observation_bpCode record {| max: 1, isArray: false, description: "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", - path: "Observation.component.code.coding.code" + path: "Observation.code.coding.code" }, "system": { name: "system", @@ -1494,7 +1252,7 @@ public type Observation_bpCode record {| max: 1, isArray: false, description: "The identification of the code system that defines the meaning of the symbol in the code.", - path: "Observation.component.code.coding.system" + path: "Observation.code.coding.system" }, "userSelected": { name: "userSelected", @@ -1503,7 +1261,7 @@ public type Observation_bpCode record {| max: 1, isArray: false, description: "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", - path: "Observation.component.code.coding.userSelected" + path: "Observation.code.coding.userSelected" }, "display": { name: "display", @@ -1512,7 +1270,7 @@ public type Observation_bpCode record {| max: 1, isArray: false, description: "A representation of the meaning of the code in the system, following the rules of the system.", - path: "Observation.component.code.coding.display" + path: "Observation.code.coding.display" }, "id": { name: "id", @@ -1521,7 +1279,7 @@ public type Observation_bpCode record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Observation.component.code.coding.id" + path: "Observation.code.coding.id" }, "version": { name: "version", @@ -1530,7 +1288,7 @@ public type Observation_bpCode record {| max: 1, isArray: false, description: "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", - path: "Observation.component.code.coding.version" + path: "Observation.code.coding.version" } }, serializers: { @@ -1538,11 +1296,12 @@ public type Observation_bpCode record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Observation_bpComponentCodeCodingSBPCode record {| + +public type Observation_bpCodeCodingBPCode record {| *r4:Coding; r4:Extension[] extension?; - r4:code code = "8480-6"; + r4:code code = "85354-9"; r4:uri system = "http://loinc.org"; boolean userSelected?; string display?; @@ -1550,19 +1309,30 @@ public type Observation_bpComponentCodeCodingSBPCode record {| string 'version?; |}; -# FHIR Observation_bpCodeCodingBPCode datatype record. +# FHIR Observation_bpComponentSystolicBP datatype record. # +# + dataAbsentReason - Provides a reason why the expected value in the element Observation.component.value[x] is missing. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + code - A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). -# + system - The identification of the code system that defines the meaning of the symbol in the code. -# + userSelected - Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays). -# + display - A representation of the meaning of the code in the system, following the rules of the system. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. +# + code - Describes what was observed. Sometimes this is called the observation 'code'. +# + interpretation - A categorical assessment of an observation value. For example, high, low, normal. +# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + 'version - The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged. +# + valueQuantity - Vital Sign Value recorded with UCUM. @r4:DataTypeDefinition { - name: "Observation_bpCodeCodingBPCode", + name: "Observation_bpComponentSystolicBP", baseType: (), elements: { + "dataAbsentReason": { + name: "dataAbsentReason", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + path: "Observation.component.dataAbsentReason" + }, + "extension": { name: "extension", dataType: r4:Extension, @@ -1570,43 +1340,46 @@ public type Observation_bpComponentCodeCodingSBPCode record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Observation.code.coding.extension" + path: "Observation.component.extension" + }, + + "referenceRange": { + name: "referenceRange", + dataType: Observation_bpReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" }, "code": { name: "code", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", - path: "Observation.code.coding.code" - }, - "system": { - name: "system", - dataType: r4:uri, + dataType: Observation_bpComponentCode, min: 1, max: 1, isArray: false, - description: "The identification of the code system that defines the meaning of the symbol in the code.", - path: "Observation.code.coding.system" + description: "Describes what was observed. Sometimes this is called the observation 'code'.", + path: "Observation.component.code" }, - "userSelected": { - name: "userSelected", - dataType: boolean, + + "interpretation": { + name: "interpretation", + dataType: r4:CodeableConcept, min: 0, - max: 1, - isArray: false, - description: "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", - path: "Observation.code.coding.userSelected" + max: int:MAX_VALUE, + isArray: true, + description: "A categorical assessment of an observation value. For example, high, low, normal.", + path: "Observation.component.interpretation" }, - "display": { - name: "display", - dataType: string, + + "modifierExtension": { + name: "modifierExtension", + dataType: r4:Extension, min: 0, - max: 1, - isArray: false, - description: "A representation of the meaning of the code in the system, following the rules of the system.", - path: "Observation.code.coding.display" + max: int:MAX_VALUE, + isArray: true, + description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + path: "Observation.component.modifierExtension" }, "id": { name: "id", @@ -1615,16 +1388,17 @@ public type Observation_bpComponentCodeCodingSBPCode record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Observation.code.coding.id" + path: "Observation.component.id" }, - "version": { - name: "version", - dataType: string, + + "valueQuantity": { + name: "valueQuantity", + dataType: r4:Quantity, min: 0, max: 1, isArray: false, - description: "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", - path: "Observation.code.coding.version" + description: "Vital Sign Value recorded with UCUM.", + path: "Observation.component.value[x]" } }, serializers: { @@ -1632,15 +1406,17 @@ public type Observation_bpComponentCodeCodingSBPCode record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Observation_bpCodeCodingBPCode record {| - *r4:Coding; +public type Observation_bpComponentSystolicBP record {| + *Observation_bpComponent; + + r4:CodeableConcept dataAbsentReason?; r4:Extension[] extension?; - r4:code code = "85354-9"; - r4:uri system = "http://loinc.org"; - boolean userSelected?; - string display?; + Observation_bpReferenceRange[] referenceRange?; + Observation_bpComponentCode code; + r4:CodeableConcept[] interpretation?; + r4:Extension[] modifierExtension?; string id?; - string 'version?; + r4:Quantity valueQuantity?; |}; diff --git a/international401/resource_observation_definition.bal b/international401/resource_observation_definition.bal index 92cade76..b4e3e975 100644 --- a/international401/resource_observation_definition.bal +++ b/international401/resource_observation_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OBSERVATIONDEFINITION = "http://hl7.org/fhir/StructureDefinition/ObservationDefinition"; public const RESOURCE_NAME_OBSERVATIONDEFINITION = "ObservationDefinition"; +public type ObservationDefinitionExtensions (r4:Extension|Replaces); + # FHIR ObservationDefinition resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_observation_genetics.bal b/international401/resource_observation_genetics.bal index b027b876..9690371e 100644 --- a/international401/resource_observation_genetics.bal +++ b/international401/resource_observation_genetics.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OBSERVATION_GENETICS = "http://hl7.org/fhir/StructureDefinition/observation-genetics"; public const RESOURCE_NAME_OBSERVATION_GENETICS = "Observation"; +public type Observation_geneticsExtensions (DiagnosticReportRisk|EventEventHistory|EventLocation|EventStatusReason|r4:Extension|ObservationAnalysisDateTime|ObservationBodyPosition|ObservationDelta|ObservationDeviceCode|ObservationFocusCode|ObservationGatewayDevice|ObservationGeneticsAllele|ObservationGeneticsAminoAcidChange|ObservationGeneticsAncestry|ObservationGeneticsCopyNumberEvent|ObservationGeneticsDNARegionName|ObservationGeneticsGene|ObservationGeneticsGenomicSourceClass|ObservationGeneticsInterpretation|ObservationGeneticsPhaseSet|ObservationGeneticsVariant|ObservationNatureOfAbnormalTest|ObservationPrecondition|ObservationReagent|ObservationReplaces|ObservationSecondaryFinding|ObservationSequelTo|ObservationSpecimenCode|ObservationStructureType|ObservationVSubid|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR Observation_genetics resource record. # # + resourceType - The type of the resource describes @@ -31,47 +33,6 @@ public const RESOURCE_NAME_OBSERVATION_GENETICS = "Observation"; # + note - Comments about the observation or the results. # + valueTime - The information determined as a result of making the observation, if the information has a simple value. # + extension - An Extension -# * extension Slicings -# 1) Extension: AminoAcidChange -# - min = 0 -# - max = 1 -# -# 2) Extension: HGNC gene symbol -# - min = 0 -# - max = 1 -# -# 3) Extension: Ancestry -# - min = 0 -# - max = 1 -# -# 4) Extension: Copy number variation -# - min = 0 -# - max = 1 -# -# 5) Extension: Genomic source class -# - min = 0 -# - max = 1 -# -# 6) Extension: Clinical interpretations for variant -# - min = 0 -# - max = 1 -# -# 7) Extension: Variant -# - min = 0 -# - max = 1 -# -# 8) Extension: DNA region name -# - min = 0 -# - max = 1 -# -# 9) Extension: Phase set -# - min = 0 -# - max = * -# -# 10) Extension: Allele -# - min = 0 -# - max = 1 -# # + code - Describes what was observed. Sometimes this is called the observation 'name'. # + subject - The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation. # + valueRange - The information determined as a result of making the observation, if the information has a simple value. @@ -678,6 +639,7 @@ public type Observation_geneticsReferenceRange record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + valueCodeableConcept - The information determined as a result of making the observation, if the information has a simple value. # + valueRatio - The information determined as a result of making the observation, if the information has a simple value. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + valueString - The information determined as a result of making the observation, if the information has a simple value. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + valueSampledData - The information determined as a result of making the observation, if the information has a simple value. @@ -771,6 +733,17 @@ public type Observation_geneticsReferenceRange record {| description: "The information determined as a result of making the observation, if the information has a simple value.", path: "Observation.component.value[x]" }, + + "referenceRange": { + name: "referenceRange", + dataType: Observation_geneticsReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "valueString": { name: "valueString", dataType: string, @@ -861,6 +834,7 @@ public type Observation_geneticsComponent record {| r4:Extension[] modifierExtension?; r4:CodeableConcept valueCodeableConcept?; r4:Ratio valueRatio?; + Observation_geneticsReferenceRange[] referenceRange?; string valueString?; r4:CodeableConcept[] interpretation?; r4:SampledData valueSampledData?; diff --git a/international401/resource_observation_headcircum.bal b/international401/resource_observation_headcircum.bal index 1c47b0c5..100213c1 100644 --- a/international401/resource_observation_headcircum.bal +++ b/international401/resource_observation_headcircum.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OBSERVATION_HEADCIRCUM = "http://hl7.org/fhir/StructureDefinition/headcircum"; public const RESOURCE_NAME_OBSERVATION_HEADCIRCUM = "Observation"; +public type observation_headcircumExtensions (DiagnosticReportRisk|EventEventHistory|EventLocation|EventStatusReason|r4:Extension|ObservationAnalysisDateTime|ObservationBodyPosition|ObservationDelta|ObservationDeviceCode|ObservationFocusCode|ObservationGatewayDevice|ObservationGeneticsAllele|ObservationGeneticsAminoAcidChange|ObservationGeneticsAncestry|ObservationGeneticsCopyNumberEvent|ObservationGeneticsDNARegionName|ObservationGeneticsGene|ObservationGeneticsGenomicSourceClass|ObservationGeneticsInterpretation|ObservationGeneticsPhaseSet|ObservationGeneticsVariant|ObservationNatureOfAbnormalTest|ObservationPrecondition|ObservationReagent|ObservationReplaces|ObservationSecondaryFinding|ObservationSequelTo|ObservationSpecimenCode|ObservationStructureType|ObservationVSubid|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR observation_headcircum resource record. # # + resourceType - The type of the resource describes @@ -370,7 +372,7 @@ public type observation_headcircum record {| Observation_headcircumValue valueQuantity?; r4:Identifier[] identifier?; r4:Reference[] performer?; - r4:Period effectivePeriod; + r4:Period effectivePeriod?; r4:CodeableConcept method?; r4:Reference[] hasMember?; r4:Reference encounter?; @@ -378,12 +380,15 @@ public type observation_headcircum record {| Observation_headcircumComponent[] component?; r4:Resource[] contained?; Observation_headcircumReferenceRange[] referenceRange?; - r4:dateTime effectiveDateTime; + r4:dateTime effectiveDateTime?; r4:CodeableConcept[] interpretation?; r4:Meta meta?; r4:uri implicitRules?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category constraint. This field must be an array containing at least one item." + } } r4:CodeableConcept[] category; r4:Reference device?; @@ -828,7 +833,14 @@ public type Observation_headcircumCategoryVSCat record {| *r4:CodeableConcept; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at most one item." + } } Observation_headcircumCategoryCoding[] coding; r4:Extension[] extension?; @@ -847,6 +859,7 @@ public type Observation_headcircumCategoryVSCat record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + valueCodeableConcept - Vital Sign Value recorded with UCUM. # + valueRatio - Vital Sign Value recorded with UCUM. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + valueString - Vital Sign Value recorded with UCUM. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + valueSampledData - Vital Sign Value recorded with UCUM. @@ -940,6 +953,17 @@ public type Observation_headcircumCategoryVSCat record {| description: "Vital Sign Value recorded with UCUM.", path: "Observation.component.value[x]" }, + + "referenceRange": { + name: "referenceRange", + dataType: Observation_headcircumReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "valueString": { name: "valueString", dataType: string, @@ -1030,6 +1054,7 @@ public type Observation_headcircumComponent record {| r4:Extension[] modifierExtension?; r4:CodeableConcept valueCodeableConcept?; r4:Ratio valueRatio?; + Observation_headcircumReferenceRange[] referenceRange?; string valueString?; r4:CodeableConcept[] interpretation?; r4:SampledData valueSampledData?; diff --git a/international401/resource_observation_heartrate.bal b/international401/resource_observation_heartrate.bal index d4befb63..78ae73fa 100644 --- a/international401/resource_observation_heartrate.bal +++ b/international401/resource_observation_heartrate.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OBSERVATION_HEARTRATE = "http://hl7.org/fhir/StructureDefinition/heartrate"; public const RESOURCE_NAME_OBSERVATION_HEARTRATE = "Observation"; +public type observation_heartrateExtensions (DiagnosticReportRisk|EventEventHistory|EventLocation|EventStatusReason|r4:Extension|ObservationAnalysisDateTime|ObservationBodyPosition|ObservationDelta|ObservationDeviceCode|ObservationFocusCode|ObservationGatewayDevice|ObservationGeneticsAllele|ObservationGeneticsAminoAcidChange|ObservationGeneticsAncestry|ObservationGeneticsCopyNumberEvent|ObservationGeneticsDNARegionName|ObservationGeneticsGene|ObservationGeneticsGenomicSourceClass|ObservationGeneticsInterpretation|ObservationGeneticsPhaseSet|ObservationGeneticsVariant|ObservationNatureOfAbnormalTest|ObservationPrecondition|ObservationReagent|ObservationReplaces|ObservationSecondaryFinding|ObservationSequelTo|ObservationSpecimenCode|ObservationStructureType|ObservationVSubid|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR observation_heartrate resource record. # # + resourceType - The type of the resource describes @@ -370,7 +372,7 @@ public type observation_heartrate record {| Observation_heartrateValue valueQuantity?; r4:Identifier[] identifier?; r4:Reference[] performer?; - r4:Period effectivePeriod; + r4:Period effectivePeriod?; r4:CodeableConcept method?; r4:Reference[] hasMember?; r4:Reference encounter?; @@ -378,12 +380,15 @@ public type observation_heartrate record {| Observation_heartrateComponent[] component?; r4:Resource[] contained?; Observation_heartrateReferenceRange[] referenceRange?; - r4:dateTime effectiveDateTime; + r4:dateTime effectiveDateTime?; r4:CodeableConcept[] interpretation?; r4:Meta meta?; r4:uri implicitRules?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category constraint. This field must be an array containing at least one item." + } } r4:CodeableConcept[] category; r4:Reference device?; @@ -571,7 +576,14 @@ public type Observation_heartrateCategoryVSCat record {| *r4:CodeableConcept; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at most one item." + } } Observation_heartrateCategoryCoding[] coding; r4:Extension[] extension?; @@ -872,6 +884,7 @@ public type Observation_heartrateValue record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + valueCodeableConcept - Vital Sign Value recorded with UCUM. # + valueRatio - Vital Sign Value recorded with UCUM. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + valueString - Vital Sign Value recorded with UCUM. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + valueSampledData - Vital Sign Value recorded with UCUM. @@ -965,6 +978,17 @@ public type Observation_heartrateValue record {| description: "Vital Sign Value recorded with UCUM.", path: "Observation.component.value[x]" }, + + "referenceRange": { + name: "referenceRange", + dataType: Observation_heartrateReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "valueString": { name: "valueString", dataType: string, @@ -1055,6 +1079,7 @@ public type Observation_heartrateComponent record {| r4:Extension[] modifierExtension?; r4:CodeableConcept valueCodeableConcept?; r4:Ratio valueRatio?; + Observation_heartrateReferenceRange[] referenceRange?; string valueString?; r4:CodeableConcept[] interpretation?; r4:SampledData valueSampledData?; diff --git a/international401/resource_observation_oxygensat.bal b/international401/resource_observation_oxygensat.bal index 503b96b8..f26278de 100644 --- a/international401/resource_observation_oxygensat.bal +++ b/international401/resource_observation_oxygensat.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OBSERVATION_OXYGENSAT = "http://hl7.org/fhir/StructureDefinition/oxygensat"; public const RESOURCE_NAME_OBSERVATION_OXYGENSAT = "Observation"; +public type observation_oxygensatExtensions (DiagnosticReportRisk|EventEventHistory|EventLocation|EventStatusReason|r4:Extension|ObservationAnalysisDateTime|ObservationBodyPosition|ObservationDelta|ObservationDeviceCode|ObservationFocusCode|ObservationGatewayDevice|ObservationGeneticsAllele|ObservationGeneticsAminoAcidChange|ObservationGeneticsAncestry|ObservationGeneticsCopyNumberEvent|ObservationGeneticsDNARegionName|ObservationGeneticsGene|ObservationGeneticsGenomicSourceClass|ObservationGeneticsInterpretation|ObservationGeneticsPhaseSet|ObservationGeneticsVariant|ObservationNatureOfAbnormalTest|ObservationPrecondition|ObservationReagent|ObservationReplaces|ObservationSecondaryFinding|ObservationSequelTo|ObservationSpecimenCode|ObservationStructureType|ObservationVSubid|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR observation_oxygensat resource record. # # + resourceType - The type of the resource describes @@ -370,7 +372,7 @@ public type observation_oxygensat record {| Observation_oxygensatValue valueQuantity?; r4:Identifier[] identifier?; r4:Reference[] performer?; - r4:Period effectivePeriod; + r4:Period effectivePeriod?; r4:CodeableConcept method?; r4:Reference[] hasMember?; r4:Reference encounter?; @@ -378,12 +380,15 @@ public type observation_oxygensat record {| Observation_oxygensatComponent[] component?; r4:Resource[] contained?; Observation_oxygensatReferenceRange[] referenceRange?; - r4:dateTime effectiveDateTime; + r4:dateTime effectiveDateTime?; r4:CodeableConcept[] interpretation?; r4:Meta meta?; r4:uri implicitRules?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category constraint. This field must be an array containing at least one item." + } } r4:CodeableConcept[] category; r4:Reference device?; @@ -657,7 +662,14 @@ public type Observation_oxygensatCategoryVSCat record {| *r4:CodeableConcept; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at most one item." + } } Observation_oxygensatCategoryCoding[] coding; r4:Extension[] extension?; @@ -786,6 +798,7 @@ public enum Observation_oxygensatStatus { # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + valueCodeableConcept - Vital Sign Value recorded with UCUM. # + valueRatio - Vital Sign Value recorded with UCUM. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + valueString - Vital Sign Value recorded with UCUM. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + valueSampledData - Vital Sign Value recorded with UCUM. @@ -879,6 +892,17 @@ public enum Observation_oxygensatStatus { description: "Vital Sign Value recorded with UCUM.", path: "Observation.component.value[x]" }, + + "referenceRange": { + name: "referenceRange", + dataType: Observation_oxygensatReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "valueString": { name: "valueString", dataType: string, @@ -969,6 +993,7 @@ public type Observation_oxygensatComponent record {| r4:Extension[] modifierExtension?; r4:CodeableConcept valueCodeableConcept?; r4:Ratio valueRatio?; + Observation_oxygensatReferenceRange[] referenceRange?; string valueString?; r4:CodeableConcept[] interpretation?; r4:SampledData valueSampledData?; diff --git a/international401/resource_observation_resprate.bal b/international401/resource_observation_resprate.bal index c8b18ae5..02239f32 100644 --- a/international401/resource_observation_resprate.bal +++ b/international401/resource_observation_resprate.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OBSERVATION_RESPRATE = "http://hl7.org/fhir/StructureDefinition/resprate"; public const RESOURCE_NAME_OBSERVATION_RESPRATE = "Observation"; +public type observation_resprateExtensions (DiagnosticReportRisk|EventEventHistory|EventLocation|EventStatusReason|r4:Extension|ObservationAnalysisDateTime|ObservationBodyPosition|ObservationDelta|ObservationDeviceCode|ObservationFocusCode|ObservationGatewayDevice|ObservationGeneticsAllele|ObservationGeneticsAminoAcidChange|ObservationGeneticsAncestry|ObservationGeneticsCopyNumberEvent|ObservationGeneticsDNARegionName|ObservationGeneticsGene|ObservationGeneticsGenomicSourceClass|ObservationGeneticsInterpretation|ObservationGeneticsPhaseSet|ObservationGeneticsVariant|ObservationNatureOfAbnormalTest|ObservationPrecondition|ObservationReagent|ObservationReplaces|ObservationSecondaryFinding|ObservationSequelTo|ObservationSpecimenCode|ObservationStructureType|ObservationVSubid|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR observation_resprate resource record. # # + resourceType - The type of the resource describes @@ -370,7 +372,7 @@ public type observation_resprate record {| Observation_resprateValue valueQuantity?; r4:Identifier[] identifier?; r4:Reference[] performer?; - r4:Period effectivePeriod; + r4:Period effectivePeriod?; r4:CodeableConcept method?; r4:Reference[] hasMember?; r4:Reference encounter?; @@ -378,12 +380,15 @@ public type observation_resprate record {| Observation_resprateComponent[] component?; r4:Resource[] contained?; Observation_resprateReferenceRange[] referenceRange?; - r4:dateTime effectiveDateTime; + r4:dateTime effectiveDateTime?; r4:CodeableConcept[] interpretation?; r4:Meta meta?; r4:uri implicitRules?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category constraint. This field must be an array containing at least one item." + } } r4:CodeableConcept[] category; r4:Reference device?; @@ -659,6 +664,7 @@ public type Observation_resprateCode record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + valueCodeableConcept - Vital Sign Value recorded with UCUM. # + valueRatio - Vital Sign Value recorded with UCUM. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + valueString - Vital Sign Value recorded with UCUM. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + valueSampledData - Vital Sign Value recorded with UCUM. @@ -752,6 +758,17 @@ public type Observation_resprateCode record {| description: "Vital Sign Value recorded with UCUM.", path: "Observation.component.value[x]" }, + + "referenceRange": { + name: "referenceRange", + dataType: Observation_resprateReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "valueString": { name: "valueString", dataType: string, @@ -842,6 +859,7 @@ public type Observation_resprateComponent record {| r4:Extension[] modifierExtension?; r4:CodeableConcept valueCodeableConcept?; r4:Ratio valueRatio?; + Observation_resprateReferenceRange[] referenceRange?; string valueString?; r4:CodeableConcept[] interpretation?; r4:SampledData valueSampledData?; @@ -1126,7 +1144,14 @@ public type Observation_resprateCategoryVSCat record {| *r4:CodeableConcept; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at most one item." + } } Observation_resprateCategoryCoding[] coding; r4:Extension[] extension?; diff --git a/international401/resource_observation_vitalsigns.bal b/international401/resource_observation_vitalsigns.bal index c92b8143..355b25e6 100644 --- a/international401/resource_observation_vitalsigns.bal +++ b/international401/resource_observation_vitalsigns.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OBSERVATION_VITALSIGNS = "http://hl7.org/fhir/StructureDefinition/vitalsigns"; public const RESOURCE_NAME_OBSERVATION_VITALSIGNS = "Observation"; +public type observation_vitalsignsExtensions (DiagnosticReportRisk|EventEventHistory|EventLocation|EventStatusReason|r4:Extension|ObservationAnalysisDateTime|ObservationBodyPosition|ObservationDelta|ObservationDeviceCode|ObservationFocusCode|ObservationGatewayDevice|ObservationGeneticsAllele|ObservationGeneticsAminoAcidChange|ObservationGeneticsAncestry|ObservationGeneticsCopyNumberEvent|ObservationGeneticsDNARegionName|ObservationGeneticsGene|ObservationGeneticsGenomicSourceClass|ObservationGeneticsInterpretation|ObservationGeneticsPhaseSet|ObservationGeneticsVariant|ObservationNatureOfAbnormalTest|ObservationPrecondition|ObservationReagent|ObservationReplaces|ObservationSecondaryFinding|ObservationSequelTo|ObservationSpecimenCode|ObservationStructureType|ObservationVSubid|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR observation_vitalsigns resource record. # # + resourceType - The type of the resource describes @@ -467,7 +469,7 @@ public type observation_vitalsigns record {| r4:Quantity valueQuantity?; r4:Identifier[] identifier?; r4:Reference[] performer?; - r4:Period effectivePeriod; + r4:Period effectivePeriod?; r4:CodeableConcept method?; r4:Reference[] hasMember?; r4:Reference encounter?; @@ -476,14 +478,17 @@ public type observation_vitalsigns record {| r4:Resource[] contained?; Observation_vitalsignsReferenceRange[] referenceRange?; string valueString?; - r4:dateTime effectiveDateTime; + r4:dateTime effectiveDateTime?; r4:CodeableConcept[] interpretation?; r4:Meta meta?; r4:SampledData valueSampledData?; r4:Period valuePeriod?; r4:uri implicitRules?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category constraint. This field must be an array containing at least one item." + } } r4:CodeableConcept[] category; r4:Reference device?; @@ -618,6 +623,7 @@ public type Observation_vitalsignsReferenceRange record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + valueCodeableConcept - Vital Sign Value recorded with UCUM. # + valueRatio - Vital Sign Value recorded with UCUM. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + valueString - Vital Sign Value recorded with UCUM. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + valueSampledData - Vital Sign Value recorded with UCUM. @@ -711,6 +717,17 @@ public type Observation_vitalsignsReferenceRange record {| description: "Vital Sign Value recorded with UCUM.", path: "Observation.component.value[x]" }, + + "referenceRange": { + name: "referenceRange", + dataType: Observation_vitalsignsReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "valueString": { name: "valueString", dataType: string, @@ -801,6 +818,7 @@ public type Observation_vitalsignsComponent record {| r4:Extension[] modifierExtension?; r4:CodeableConcept valueCodeableConcept?; r4:Ratio valueRatio?; + Observation_vitalsignsReferenceRange[] referenceRange?; string valueString?; r4:CodeableConcept[] interpretation?; r4:SampledData valueSampledData?; @@ -961,7 +979,14 @@ public type Observation_vitalsignsCategoryVSCat record {| *r4:CodeableConcept; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at most one item." + } } Observation_vitalsignsCategoryCoding[] coding; r4:Extension[] extension?; diff --git a/international401/resource_observation_vitalspanel.bal b/international401/resource_observation_vitalspanel.bal index 8e0c9ad8..53b77861 100644 --- a/international401/resource_observation_vitalspanel.bal +++ b/international401/resource_observation_vitalspanel.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OBSERVATION_VITALSPANEL = "http://hl7.org/fhir/StructureDefinition/vitalspanel"; public const RESOURCE_NAME_OBSERVATION_VITALSPANEL = "Observation"; +public type observation_vitalspanelExtensions (DiagnosticReportRisk|EventEventHistory|EventLocation|EventStatusReason|r4:Extension|ObservationAnalysisDateTime|ObservationBodyPosition|ObservationDelta|ObservationDeviceCode|ObservationFocusCode|ObservationGatewayDevice|ObservationGeneticsAllele|ObservationGeneticsAminoAcidChange|ObservationGeneticsAncestry|ObservationGeneticsCopyNumberEvent|ObservationGeneticsDNARegionName|ObservationGeneticsGene|ObservationGeneticsGenomicSourceClass|ObservationGeneticsInterpretation|ObservationGeneticsPhaseSet|ObservationGeneticsVariant|ObservationNatureOfAbnormalTest|ObservationPrecondition|ObservationReagent|ObservationReplaces|ObservationSecondaryFinding|ObservationSequelTo|ObservationSpecimenCode|ObservationStructureType|ObservationVSubid|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); + # FHIR observation_vitalspanel resource record. # # + resourceType - The type of the resource describes @@ -467,10 +469,13 @@ public type observation_vitalspanel record {| r4:Quantity valueQuantity?; r4:Identifier[] identifier?; r4:Reference[] performer?; - r4:Period effectivePeriod; + r4:Period effectivePeriod?; r4:CodeableConcept method?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.hasMember constraint. This field must be an array containing at least one item." + } } r4:Reference[] hasMember; r4:Reference encounter?; @@ -479,14 +484,17 @@ public type observation_vitalspanel record {| r4:Resource[] contained?; Observation_vitalspanelReferenceRange[] referenceRange?; string valueString?; - r4:dateTime effectiveDateTime; + r4:dateTime effectiveDateTime?; r4:CodeableConcept[] interpretation?; r4:Meta meta?; r4:SampledData valueSampledData?; r4:Period valuePeriod?; r4:uri implicitRules?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category constraint. This field must be an array containing at least one item." + } } r4:CodeableConcept[] category; r4:Reference device?; @@ -599,6 +607,7 @@ public type Observation_vitalspanelCategoryCoding record {| # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + valueCodeableConcept - Vital Sign Value recorded with UCUM. # + valueRatio - Vital Sign Value recorded with UCUM. +# + referenceRange - Guidance on how to interpret the value by comparison to a normal or recommended range. # + valueString - Vital Sign Value recorded with UCUM. # + interpretation - A categorical assessment of an observation value. For example, high, low, normal. # + valueSampledData - Vital Sign Value recorded with UCUM. @@ -692,6 +701,17 @@ public type Observation_vitalspanelCategoryCoding record {| description: "Vital Sign Value recorded with UCUM.", path: "Observation.component.value[x]" }, + + "referenceRange": { + name: "referenceRange", + dataType: Observation_vitalspanelReferenceRange, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Guidance on how to interpret the value by comparison to a normal or recommended range.", + path: "Observation.component.referenceRange" + }, + "valueString": { name: "valueString", dataType: string, @@ -782,6 +802,7 @@ public type Observation_vitalspanelComponent record {| r4:Extension[] modifierExtension?; r4:CodeableConcept valueCodeableConcept?; r4:Ratio valueRatio?; + Observation_vitalspanelReferenceRange[] referenceRange?; string valueString?; r4:CodeableConcept[] interpretation?; r4:SampledData valueSampledData?; @@ -848,7 +869,14 @@ public type Observation_vitalspanelCategoryVSCat record {| *r4:CodeableConcept; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Observation.category.coding constraint. This field must be an array containing at most one item." + } } Observation_vitalspanelCategoryCoding[] coding; r4:Extension[] extension?; diff --git a/international401/resource_operation_definition.bal b/international401/resource_operation_definition.bal index 7a9fdb12..2412bc63 100644 --- a/international401/resource_operation_definition.bal +++ b/international401/resource_operation_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_OPERATIONDEFINITION = "http://hl7.org/fhir/StructureDefinition/OperationDefinition"; public const RESOURCE_NAME_OPERATIONDEFINITION = "OperationDefinition"; +public type OperationDefinitionExtensions (r4:Extension|Replaces|ResourceApprovalDate|ResourceEffectivePeriod|ResourceLastReviewDate|WorkflowShallComplyWith); + # FHIR OperationDefinition resource record. # # + resourceType - The type of the resource describes @@ -569,6 +571,7 @@ public enum OperationDefinitionKind { # + use - Whether this is an input or an output parameter. # + documentation - Describes the meaning or use of this parameter. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + part - The parts of a nested Parameter. # + binding - Binds to a value set if this parameter is coded (code, Coding, CodeableConcept). # + 'type - The type for this parameter. # + referencedFrom - Identifies other resource parameters within the operation invocation that are expected to resolve to this resource. @@ -634,6 +637,17 @@ public enum OperationDefinitionKind { description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "OperationDefinition.parameter.modifierExtension" }, + + "part": { + name: "part", + dataType: OperationDefinitionParameter, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The parts of a nested Parameter.", + path: "OperationDefinition.parameter.part" + }, + "binding": { name: "binding", dataType: OperationDefinitionParameterBinding, @@ -712,6 +726,7 @@ public type OperationDefinitionParameter record {| OperationDefinitionParameterUse use; string documentation?; r4:Extension[] modifierExtension?; + OperationDefinitionParameter[] part?; OperationDefinitionParameterBinding binding?; r4:code 'type?; OperationDefinitionParameterReferencedFrom[] referencedFrom?; diff --git a/international401/resource_organization.bal b/international401/resource_organization.bal index ff6d797f..5c17e07a 100644 --- a/international401/resource_organization.bal +++ b/international401/resource_organization.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_ORGANIZATION = "http://hl7.org/fhir/StructureDefinition/Organization"; public const RESOURCE_NAME_ORGANIZATION = "Organization"; +public type OrganizationExtensions (r4:Extension|LocationCommunication|OrganizationBrand|OrganizationPeriod|OrganizationPortal|PatientPreferredPharmacy); + # FHIR Organization resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_organization_affiliation.bal b/international401/resource_organization_affiliation.bal index 759462c4..d382e60f 100644 --- a/international401/resource_organization_affiliation.bal +++ b/international401/resource_organization_affiliation.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_ORGANIZATIONAFFILIATION = "http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation"; public const RESOURCE_NAME_ORGANIZATIONAFFILIATION = "OrganizationAffiliation"; +public type OrganizationAffiliationExtensions (r4:Extension|LocationCommunication); + # FHIR OrganizationAffiliation resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_parameters.bal b/international401/resource_parameters.bal index cad464f7..e5164373 100644 --- a/international401/resource_parameters.bal +++ b/international401/resource_parameters.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except // in compliance with the License. @@ -126,6 +126,7 @@ public type Parameters record {| # + valueExpression - If the parameter is a data type. # + valueReference - If the parameter is a data type. # + valueRange - If the parameter is a data type. +# + part - A named part of a multi-part parameter. # + valueUri - If the parameter is a data type. # + valueDistance - If the parameter is a data type. # + valueUrl - If the parameter is a data type. @@ -147,7 +148,7 @@ public type Parameters record {| # + valueDuration - If the parameter is a data type. # + valueDataRequirement - If the parameter is a data type. # + valueAnnotation - If the parameter is a data type. -# + part - Parts of a nested Parameter. + @r4:DataTypeDefinition { name: "ParametersParameter", baseType: (), @@ -458,6 +459,17 @@ public type Parameters record {| description: "If the parameter is a data type.", path: "Parameters.parameter.value[x]" }, + + "part": { + name: "part", + dataType: ParametersParameter, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A named part of a multi-part parameter.", + path: "Parameters.parameter.part" + }, + "valueUri": { name: "valueUri", dataType: r4:uri, @@ -646,15 +658,6 @@ public type Parameters record {| isArray: false, description: "If the parameter is a data type.", path: "Parameters.parameter.value[x]" - }, - "part": { - name: "part", - dataType: ParametersParameter, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Parts of a nested Parameter.", - path: "Parameters.parameter.part" } }, serializers: { @@ -699,6 +702,7 @@ public type ParametersParameter record {| r4:Expression valueExpression?; r4:Reference valueReference?; r4:Range valueRange?; + ParametersParameter[] part?; r4:uri valueUri?; r4:Distance valueDistance?; r4:urlType valueUrl?; @@ -720,5 +724,4 @@ public type ParametersParameter record {| r4:Duration valueDuration?; r4:DataRequirement valueDataRequirement?; r4:Annotation valueAnnotation?; - ParametersParameter[] part?; |}; diff --git a/international401/resource_patient.bal b/international401/resource_patient.bal index aa7e5798..e22e17f7 100644 --- a/international401/resource_patient.bal +++ b/international401/resource_patient.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_PATIENT = "http://hl7.org/fhir/StructureDefinition/Patient"; public const RESOURCE_NAME_PATIENT = "Patient"; +public type PatientExtensions (r4:Extension|IndividualGenderIdentity|IndividualPronouns|IndividualRecordedSexOrGender|PatientAdoptionInfo|PatientAnimal|PatientBirthPlace|PatientBornStatus|PatientCadavericDonor|PatientCitizenship|PatientCongregation|PatientDisability|PatientFetalStatus|PatientGenderIdentity|PatientImportance|PatientInterpreterRequired|PatientKnownNonDuplicate|PatientMothersMaidenName|PatientNationality|PatientPreferredPharmacy|PatientReligion|PatientUnknownIdentity); + # FHIR Patient resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_payment_notice.bal b/international401/resource_payment_notice.bal index 05a387a1..9855bea6 100644 --- a/international401/resource_payment_notice.bal +++ b/international401/resource_payment_notice.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_PAYMENTNOTICE = "http://hl7.org/fhir/StructureDefinition/PaymentNotice"; public const RESOURCE_NAME_PAYMENTNOTICE = "PaymentNotice"; +public type PaymentNoticeExtensions (EventBasedOn|r4:Extension); + # FHIR PaymentNotice resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_payment_reconciliation.bal b/international401/resource_payment_reconciliation.bal index 65d25096..41558dde 100644 --- a/international401/resource_payment_reconciliation.bal +++ b/international401/resource_payment_reconciliation.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_PAYMENTRECONCILIATION = "http://hl7.org/fhir/StructureDefinition/PaymentReconciliation"; public const RESOURCE_NAME_PAYMENTRECONCILIATION = "PaymentReconciliation"; +public type PaymentReconciliationExtensions (EventBasedOn|r4:Extension); + # FHIR PaymentReconciliation resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_person.bal b/international401/resource_person.bal index 8bb82890..548e48f9 100644 --- a/international401/resource_person.bal +++ b/international401/resource_person.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_PERSON = "http://hl7.org/fhir/StructureDefinition/Person"; public const RESOURCE_NAME_PERSON = "Person"; +public type PersonExtensions (r4:Extension|IndividualGenderIdentity|IndividualPronouns|IndividualRecordedSexOrGender); + # FHIR Person resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_pico_element_profile.bal b/international401/resource_picoelement_profile.bal similarity index 90% rename from international401/resource_pico_element_profile.bal rename to international401/resource_picoelement_profile.bal index 099f5fd5..1b49b5c0 100644 --- a/international401/resource_pico_element_profile.bal +++ b/international401/resource_picoelement_profile.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -13,17 +13,19 @@ // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. - +// // AUTO-GENERATED FILE. // This file is auto-generated by Ballerina. import ballerina/constraint; import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_PICO_ELEMENT_PROFILE = "http://hl7.org/fhir/StructureDefinition/picoelement"; -public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; +public const string PROFILE_BASE_PICOELEMENTPROFILE = "http://hl7.org/fhir/StructureDefinition/picoelement"; +public const RESOURCE_NAME_PICOELEMENTPROFILE = "EvidenceVariable"; + +public type PICOElementProfileExtensions (r4:Extension|Replaces); -# FHIR PICO_Element_Profile resource record. +# FHIR PICOElementProfile resource record. # # + resourceType - The type of the resource describes # + date - The date (and optionally time) when the evidence variable was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the evidence variable changes. @@ -61,12 +63,13 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; # + topic - Descriptive topics related to the content of the EvidenceVariable. Topics provide a high-level categorization grouping types of EvidenceVariables that can be useful for filtering and searching. # + useContext - The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate evidence variable instances. # + status - The status of this evidence variable. Enables tracking the life-cycle of the content. + @r4:ResourceDefinition { resourceType: "EvidenceVariable", baseType: r4:DomainResource, profile: "http://hl7.org/fhir/StructureDefinition/picoelement", elements: { - "date" : { + "date": { name: "date", dataType: r4:dateTime, min: 0, @@ -74,7 +77,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.date" }, - "note" : { + + "note": { name: "note", dataType: r4:Annotation, min: 0, @@ -82,7 +86,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: true, path: "EvidenceVariable.note" }, - "copyright" : { + + "copyright": { name: "copyright", dataType: r4:markdown, min: 0, @@ -90,7 +95,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.copyright" }, - "extension" : { + + "extension": { name: "extension", dataType: r4:Extension, min: 0, @@ -98,7 +104,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: true, path: "EvidenceVariable.extension" }, - "approvalDate" : { + + "approvalDate": { name: "approvalDate", dataType: r4:date, min: 0, @@ -106,7 +113,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.approvalDate" }, - "jurisdiction" : { + + "jurisdiction": { name: "jurisdiction", dataType: r4:CodeableConcept, min: 0, @@ -115,7 +123,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; path: "EvidenceVariable.jurisdiction", valueSet: "http://hl7.org/fhir/ValueSet/jurisdiction" }, - "modifierExtension" : { + + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, min: 0, @@ -123,7 +132,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: true, path: "EvidenceVariable.modifierExtension" }, - "description" : { + + "description": { name: "description", dataType: r4:markdown, min: 0, @@ -131,7 +141,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.description" }, - "language" : { + + "language": { name: "language", dataType: r4:code, min: 0, @@ -140,7 +151,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; path: "EvidenceVariable.language", valueSet: "http://hl7.org/fhir/ValueSet/languages" }, - "shortTitle" : { + + "shortTitle": { name: "shortTitle", dataType: string, min: 0, @@ -148,7 +160,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.shortTitle" }, - "title" : { + + "title": { name: "title", dataType: string, min: 0, @@ -156,24 +169,27 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.title" }, - "type" : { + + "type": { name: "type", - dataType: PICO_Element_ProfileType, + dataType: PICOElementProfileType, min: 0, max: 1, isArray: false, path: "EvidenceVariable.type", valueSet: "http://hl7.org/fhir/ValueSet/variable-type|4.0.1" }, - "characteristic" : { + + "characteristic": { name: "characteristic", - dataType: PICO_Element_ProfileCharacteristic, + dataType: PICOElementProfileCharacteristic, min: 1, max: int:MAX_VALUE, isArray: true, path: "EvidenceVariable.characteristic" }, - "contact" : { + + "contact": { name: "contact", dataType: r4:ContactDetail, min: 0, @@ -181,7 +197,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: true, path: "EvidenceVariable.contact" }, - "endorser" : { + + "endorser": { name: "endorser", dataType: r4:ContactDetail, min: 0, @@ -189,7 +206,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: true, path: "EvidenceVariable.endorser" }, - "id" : { + + "id": { name: "id", dataType: string, min: 0, @@ -197,7 +215,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.id" }, - "text" : { + + "text": { name: "text", dataType: r4:Narrative, min: 0, @@ -205,7 +224,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.text" }, - "editor" : { + + "editor": { name: "editor", dataType: r4:ContactDetail, min: 0, @@ -213,7 +233,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: true, path: "EvidenceVariable.editor" }, - "identifier" : { + + "identifier": { name: "identifier", dataType: r4:Identifier, min: 0, @@ -221,7 +242,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: true, path: "EvidenceVariable.identifier" }, - "relatedArtifact" : { + + "relatedArtifact": { name: "relatedArtifact", dataType: r4:RelatedArtifact, min: 0, @@ -229,7 +251,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: true, path: "EvidenceVariable.relatedArtifact" }, - "effectivePeriod" : { + + "effectivePeriod": { name: "effectivePeriod", dataType: r4:Period, min: 0, @@ -237,7 +260,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.effectivePeriod" }, - "author" : { + + "author": { name: "author", dataType: r4:ContactDetail, min: 0, @@ -245,7 +269,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: true, path: "EvidenceVariable.author" }, - "reviewer" : { + + "reviewer": { name: "reviewer", dataType: r4:ContactDetail, min: 0, @@ -253,7 +278,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: true, path: "EvidenceVariable.reviewer" }, - "version" : { + + "version": { name: "version", dataType: string, min: 0, @@ -261,7 +287,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.version" }, - "url" : { + + "url": { name: "url", dataType: r4:uri, min: 0, @@ -269,7 +296,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.url" }, - "contained" : { + + "contained": { name: "contained", dataType: r4:Resource, min: 0, @@ -277,7 +305,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: true, path: "EvidenceVariable.contained" }, - "lastReviewDate" : { + + "lastReviewDate": { name: "lastReviewDate", dataType: r4:date, min: 0, @@ -285,7 +314,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.lastReviewDate" }, - "meta" : { + + "meta": { name: "meta", dataType: r4:Meta, min: 0, @@ -293,7 +323,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.meta" }, - "subtitle" : { + + "subtitle": { name: "subtitle", dataType: string, min: 0, @@ -301,7 +332,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.subtitle" }, - "name" : { + + "name": { name: "name", dataType: string, min: 0, @@ -309,7 +341,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.name" }, - "implicitRules" : { + + "implicitRules": { name: "implicitRules", dataType: r4:uri, min: 0, @@ -317,7 +350,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.implicitRules" }, - "publisher" : { + + "publisher": { name: "publisher", dataType: string, min: 0, @@ -325,7 +359,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: false, path: "EvidenceVariable.publisher" }, - "topic" : { + + "topic": { name: "topic", dataType: r4:CodeableConcept, min: 0, @@ -334,7 +369,8 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; path: "EvidenceVariable.topic", valueSet: "http://hl7.org/fhir/ValueSet/definition-topic" }, - "useContext" : { + + "useContext": { name: "useContext", dataType: r4:UsageContext, min: 0, @@ -342,25 +378,29 @@ public const RESOURCE_NAME_PICO_ELEMENT_PROFILE = "EvidenceVariable"; isArray: true, path: "EvidenceVariable.useContext" }, - "status" : { + + "status": { name: "status", - dataType: PICO_Element_ProfileStatus, + dataType: PICOElementProfileStatus, min: 1, max: 1, isArray: false, path: "EvidenceVariable.status", valueSet: "http://hl7.org/fhir/ValueSet/publication-status|4.0.1" } + }, + serializers: { 'xml: r4:fhirResourceXMLSerializer, 'json: r4:fhirResourceJsonSerializer } } -public type PICO_Element_Profile record {| + +public type PICOElementProfile record {| *r4:DomainResource; - RESOURCE_NAME_PICO_ELEMENT_PROFILE resourceType = RESOURCE_NAME_PICO_ELEMENT_PROFILE; + RESOURCE_NAME_PICOELEMENTPROFILE resourceType = RESOURCE_NAME_PICOELEMENTPROFILE; r4:dateTime date?; r4:Annotation[] note?; @@ -373,11 +413,14 @@ public type PICO_Element_Profile record {| r4:code language?; string shortTitle?; string title?; - PICO_Element_ProfileType 'type?; + PICOElementProfileType 'type?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.EvidenceVariable.characteristic constraint. This field must be an array containing at least one item." + } } - PICO_Element_ProfileCharacteristic[] characteristic; + PICOElementProfileCharacteristic[] characteristic; r4:ContactDetail[] contact?; r4:ContactDetail[] endorser?; string id?; @@ -399,36 +442,11 @@ public type PICO_Element_Profile record {| string publisher?; r4:CodeableConcept[] topic?; r4:UsageContext[] useContext?; - PICO_Element_ProfileStatus status; - r4:Element ...; + PICOElementProfileStatus status; + r4:Element...; |}; -# PICO_Element_ProfileStatus enum -public enum PICO_Element_ProfileStatus { - CODE_STATUS_DRAFT = "draft", - CODE_STATUS_ACTIVE = "active", - CODE_STATUS_RETIRED = "retired", - CODE_STATUS_UNKNOWN = "unknown" -} - -# PICO_Element_ProfileType enum -public enum PICO_Element_ProfileType { - CODE_TYPE_CONTINUOUS = "continuous", - CODE_TYPE_DESCRIPTIVE = "descriptive", - CODE_TYPE_DICHOTOMOUS = "dichotomous" -} - -# PICO_Element_ProfileCharacteristicGroupMeasure enum -public enum PICO_Element_ProfileCharacteristicGroupMeasure { - CODE_GROUPMEASURE_MEAN_OF_MEDIAN = "mean-of-median", - CODE_GROUPMEASURE_MEDIAN = "median", - CODE_GROUPMEASURE_MEAN = "mean", - CODE_GROUPMEASURE_MEDIAN_OF_MEDIAN = "median-of-median", - CODE_GROUPMEASURE_MEDIAN_OF_MEAN = "median-of-mean", - CODE_GROUPMEASURE_MEAN_OF_MEAN = "mean-of-mean" -} - -# FHIR PICO_Element_ProfileCharacteristic datatype record. +# FHIR PICOElementProfileCharacteristic datatype record. # # + participantEffectiveTiming - Indicates what effective period the study covers. # + definitionCodeableConcept - Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year). @@ -448,8 +466,9 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { # + exclude - When true, members with this characteristic are excluded from the element. # + participantEffectiveDuration - Indicates what effective period the study covers. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. + @r4:DataTypeDefinition { - name: "PICO_Element_ProfileCharacteristic", + name: "PICOElementProfileCharacteristic", baseType: (), elements: { "participantEffectiveTiming": { @@ -461,6 +480,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "Indicates what effective period the study covers.", path: "EvidenceVariable.characteristic.participantEffective[x]" }, + "definitionCodeableConcept": { name: "definitionCodeableConcept", dataType: r4:CodeableConcept, @@ -470,6 +490,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", path: "EvidenceVariable.characteristic.definition[x]" }, + "participantEffectivePeriod": { name: "participantEffectivePeriod", dataType: r4:Period, @@ -479,6 +500,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "Indicates what effective period the study covers.", path: "EvidenceVariable.characteristic.participantEffective[x]" }, + "usageContext": { name: "usageContext", dataType: r4:UsageContext, @@ -488,6 +510,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "Use UsageContext to define the members of the population, such as Age Ranges, Genders, Settings.", path: "EvidenceVariable.characteristic.usageContext" }, + "definitionCanonical": { name: "definitionCanonical", dataType: r4:canonical, @@ -497,6 +520,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", path: "EvidenceVariable.characteristic.definition[x]" }, + "extension": { name: "extension", dataType: r4:Extension, @@ -506,6 +530,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "EvidenceVariable.characteristic.extension" }, + "definitionDataRequirement": { name: "definitionDataRequirement", dataType: r4:DataRequirement, @@ -515,15 +540,17 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", path: "EvidenceVariable.characteristic.definition[x]" }, + "groupMeasure": { name: "groupMeasure", - dataType: PICO_Element_ProfileCharacteristicGroupMeasure, + dataType: PICOElementProfileCharacteristicGroupMeasure, min: 0, max: 1, isArray: false, description: "Indicates how elements are aggregated within the study effective period.", path: "EvidenceVariable.characteristic.groupMeasure" }, + "participantEffectiveDateTime": { name: "participantEffectiveDateTime", dataType: r4:dateTime, @@ -533,6 +560,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "Indicates what effective period the study covers.", path: "EvidenceVariable.characteristic.participantEffective[x]" }, + "timeFromStart": { name: "timeFromStart", dataType: r4:Duration, @@ -542,6 +570,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "Indicates duration from the participant's study entry.", path: "EvidenceVariable.characteristic.timeFromStart" }, + "definitionReference": { name: "definitionReference", dataType: r4:Reference, @@ -551,6 +580,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", path: "EvidenceVariable.characteristic.definition[x]" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -560,6 +590,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "EvidenceVariable.characteristic.modifierExtension" }, + "description": { name: "description", dataType: string, @@ -569,6 +600,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user.", path: "EvidenceVariable.characteristic.description" }, + "definitionExpression": { name: "definitionExpression", dataType: r4:Expression, @@ -578,6 +610,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", path: "EvidenceVariable.characteristic.definition[x]" }, + "definitionTriggerDefinition": { name: "definitionTriggerDefinition", dataType: r4:TriggerDefinition, @@ -587,6 +620,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).", path: "EvidenceVariable.characteristic.definition[x]" }, + "exclude": { name: "exclude", dataType: boolean, @@ -596,6 +630,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "When true, members with this characteristic are excluded from the element.", path: "EvidenceVariable.characteristic.exclude" }, + "participantEffectiveDuration": { name: "participantEffectiveDuration", dataType: r4:Duration, @@ -605,6 +640,7 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { description: "Indicates what effective period the study covers.", path: "EvidenceVariable.characteristic.participantEffective[x]" }, + "id": { name: "id", dataType: string, @@ -615,31 +651,58 @@ public enum PICO_Element_ProfileCharacteristicGroupMeasure { path: "EvidenceVariable.characteristic.id" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type PICO_Element_ProfileCharacteristic record {| + +public type PICOElementProfileCharacteristic record {| *r4:BackboneElement; r4:Timing participantEffectiveTiming?; - r4:CodeableConcept definitionCodeableConcept; + r4:CodeableConcept definitionCodeableConcept?; r4:Period participantEffectivePeriod?; r4:UsageContext[] usageContext?; - r4:canonical definitionCanonical; + r4:canonical definitionCanonical?; r4:Extension[] extension?; - r4:DataRequirement definitionDataRequirement; - PICO_Element_ProfileCharacteristicGroupMeasure groupMeasure?; + r4:DataRequirement definitionDataRequirement?; + PICOElementProfileCharacteristicGroupMeasure groupMeasure?; r4:dateTime participantEffectiveDateTime?; r4:Duration timeFromStart?; - r4:Reference definitionReference; + r4:Reference definitionReference?; r4:Extension[] modifierExtension?; string description?; - r4:Expression definitionExpression; - r4:TriggerDefinition definitionTriggerDefinition; + r4:Expression definitionExpression?; + r4:TriggerDefinition definitionTriggerDefinition?; boolean exclude?; r4:Duration participantEffectiveDuration?; string id?; |}; +# PICOElementProfileType enum +public enum PICOElementProfileType { + CODE_TYPE_CONTINUOUS = "continuous", + CODE_TYPE_DESCRIPTIVE = "descriptive", + CODE_TYPE_DICHOTOMOUS = "dichotomous" +} + +# PICOElementProfileStatus enum +public enum PICOElementProfileStatus { + CODE_STATUS_DRAFT = "draft", + CODE_STATUS_ACTIVE = "active", + CODE_STATUS_RETIRED = "retired", + CODE_STATUS_UNKNOWN = "unknown" +} + +# PICOElementProfileCharacteristicGroupMeasure enum +public enum PICOElementProfileCharacteristicGroupMeasure { + CODE_GROUPMEASURE_MEAN_OF_MEDIAN = "mean-of-median", + CODE_GROUPMEASURE_MEDIAN = "median", + CODE_GROUPMEASURE_MEAN = "mean", + CODE_GROUPMEASURE_MEDIAN_OF_MEDIAN = "median-of-median", + CODE_GROUPMEASURE_MEDIAN_OF_MEAN = "median-of-mean", + CODE_GROUPMEASURE_MEAN_OF_MEAN = "mean-of-mean" +} + diff --git a/international401/resource_plan_definition.bal b/international401/resource_plan_definition.bal index fcc98b7b..1d4f1eb7 100644 --- a/international401/resource_plan_definition.bal +++ b/international401/resource_plan_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_PLANDEFINITION = "http://hl7.org/fhir/StructureDefinition/PlanDefinition"; public const RESOURCE_NAME_PLANDEFINITION = "PlanDefinition"; +public type PlanDefinitionExtensions (CqfCdsHooksEndpoint|CqfTargetInvariant|r4:Extension|Replaces|TargetConstraint|Variable|WorkflowShallComplyWith); + # FHIR PlanDefinition resource record. # # + resourceType - The type of the resource describes @@ -588,21 +590,22 @@ public type PlanDefinitionGoal record {| # FHIR PlanDefinitionGoalTarget datatype record. # -# + detailPlanDefinitionCodeableConcept - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + detailRange - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + measure - The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level. # + due - Indicates the timeframe after the start of the goal in which the goal should be met. -# + detailPlanDefinitionQuantity - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + detailQuantity - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + detailCodeableConcept - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + detailPlanDefinitionRange - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. + @r4:DataTypeDefinition { name: "PlanDefinitionGoalTarget", baseType: (), elements: { - "detailPlanDefinitionCodeableConcept": { - name: "detailPlanDefinitionCodeableConcept", - dataType: r4:CodeableConcept, + "detailRange": { + name: "detailRange", + dataType: r4:Range, min: 0, max: 1, isArray: false, @@ -636,8 +639,9 @@ public type PlanDefinitionGoal record {| description: "Indicates the timeframe after the start of the goal in which the goal should be met.", path: "PlanDefinition.goal.target.due" }, - "detailPlanDefinitionQuantity": { - name: "detailPlanDefinitionQuantity", + + "detailQuantity": { + name: "detailQuantity", dataType: r4:Quantity, min: 0, max: 1, @@ -654,6 +658,17 @@ public type PlanDefinitionGoal record {| description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "PlanDefinition.goal.target.modifierExtension" }, + + "detailCodeableConcept": { + name: "detailCodeableConcept", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", + path: "PlanDefinition.goal.target.detail[x]" + }, + "id": { name: "id", dataType: string, @@ -662,15 +677,6 @@ public type PlanDefinitionGoal record {| isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "PlanDefinition.goal.target.id" - }, - "detailPlanDefinitionRange": { - name: "detailPlanDefinitionRange", - dataType: r4:Range, - min: 0, - max: 1, - isArray: false, - description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", - path: "PlanDefinition.goal.target.detail[x]" } }, serializers: { @@ -681,14 +687,14 @@ public type PlanDefinitionGoal record {| public type PlanDefinitionGoalTarget record {| *r4:BackboneElement; - r4:CodeableConcept detailPlanDefinitionCodeableConcept?; + r4:Range detailRange?; r4:Extension[] extension?; r4:CodeableConcept measure?; r4:Duration due?; - r4:Quantity detailPlanDefinitionQuantity?; + r4:Quantity detailQuantity?; r4:Extension[] modifierExtension?; + r4:CodeableConcept detailCodeableConcept?; string id?; - r4:Range detailPlanDefinitionRange?; |}; # FHIR PlanDefinitionActionDynamicValue datatype record. @@ -772,9 +778,7 @@ public enum PlanDefinitionActionGroupingBehavior { # FHIR PlanDefinitionActionRelatedAction datatype record. # -# + offsetPlanDefinitionRange - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + offsetPlanDefinitionDuration - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + actionId - The element id of the related action. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @@ -783,15 +787,6 @@ public enum PlanDefinitionActionGroupingBehavior { name: "PlanDefinitionActionRelatedAction", baseType: (), elements: { - "offsetPlanDefinitionRange": { - name: "offsetPlanDefinitionRange", - dataType: r4:Range, - min: 0, - max: 1, - isArray: false, - description: "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", - path: "PlanDefinition.action.relatedAction.offset[x]" - }, "extension": { name: "extension", dataType: r4:Extension, @@ -801,15 +796,7 @@ public enum PlanDefinitionActionGroupingBehavior { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "PlanDefinition.action.relatedAction.extension" }, - "offsetPlanDefinitionDuration": { - name: "offsetPlanDefinitionDuration", - dataType: r4:Duration, - min: 0, - max: 1, - isArray: false, - description: "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", - path: "PlanDefinition.action.relatedAction.offset[x]" - }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -855,9 +842,7 @@ public enum PlanDefinitionActionGroupingBehavior { public type PlanDefinitionActionRelatedAction record {| *r4:BackboneElement; - r4:Range offsetPlanDefinitionRange?; r4:Extension[] extension?; - r4:Duration offsetPlanDefinitionDuration?; r4:Extension[] modifierExtension?; r4:id actionId; string id?; @@ -912,6 +897,7 @@ public enum PlanDefinitionStatus { # + output - Defines the outputs of the action, if any. # + transform - A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input. # + dynamicValue - Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result. +# + action - Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition. # + timingAge - An optional value describing when the action should be performed. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + relatedAction - A relationship to another action such as 'before' or '30-60 minutes after start of'. @@ -1096,6 +1082,17 @@ public enum PlanDefinitionStatus { description: "Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result.", path: "PlanDefinition.action.dynamicValue" }, + + "action": { + name: "action", + dataType: PlanDefinitionAction, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition.", + path: "PlanDefinition.action.action" + }, + "timingAge": { name: "timingAge", dataType: r4:Age, @@ -1285,6 +1282,7 @@ public type PlanDefinitionAction record {| r4:DataRequirement[] output?; r4:canonical transform?; PlanDefinitionActionDynamicValue[] dynamicValue?; + PlanDefinitionAction[] action?; r4:Age timingAge?; string id?; PlanDefinitionActionRelatedAction[] relatedAction?; diff --git a/international401/resource_practitioner.bal b/international401/resource_practitioner.bal index 68cc5984..7fbe37a6 100644 --- a/international401/resource_practitioner.bal +++ b/international401/resource_practitioner.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_PRACTITIONER = "http://hl7.org/fhir/StructureDefinition/Practitioner"; public const RESOURCE_NAME_PRACTITIONER = "Practitioner"; +public type PractitionerExtensions (r4:Extension|IndividualGenderIdentity|IndividualPronouns|IndividualRecordedSexOrGender|PatientInterpreterRequired|PractitionerAnimalSpecies|PractitionerJobTitle); + # FHIR Practitioner resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_practitioner_role.bal b/international401/resource_practitioner_role.bal index f540b569..8ea3c8df 100644 --- a/international401/resource_practitioner_role.bal +++ b/international401/resource_practitioner_role.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_PRACTITIONERROLE = "http://hl7.org/fhir/StructureDefinition/PractitionerRole"; public const RESOURCE_NAME_PRACTITIONERROLE = "PractitionerRole"; +public type PractitionerRoleExtensions (r4:Extension|IndividualGenderIdentity|PatientPreferredPharmacy|PractitionerJobTitle|PractitionerroleEmploymentStatus); + # FHIR PractitionerRole resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_procedure.bal b/international401/resource_procedure.bal index 7b8c4851..8a9aa7a6 100644 --- a/international401/resource_procedure.bal +++ b/international401/resource_procedure.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_PROCEDURE = "http://hl7.org/fhir/StructureDefinition/Procedure"; public const RESOURCE_NAME_PROCEDURE = "Procedure"; +public type ProcedureExtensions (r4:Extension|ProcedureApproachBodyStructure|ProcedureCausedBy|ProcedureDirectedBy|ProcedureIncisionDateTime|ProcedureMethod|ProcedureProgressStatus|ProcedureSchedule|ProcedureTargetBodyStructure|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowFollowOnOf|WorkflowGeneratedFrom|WorkflowReleaseDate|WorkflowResearchStudy|WorkflowTriggeredBy); + # FHIR Procedure resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_profile_for_catalog.bal b/international401/resource_profilefor_catalog.bal similarity index 87% rename from international401/resource_profile_for_catalog.bal rename to international401/resource_profilefor_catalog.bal index f9b7e9aa..a67fd246 100644 --- a/international401/resource_profile_for_catalog.bal +++ b/international401/resource_profilefor_catalog.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -13,26 +13,23 @@ // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. - +// // AUTO-GENERATED FILE. // This file is auto-generated by Ballerina. import ballerina/constraint; import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_PROFILE_FOR_CATALOG = "http://hl7.org/fhir/StructureDefinition/catalog"; -public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; +public const string PROFILE_BASE_PROFILEFORCATALOG = "http://hl7.org/fhir/StructureDefinition/catalog"; +public const RESOURCE_NAME_PROFILEFORCATALOG = "Composition"; + +public type ProfileforCatalogExtensions (CompositionClinicaldocumentOtherConfidentiality|CompositionClinicaldocumentVersionNumber|CqmValidityPeriod|EventBasedOn|r4:Extension|WorkflowEpisodeOfCare|WorkflowResearchStudy); -# FHIR Profile_for_Catalog resource record. +# FHIR ProfileforCatalog resource record. # # + resourceType - The type of the resource describes # + identifier - A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time. # + extension - An Extension -# * extension Slicings -# 1) Extension: The validity of the catalog -# - min = 1 -# - max = 1 -# # + custodian - Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information. # + author - Identifies who is responsible for the information in the composition, not necessarily who typed it in. # + subject - Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure). @@ -53,12 +50,13 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; # + event - The clinical service, such as a colonoscopy or an appendectomy, being documented. # + relatesTo - Relationships that this composition has with other compositions or documents that already exist. # + status - The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document. + @r4:ResourceDefinition { resourceType: "Composition", baseType: r4:DomainResource, profile: "http://hl7.org/fhir/StructureDefinition/catalog", elements: { - "identifier" : { + "identifier": { name: "identifier", dataType: r4:Identifier, min: 0, @@ -66,7 +64,8 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; isArray: false, path: "Composition.identifier" }, - "extension" : { + + "extension": { name: "extension", dataType: r4:Extension, min: 0, @@ -74,7 +73,8 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; isArray: true, path: "Composition.extension" }, - "custodian" : { + + "custodian": { name: "custodian", dataType: r4:Reference, min: 0, @@ -82,7 +82,8 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; isArray: false, path: "Composition.custodian" }, - "author" : { + + "author": { name: "author", dataType: r4:Reference, min: 1, @@ -90,7 +91,8 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; isArray: true, path: "Composition.author" }, - "subject" : { + + "subject": { name: "subject", dataType: r4:Reference, min: 0, @@ -98,7 +100,8 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; isArray: false, path: "Composition.subject" }, - "confidentiality" : { + + "confidentiality": { name: "confidentiality", dataType: r4:code, min: 0, @@ -107,7 +110,8 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; path: "Composition.confidentiality", valueSet: "http://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification|2014-03-26" }, - "modifierExtension" : { + + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, min: 0, @@ -115,7 +119,8 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; isArray: true, path: "Composition.modifierExtension" }, - "language" : { + + "language": { name: "language", dataType: r4:code, min: 0, @@ -124,15 +129,17 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; path: "Composition.language", valueSet: "http://hl7.org/fhir/ValueSet/languages" }, - "section" : { + + "section": { name: "section", - dataType: Profile_for_CatalogSection, + dataType: ProfileforCatalogSection, min: 0, max: int:MAX_VALUE, isArray: true, path: "Composition.section" }, - "encounter" : { + + "encounter": { name: "encounter", dataType: r4:Reference, min: 0, @@ -140,7 +147,8 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; isArray: false, path: "Composition.encounter" }, - "title" : { + + "title": { name: "title", dataType: string, min: 1, @@ -148,7 +156,8 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; isArray: false, path: "Composition.title" }, - "type" : { + + "type": { name: "type", dataType: r4:CodeableConcept, min: 1, @@ -157,15 +166,17 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; path: "Composition.type", valueSet: "http://hl7.org/fhir/ValueSet/doc-typecodes" }, - "attester" : { + + "attester": { name: "attester", - dataType: Profile_for_CatalogAttester, + dataType: ProfileforCatalogAttester, min: 0, max: int:MAX_VALUE, isArray: true, path: "Composition.attester" }, - "contained" : { + + "contained": { name: "contained", dataType: r4:Resource, min: 0, @@ -173,7 +184,8 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; isArray: true, path: "Composition.contained" }, - "meta" : { + + "meta": { name: "meta", dataType: r4:Meta, min: 0, @@ -181,7 +193,8 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; isArray: false, path: "Composition.meta" }, - "implicitRules" : { + + "implicitRules": { name: "implicitRules", dataType: r4:uri, min: 0, @@ -189,7 +202,8 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; isArray: false, path: "Composition.implicitRules" }, - "id" : { + + "id": { name: "id", dataType: string, min: 0, @@ -197,7 +211,8 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; isArray: false, path: "Composition.id" }, - "text" : { + + "text": { name: "text", dataType: r4:Narrative, min: 0, @@ -205,115 +220,112 @@ public const RESOURCE_NAME_PROFILE_FOR_CATALOG = "Composition"; isArray: false, path: "Composition.text" }, - "category" : { + + "category": { name: "category", dataType: r4:CodeableConcept, min: 1, max: 1, - isArray: false, + isArray: true, path: "Composition.category", valueSet: "http://hl7.org/fhir/ValueSet/catalogType" }, - "event" : { + + "event": { name: "event", - dataType: Profile_for_CatalogEvent, + dataType: ProfileforCatalogEvent, min: 0, max: int:MAX_VALUE, isArray: true, path: "Composition.event" }, - "relatesTo" : { + + "relatesTo": { name: "relatesTo", - dataType: Profile_for_CatalogRelatesTo, + dataType: ProfileforCatalogRelatesTo, min: 0, max: int:MAX_VALUE, isArray: true, path: "Composition.relatesTo" }, - "status" : { + + "status": { name: "status", - dataType: Profile_for_CatalogStatus, + dataType: ProfileforCatalogStatus, min: 1, max: 1, isArray: false, path: "Composition.status", valueSet: "http://hl7.org/fhir/ValueSet/composition-status|4.0.1" } + }, + serializers: { 'xml: r4:fhirResourceXMLSerializer, 'json: r4:fhirResourceJsonSerializer } } -public type Profile_for_Catalog record {| + +public type ProfileforCatalog record {| *r4:DomainResource; - RESOURCE_NAME_PROFILE_FOR_CATALOG resourceType = RESOURCE_NAME_PROFILE_FOR_CATALOG; + RESOURCE_NAME_PROFILEFORCATALOG resourceType = RESOURCE_NAME_PROFILEFORCATALOG; r4:Identifier identifier?; r4:Extension[] extension?; r4:Reference custodian?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Composition.author constraint. This field must be an array containing at least one item." + } } r4:Reference[] author; r4:Reference subject?; r4:code confidentiality?; r4:Extension[] modifierExtension?; r4:code language?; - Profile_for_CatalogSection[] section?; + ProfileforCatalogSection[] section?; r4:Reference encounter?; string title; r4:CodeableConcept 'type; - Profile_for_CatalogAttester[] attester?; + ProfileforCatalogAttester[] attester?; r4:Resource[] contained?; r4:Meta meta?; r4:uri implicitRules?; string id?; r4:Narrative text?; - r4:CodeableConcept category; - Profile_for_CatalogEvent[] event?; - Profile_for_CatalogRelatesTo[] relatesTo?; - Profile_for_CatalogStatus status; - r4:Element ...; + @constraint:Array { + minLength: { + value: 1, + message: "Validation failed for $.Composition.category constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Composition.category constraint. This field must be an array containing at most one item." + } + } + r4:CodeableConcept[] category; + ProfileforCatalogEvent[] event?; + ProfileforCatalogRelatesTo[] relatesTo?; + ProfileforCatalogStatus status; + r4:Element...; |}; -# FHIR Profile_for_CatalogSection datatype record. +# FHIR ProfileforCatalogRelatesTo datatype record. # -# + mode - How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted. -# + entry - The content (narrative and data) associated with the section. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + code - A code identifying the kind of content contained within the section. This must be consistent with the section title. -# + emptyReason - If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason. -# + orderedBy - Specifies the order applied to the items in the section entries. -# + author - Identifies who is responsible for the information in this section, not necessarily who typed it in. +# + targetIdentifier - The target composition/document of this relationship. +# + code - The type of relationship that this composition has with anther composition or document. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + focus - The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + text - A human-readable narrative that contains the attested content of the section, 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. -# + title - The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents. +# + targetReference - The target composition/document of this relationship. + @r4:DataTypeDefinition { - name: "Profile_for_CatalogSection", + name: "ProfileforCatalogRelatesTo", baseType: (), elements: { - "mode": { - name: "mode", - dataType: Profile_for_CatalogSectionMode, - min: 0, - max: 1, - isArray: false, - description: "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.", - path: "Composition.section.mode" - }, - "entry": { - name: "entry", - dataType: r4:Reference, - min: 1, - max: int:MAX_VALUE, - isArray: true, - description: "The content (narrative and data) associated with the section.", - path: "Composition.section.entry" - }, "extension": { name: "extension", dataType: r4:Extension, @@ -321,44 +333,29 @@ public type Profile_for_Catalog record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Composition.section.extension" - }, - "code": { - name: "code", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "A code identifying the kind of content contained within the section. This must be consistent with the section title.", - path: "Composition.section.code" + path: "Composition.relatesTo.extension" }, - "emptyReason": { - name: "emptyReason", - dataType: r4:CodeableConcept, + + "targetIdentifier": { + name: "targetIdentifier", + dataType: r4:Identifier, min: 0, max: 1, isArray: false, - description: "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.", - path: "Composition.section.emptyReason" + description: "The target composition/document of this relationship.", + path: "Composition.relatesTo.target[x]" }, - "orderedBy": { - name: "orderedBy", - dataType: r4:CodeableConcept, - min: 0, + + "code": { + name: "code", + dataType: ProfileforCatalogRelatesToCode, + min: 1, max: 1, isArray: false, - description: "Specifies the order applied to the items in the section entries.", - path: "Composition.section.orderedBy" - }, - "author": { - name: "author", - dataType: r4:Reference, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Identifies who is responsible for the information in this section, not necessarily who typed it in.", - path: "Composition.section.author" + description: "The type of relationship that this composition has with anther composition or document.", + path: "Composition.relatesTo.code" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -366,17 +363,9 @@ public type Profile_for_Catalog record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Composition.section.modifierExtension" - }, - "focus": { - name: "focus", - dataType: r4:Reference, - min: 0, - max: 1, - isArray: false, - description: "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).", - path: "Composition.section.focus" + path: "Composition.relatesTo.modifierExtension" }, + "id": { name: "id", dataType: string, @@ -384,73 +373,69 @@ public type Profile_for_Catalog record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Composition.section.id" - }, - "text": { - name: "text", - dataType: r4:Narrative, - min: 0, - max: 1, - isArray: false, - description: "A human-readable narrative that contains the attested content of the section, 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.", - path: "Composition.section.text" + path: "Composition.relatesTo.id" }, - "title": { - name: "title", - dataType: string, + + "targetReference": { + name: "targetReference", + dataType: r4:Reference, min: 0, max: 1, isArray: false, - description: "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.", - path: "Composition.section.title" + description: "The target composition/document of this relationship.", + path: "Composition.relatesTo.target[x]" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type Profile_for_CatalogSection record {| + +public type ProfileforCatalogRelatesTo record {| *r4:BackboneElement; - Profile_for_CatalogSectionMode mode?; - @constraint:Array { - minLength: 1 - } - r4:Reference[] entry; r4:Extension[] extension?; - r4:CodeableConcept code?; - r4:CodeableConcept emptyReason?; - r4:CodeableConcept orderedBy?; - r4:Reference[] author?; + r4:Identifier targetIdentifier?; + ProfileforCatalogRelatesToCode code; r4:Extension[] modifierExtension?; - r4:Reference focus?; string id?; - r4:Narrative text?; - string title?; + r4:Reference targetReference?; |}; -# FHIR Profile_for_CatalogAttester datatype record. +# FHIR ProfileforCatalogDateIssueDate datatype record. +# + +@r4:DataTypeDefinition { + name: "ProfileforCatalogDateIssueDate", + baseType: (), + elements: { + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ProfileforCatalogDateIssueDate record {| + +|}; + +# FHIR ProfileforCatalogEvent datatype record. # -# + mode - The type of attestation the authenticator offers. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + period - The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time. +# + code - This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a 'History and Physical Report' in which the procedure being documented is necessarily a 'History and Physical' act. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + detail - The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + time - When the composition was attested by the party. -# + party - Who attested the composition in the specified way. + @r4:DataTypeDefinition { - name: "Profile_for_CatalogAttester", + name: "ProfileforCatalogEvent", baseType: (), elements: { - "mode": { - name: "mode", - dataType: Profile_for_CatalogAttesterMode, - min: 1, - max: 1, - isArray: false, - description: "The type of attestation the authenticator offers.", - path: "Composition.attester.mode" - }, "extension": { name: "extension", dataType: r4:Extension, @@ -458,8 +443,29 @@ public type Profile_for_CatalogSection record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Composition.attester.extension" + path: "Composition.event.extension" }, + + "period": { + name: "period", + dataType: r4:Period, + min: 0, + max: 1, + isArray: false, + description: "The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time.", + path: "Composition.event.period" + }, + + "code": { + name: "code", + dataType: r4:CodeableConcept, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a 'History and Physical Report' in which the procedure being documented is necessarily a 'History and Physical' act.", + path: "Composition.event.code" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -467,8 +473,19 @@ public type Profile_for_CatalogSection record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Composition.attester.modifierExtension" + path: "Composition.event.modifierExtension" }, + + "detail": { + name: "detail", + dataType: r4:Reference, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy.", + path: "Composition.event.detail" + }, + "id": { name: "id", dataType: string, @@ -476,53 +493,45 @@ public type Profile_for_CatalogSection record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Composition.attester.id" - }, - "time": { - name: "time", - dataType: r4:dateTime, - min: 0, - max: 1, - isArray: false, - description: "When the composition was attested by the party.", - path: "Composition.attester.time" - }, - "party": { - name: "party", - dataType: r4:Reference, - min: 0, - max: 1, - isArray: false, - description: "Who attested the composition in the specified way.", - path: "Composition.attester.party" + path: "Composition.event.id" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type Profile_for_CatalogAttester record {| + +public type ProfileforCatalogEvent record {| *r4:BackboneElement; - Profile_for_CatalogAttesterMode mode; r4:Extension[] extension?; + r4:Period period?; + r4:CodeableConcept[] code?; r4:Extension[] modifierExtension?; + r4:Reference[] detail?; string id?; - r4:dateTime time?; - r4:Reference party?; |}; -# FHIR Profile_for_CatalogRelatesTo datatype record. +# FHIR ProfileforCatalogSection datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + targetIdentifier - The target composition/document of this relationship. -# + code - The type of relationship that this composition has with anther composition or document. +# + code - A code identifying the kind of content contained within the section. This must be consistent with the section title. +# + emptyReason - If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason. +# + author - Identifies who is responsible for the information in this section, not necessarily who typed it in. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + focus - The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources). +# + section - A nested sub-section within this section. +# + title - The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents. +# + mode - How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted. +# + entry - The content (narrative and data) associated with the section. +# + orderedBy - Specifies the order applied to the items in the section entries. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + targetReference - The target composition/document of this relationship. +# + text - A human-readable narrative that contains the attested content of the section, 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. + @r4:DataTypeDefinition { - name: "Profile_for_CatalogRelatesTo", + name: "ProfileforCatalogSection", baseType: (), elements: { "extension": { @@ -532,26 +541,39 @@ public type Profile_for_CatalogAttester record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Composition.relatesTo.extension" + path: "Composition.section.extension" }, - "targetIdentifier": { - name: "targetIdentifier", - dataType: r4:Identifier, + + "code": { + name: "code", + dataType: r4:CodeableConcept, min: 0, max: 1, isArray: false, - description: "The target composition/document of this relationship.", - path: "Composition.relatesTo.target[x]" + description: "A code identifying the kind of content contained within the section. This must be consistent with the section title.", + path: "Composition.section.code" }, - "code": { - name: "code", - dataType: Profile_for_CatalogRelatesToCode, - min: 1, + + "emptyReason": { + name: "emptyReason", + dataType: r4:CodeableConcept, + min: 0, max: 1, isArray: false, - description: "The type of relationship that this composition has with anther composition or document.", - path: "Composition.relatesTo.code" + description: "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.", + path: "Composition.section.emptyReason" }, + + "author": { + name: "author", + dataType: r4:Reference, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Identifies who is responsible for the information in this section, not necessarily who typed it in.", + path: "Composition.section.author" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -559,8 +581,69 @@ public type Profile_for_CatalogAttester record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Composition.relatesTo.modifierExtension" + path: "Composition.section.modifierExtension" }, + + "focus": { + name: "focus", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).", + path: "Composition.section.focus" + }, + + "section": { + name: "section", + dataType: ProfileforCatalogSection, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A nested sub-section within this section.", + path: "Composition.section.section" + }, + + "title": { + name: "title", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.", + path: "Composition.section.title" + }, + + "mode": { + name: "mode", + dataType: ProfileforCatalogSectionMode, + min: 0, + max: 1, + isArray: false, + description: "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.", + path: "Composition.section.mode" + }, + + "entry": { + name: "entry", + dataType: r4:Reference, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "The content (narrative and data) associated with the section.", + path: "Composition.section.entry" + }, + + "orderedBy": { + name: "orderedBy", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "Specifies the order applied to the items in the section entries.", + path: "Composition.section.orderedBy" + }, + "id": { name: "id", dataType: string, @@ -568,85 +651,77 @@ public type Profile_for_CatalogAttester record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Composition.relatesTo.id" + path: "Composition.section.id" }, - "targetReference": { - name: "targetReference", - dataType: r4:Reference, + + "text": { + name: "text", + dataType: r4:Narrative, min: 0, max: 1, isArray: false, - description: "The target composition/document of this relationship.", - path: "Composition.relatesTo.target[x]" + description: "A human-readable narrative that contains the attested content of the section, 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.", + path: "Composition.section.text" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type Profile_for_CatalogRelatesTo record {| + +public type ProfileforCatalogSection record {| *r4:BackboneElement; r4:Extension[] extension?; - r4:Identifier targetIdentifier; - Profile_for_CatalogRelatesToCode code; + r4:CodeableConcept code?; + r4:CodeableConcept emptyReason?; + r4:Reference[] author?; r4:Extension[] modifierExtension?; - string id?; - r4:Reference targetReference; -|}; - -# FHIR Profile_for_CatalogDateIssueDate datatype record. -# -@r4:DataTypeDefinition { - name: "Profile_for_CatalogDateIssueDate", - baseType: (), - elements: { - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer + r4:Reference focus?; + ProfileforCatalogSection[] section?; + string title?; + ProfileforCatalogSectionMode mode?; + @constraint:Array { + minLength: { + value: 1, + message: "Validation failed for $.Composition.section.entry constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Composition.section.entry constraint. This field must be an array containing at most one item." + } } -} -public type Profile_for_CatalogDateIssueDate record {| - + r4:Reference[] entry; + r4:CodeableConcept orderedBy?; + string id?; + r4:Narrative text?; |}; -# Profile_for_CatalogStatus enum -public enum Profile_for_CatalogStatus { - CODE_STATUS_AMENDED = "amended", - CODE_STATUS_FINAL = "final", - CODE_STATUS_PRELIMINARY = "preliminary", - CODE_STATUS_ENTERED_IN_ERROR = "entered-in-error" -} - -# Profile_for_CatalogSectionMode enum -public enum Profile_for_CatalogSectionMode { - CODE_MODE_CHANGES = "changes", - CODE_MODE_WORKING = "working", - CODE_MODE_SNAPSHOT = "snapshot" -} - -# Profile_for_CatalogAttesterMode enum -public enum Profile_for_CatalogAttesterMode { - CODE_MODE_LEGAL = "legal", - CODE_MODE_OFFICIAL = "official", - CODE_MODE_PERSONAL = "personal", - CODE_MODE_PROFESSIONAL = "professional" -} - -# FHIR Profile_for_CatalogEvent datatype record. +# FHIR ProfileforCatalogAttester datatype record. # +# + mode - The type of attestation the authenticator offers. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + period - The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time. -# + code - This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a 'History and Physical Report' in which the procedure being documented is necessarily a 'History and Physical' act. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + detail - The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + time - When the composition was attested by the party. +# + party - Who attested the composition in the specified way. + @r4:DataTypeDefinition { - name: "Profile_for_CatalogEvent", + name: "ProfileforCatalogAttester", baseType: (), elements: { + "mode": { + name: "mode", + dataType: ProfileforCatalogAttesterMode, + min: 1, + max: 1, + isArray: false, + description: "The type of attestation the authenticator offers.", + path: "Composition.attester.mode" + }, + "extension": { name: "extension", dataType: r4:Extension, @@ -654,26 +729,9 @@ public enum Profile_for_CatalogAttesterMode { max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Composition.event.extension" - }, - "period": { - name: "period", - dataType: r4:Period, - min: 0, - max: 1, - isArray: false, - description: "The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time.", - path: "Composition.event.period" - }, - "code": { - name: "code", - dataType: r4:CodeableConcept, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a 'History and Physical Report' in which the procedure being documented is necessarily a 'History and Physical' act.", - path: "Composition.event.code" + path: "Composition.attester.extension" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -681,17 +739,9 @@ public enum Profile_for_CatalogAttesterMode { max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Composition.event.modifierExtension" - }, - "detail": { - name: "detail", - dataType: r4:Reference, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy.", - path: "Composition.event.detail" + path: "Composition.attester.modifierExtension" }, + "id": { name: "id", dataType: string, @@ -699,30 +749,75 @@ public enum Profile_for_CatalogAttesterMode { max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Composition.event.id" + path: "Composition.attester.id" + }, + + "time": { + name: "time", + dataType: r4:dateTime, + min: 0, + max: 1, + isArray: false, + description: "When the composition was attested by the party.", + path: "Composition.attester.time" + }, + + "party": { + name: "party", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "Who attested the composition in the specified way.", + path: "Composition.attester.party" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type Profile_for_CatalogEvent record {| + +public type ProfileforCatalogAttester record {| *r4:BackboneElement; + ProfileforCatalogAttesterMode mode; r4:Extension[] extension?; - r4:Period period?; - r4:CodeableConcept[] code?; r4:Extension[] modifierExtension?; - r4:Reference[] detail?; string id?; + r4:dateTime time?; + r4:Reference party?; |}; -# Profile_for_CatalogRelatesToCode enum -public enum Profile_for_CatalogRelatesToCode { - CODE_CODE_SIGNS = "signs", - CODE_CODE_REPLACES = "replaces", - CODE_CODE_TRANSFORMS = "transforms", - CODE_CODE_APPENDS = "appends" +# ProfileforCatalogStatus enum +public enum ProfileforCatalogStatus { + CODE_STATUS_AMENDED = "amended", + CODE_STATUS_FINAL = "final", + CODE_STATUS_PRELIMINARY = "preliminary", + CODE_STATUS_ENTERED_IN_ERROR = "entered-in-error" +} + +# ProfileforCatalogSectionMode enum +public enum ProfileforCatalogSectionMode { + CODE_MODE_CHANGES = "changes", + CODE_MODE_WORKING = "working", + CODE_MODE_SNAPSHOT = "snapshot" +} + +# ProfileforCatalogAttesterMode enum +public enum ProfileforCatalogAttesterMode { + CODE_MODE_LEGAL = "legal", + CODE_MODE_OFFICIAL = "official", + CODE_MODE_PERSONAL = "personal", + CODE_MODE_PROFESSIONAL = "professional" +} + +# ProfileforCatalogRelatesToCode enum +public enum ProfileforCatalogRelatesToCode { + CODE_CODE_SIGNS = "signs", + CODE_CODE_REPLACES = "replaces", + CODE_CODE_TRANSFORMS = "transforms", + CODE_CODE_APPENDS = "appends" } diff --git a/international401/resource_profile_for_hla_genotyping_results.bal b/international401/resource_profilefor_hlagenotyping_results.bal similarity index 86% rename from international401/resource_profile_for_hla_genotyping_results.bal rename to international401/resource_profilefor_hlagenotyping_results.bal index a9329900..f7f550a2 100644 --- a/international401/resource_profile_for_hla_genotyping_results.bal +++ b/international401/resource_profilefor_hlagenotyping_results.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -13,36 +13,21 @@ // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. - +// // AUTO-GENERATED FILE. // This file is auto-generated by Ballerina. import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "http://hl7.org/fhir/StructureDefinition/hlaresult"; -public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticReport"; +public const string PROFILE_BASE_PROFILEFORHLAGENOTYPINGRESULTS = "http://hl7.org/fhir/StructureDefinition/hlaresult"; +public const RESOURCE_NAME_PROFILEFORHLAGENOTYPINGRESULTS = "DiagnosticReport"; + +public type ProfileforHLAGenotypingResultsExtensions (BusinessEvent|DiagnosticReportAddendumOf|DiagnosticReportExtends|DiagnosticReportFocus|DiagnosticReportGeneticsAnalysis|DiagnosticReportGeneticsAssessedCondition|DiagnosticReportGeneticsFamilyMemberHistory|DiagnosticReportGeneticsReferences|DiagnosticReportLocationPerformed|DiagnosticReportReplaces|DiagnosticReportRisk|DiagnosticReportSummaryOf|DiagnosticReportWorkflowStatus|EventEventHistory|EventLocation|EventPartOf|EventStatusReason|r4:Extension|HlaGenotypingResultsAlleleDatabase|HlaGenotypingResultsGlstring|HlaGenotypingResultsHaploid|HlaGenotypingResultsMethod|ServicerequestGeneticsItem|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReason|WorkflowReasonCode|WorkflowReasonReference|WorkflowRelatedArtifact|WorkflowResearchStudy|WorkflowSupportingInfo|WorkflowTriggeredBy); -# FHIR Profile_for_HLA_Genotyping_Results resource record. +# FHIR ProfileforHLAGenotypingResults resource record. # # + resourceType - The type of the resource describes # + extension - An Extension -# * extension Slicings -# 1) Extension: Allele Database -# - min = 0 -# - max = 1 -# -# 2) Extension: Haploid -# - min = 0 -# - max = * -# -# 3) Extension: The platform, methodology and software applied at the time of the genotyping -# - min = 0 -# - max = 1 -# -# 4) Extension: Glstring -# - min = 0 -# - max = 1 -# # + code - A code or name that describes this diagnostic report. # + subject - The subject of the report. Usually, but not always, this is a patient. However, diagnostic services also perform analyses on specimens collected from a variety of other sources. # + modifierExtension - 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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). @@ -69,12 +54,13 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor # + category - A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes. # + imagingStudy - One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images. # + status - The status of the diagnostic report. + @r4:ResourceDefinition { resourceType: "DiagnosticReport", baseType: r4:DomainResource, profile: "http://hl7.org/fhir/StructureDefinition/hlaresult", elements: { - "extension" : { + "extension": { name: "extension", dataType: r4:Extension, min: 0, @@ -82,7 +68,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: true, path: "DiagnosticReport.extension" }, - "code" : { + + "code": { name: "code", dataType: r4:CodeableConcept, min: 1, @@ -91,7 +78,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor path: "DiagnosticReport.code", valueSet: "http://hl7.org/fhir/ValueSet/report-codes" }, - "subject" : { + + "subject": { name: "subject", dataType: r4:Reference, min: 0, @@ -99,7 +87,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: false, path: "DiagnosticReport.subject" }, - "modifierExtension" : { + + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, min: 0, @@ -107,7 +96,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: true, path: "DiagnosticReport.modifierExtension" }, - "presentedForm" : { + + "presentedForm": { name: "presentedForm", dataType: r4:Attachment, min: 0, @@ -115,7 +105,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: true, path: "DiagnosticReport.presentedForm" }, - "language" : { + + "language": { name: "language", dataType: r4:code, min: 0, @@ -124,15 +115,17 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor path: "DiagnosticReport.language", valueSet: "http://hl7.org/fhir/ValueSet/languages" }, - "media" : { + + "media": { name: "media", - dataType: Profile_for_HLA_Genotyping_ResultsMedia, + dataType: ProfileforHLAGenotypingResultsMedia, min: 0, max: int:MAX_VALUE, isArray: true, path: "DiagnosticReport.media" }, - "conclusion" : { + + "conclusion": { name: "conclusion", dataType: string, min: 0, @@ -140,7 +133,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: false, path: "DiagnosticReport.conclusion" }, - "result" : { + + "result": { name: "result", dataType: r4:Reference, min: 0, @@ -148,7 +142,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: true, path: "DiagnosticReport.result" }, - "specimen" : { + + "specimen": { name: "specimen", dataType: r4:Reference, min: 0, @@ -156,7 +151,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: true, path: "DiagnosticReport.specimen" }, - "id" : { + + "id": { name: "id", dataType: string, min: 0, @@ -164,7 +160,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: false, path: "DiagnosticReport.id" }, - "text" : { + + "text": { name: "text", dataType: r4:Narrative, min: 0, @@ -172,7 +169,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: false, path: "DiagnosticReport.text" }, - "issued" : { + + "issued": { name: "issued", dataType: r4:instant, min: 0, @@ -180,7 +178,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: false, path: "DiagnosticReport.issued" }, - "basedOn" : { + + "basedOn": { name: "basedOn", dataType: r4:Reference, min: 0, @@ -188,7 +187,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: true, path: "DiagnosticReport.basedOn" }, - "identifier" : { + + "identifier": { name: "identifier", dataType: r4:Identifier, min: 0, @@ -196,7 +196,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: true, path: "DiagnosticReport.identifier" }, - "performer" : { + + "performer": { name: "performer", dataType: r4:Reference, min: 0, @@ -204,7 +205,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: true, path: "DiagnosticReport.performer" }, - "effectivePeriod" : { + + "effectivePeriod": { name: "effectivePeriod", dataType: r4:Period, min: 0, @@ -212,7 +214,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: false, path: "DiagnosticReport.effective[x]" }, - "resultsInterpreter" : { + + "resultsInterpreter": { name: "resultsInterpreter", dataType: r4:Reference, min: 0, @@ -220,7 +223,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: true, path: "DiagnosticReport.resultsInterpreter" }, - "conclusionCode" : { + + "conclusionCode": { name: "conclusionCode", dataType: r4:CodeableConcept, min: 0, @@ -229,7 +233,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor path: "DiagnosticReport.conclusionCode", valueSet: "http://hl7.org/fhir/ValueSet/clinical-findings" }, - "encounter" : { + + "encounter": { name: "encounter", dataType: r4:Reference, min: 0, @@ -237,7 +242,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: false, path: "DiagnosticReport.encounter" }, - "contained" : { + + "contained": { name: "contained", dataType: r4:Resource, min: 0, @@ -245,7 +251,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: true, path: "DiagnosticReport.contained" }, - "effectiveDateTime" : { + + "effectiveDateTime": { name: "effectiveDateTime", dataType: r4:dateTime, min: 0, @@ -253,7 +260,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: false, path: "DiagnosticReport.effective[x]" }, - "meta" : { + + "meta": { name: "meta", dataType: r4:Meta, min: 0, @@ -261,7 +269,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: false, path: "DiagnosticReport.meta" }, - "implicitRules" : { + + "implicitRules": { name: "implicitRules", dataType: r4:uri, min: 0, @@ -269,7 +278,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: false, path: "DiagnosticReport.implicitRules" }, - "category" : { + + "category": { name: "category", dataType: r4:CodeableConcept, min: 0, @@ -278,7 +288,8 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor path: "DiagnosticReport.category", valueSet: "http://hl7.org/fhir/ValueSet/diagnostic-service-sections" }, - "imagingStudy" : { + + "imagingStudy": { name: "imagingStudy", dataType: r4:Reference, min: 0, @@ -286,25 +297,29 @@ public const RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS = "DiagnosticRepor isArray: true, path: "DiagnosticReport.imagingStudy" }, - "status" : { + + "status": { name: "status", - dataType: Profile_for_HLA_Genotyping_ResultsStatus, + dataType: ProfileforHLAGenotypingResultsStatus, min: 1, max: 1, isArray: false, path: "DiagnosticReport.status", valueSet: "http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1" } + }, + serializers: { 'xml: r4:fhirResourceXMLSerializer, 'json: r4:fhirResourceJsonSerializer } } -public type Profile_for_HLA_Genotyping_Results record {| + +public type ProfileforHLAGenotypingResults record {| *r4:DomainResource; - RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS resourceType = RESOURCE_NAME_PROFILE_FOR_HLA_GENOTYPING_RESULTS; + RESOURCE_NAME_PROFILEFORHLAGENOTYPINGRESULTS resourceType = RESOURCE_NAME_PROFILEFORHLAGENOTYPINGRESULTS; r4:Extension[] extension?; r4:CodeableConcept code; @@ -312,7 +327,7 @@ public type Profile_for_HLA_Genotyping_Results record {| r4:Extension[] modifierExtension?; r4:Attachment[] presentedForm?; r4:code language?; - Profile_for_HLA_Genotyping_ResultsMedia[] media?; + ProfileforHLAGenotypingResultsMedia[] media?; string conclusion?; r4:Reference[] result?; r4:Reference[] specimen?; @@ -332,27 +347,20 @@ public type Profile_for_HLA_Genotyping_Results record {| r4:uri implicitRules?; r4:CodeableConcept[] category?; r4:Reference[] imagingStudy?; - Profile_for_HLA_Genotyping_ResultsStatus status; - r4:Element ...; + ProfileforHLAGenotypingResultsStatus status; + r4:Element...; |}; -# Profile_for_HLA_Genotyping_ResultsStatus enum -public enum Profile_for_HLA_Genotyping_ResultsStatus { - CODE_STATUS_FINAL = "final", - CODE_STATUS_REGISTERED = "registered", - CODE_STATUS_PRELIMINARY = "preliminary", - CODE_STATUS_PARTIAL = "partial" -} - -# FHIR Profile_for_HLA_Genotyping_ResultsMedia datatype record. +# FHIR ProfileforHLAGenotypingResultsMedia datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + link - Reference to the image source. # + comment - A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. + @r4:DataTypeDefinition { - name: "Profile_for_HLA_Genotyping_ResultsMedia", + name: "ProfileforHLAGenotypingResultsMedia", baseType: (), elements: { "extension": { @@ -364,6 +372,7 @@ public enum Profile_for_HLA_Genotyping_ResultsStatus { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "DiagnosticReport.media.extension" }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -373,6 +382,7 @@ public enum Profile_for_HLA_Genotyping_ResultsStatus { description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "DiagnosticReport.media.modifierExtension" }, + "link": { name: "link", dataType: r4:Reference, @@ -382,6 +392,7 @@ public enum Profile_for_HLA_Genotyping_ResultsStatus { description: "Reference to the image source.", path: "DiagnosticReport.media.link" }, + "comment": { name: "comment", dataType: string, @@ -391,6 +402,7 @@ public enum Profile_for_HLA_Genotyping_ResultsStatus { description: "A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features.", path: "DiagnosticReport.media.comment" }, + "id": { name: "id", dataType: string, @@ -401,12 +413,14 @@ public enum Profile_for_HLA_Genotyping_ResultsStatus { path: "DiagnosticReport.media.id" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type Profile_for_HLA_Genotyping_ResultsMedia record {| + +public type ProfileforHLAGenotypingResultsMedia record {| *r4:BackboneElement; r4:Extension[] extension?; @@ -416,3 +430,11 @@ public type Profile_for_HLA_Genotyping_ResultsMedia record {| string id?; |}; +# ProfileforHLAGenotypingResultsStatus enum +public enum ProfileforHLAGenotypingResultsStatus { + CODE_STATUS_FINAL = "final", + CODE_STATUS_REGISTERED = "registered", + CODE_STATUS_PRELIMINARY = "preliminary", + CODE_STATUS_PARTIAL = "partial" +} + diff --git a/international401/resource_provenance.bal b/international401/resource_provenance.bal index 23504cd1..57296c06 100644 --- a/international401/resource_provenance.bal +++ b/international401/resource_provenance.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -218,7 +218,10 @@ public type Provenance record {| r4:CodeableConcept[] reason?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Provenance.agent constraint. This field must be an array containing at least one item." + } } ProvenanceAgent[] agent; r4:Extension[] extension?; @@ -229,7 +232,10 @@ public type Provenance record {| r4:Period occurredPeriod?; r4:instant recorded; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Provenance.target constraint. This field must be an array containing at least one item." + } } r4:Reference[] target; r4:Resource[] contained?; @@ -349,6 +355,7 @@ public enum ProvenanceEntityRole { # FHIR ProvenanceEntity datatype record. # +# + agent - The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + role - How the entity was used during the activity. # + what - Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative. @@ -358,6 +365,16 @@ public enum ProvenanceEntityRole { name: "ProvenanceEntity", baseType: (), elements: { + "agent": { + name: "agent", + dataType: ProvenanceAgent, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity.", + path: "Provenance.entity.agent" + }, + "extension": { name: "extension", dataType: r4:Extension, @@ -412,6 +429,7 @@ public enum ProvenanceEntityRole { public type ProvenanceEntity record {| *r4:BackboneElement; + ProvenanceAgent[] agent?; r4:Extension[] extension?; ProvenanceEntityRole role; r4:Reference what; diff --git a/international401/resource_provenance_relevant_history.bal b/international401/resource_provenance_relevant_history.bal index bf6dbffb..5b85793e 100644 --- a/international401/resource_provenance_relevant_history.bal +++ b/international401/resource_provenance_relevant_history.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -20,16 +20,16 @@ import ballerina/constraint; import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_PROVENANCE_RELEVANT_HISTORY = "http://hl7.org/fhir/StructureDefinition/provenance-relevant-history"; -public const RESOURCE_NAME_PROVENANCE_RELEVANT_HISTORY = "Provenance"; +public const string PROFILE_BASE_PROVENANCERELEVANTHISTORY = "http://hl7.org/fhir/StructureDefinition/provenance-relevant-history"; +public const RESOURCE_NAME_PROVENANCERELEVANTHISTORY = "Provenance"; -# FHIR Provenance_Relevant_History resource record. +# FHIR ProvenanceRelevantHistory resource record. # # + resourceType - The type of the resource describes # + reason - The reason that the activity was taking place. # + agent - Who was involved with change. # * agent Slicings -# 1) Provenance_Relevant_HistoryAgentAuthor: Author +# 1) ProvenanceRelevantHistoryAgentAuthor: Author # - min = 0 # - max = 1 # @@ -65,7 +65,7 @@ public const RESOURCE_NAME_PROVENANCE_RELEVANT_HISTORY = "Provenance"; }, "agent" : { name: "agent", - dataType: Provenance_Relevant_HistoryAgent, + dataType: ProvenanceRelevantHistoryAgent, min: 1, max: int:MAX_VALUE, isArray: true, @@ -179,7 +179,7 @@ public const RESOURCE_NAME_PROVENANCE_RELEVANT_HISTORY = "Provenance"; }, "entity" : { name: "entity", - dataType: Provenance_Relevant_HistoryEntity, + dataType: ProvenanceRelevantHistoryEntity, min: 0, max: int:MAX_VALUE, isArray: true, @@ -188,7 +188,7 @@ public const RESOURCE_NAME_PROVENANCE_RELEVANT_HISTORY = "Provenance"; "occurredDateTime" : { name: "occurredDateTime", dataType: r4:dateTime, - min: 1, + min: 0, max: 1, isArray: false, path: "Provenance.occurred[x]" @@ -207,16 +207,20 @@ public const RESOURCE_NAME_PROVENANCE_RELEVANT_HISTORY = "Provenance"; 'json: r4:fhirResourceJsonSerializer } } -public type Provenance_Relevant_History record {| + +public type ProvenanceRelevantHistory record {| *r4:DomainResource; - RESOURCE_NAME_PROVENANCE_RELEVANT_HISTORY resourceType = RESOURCE_NAME_PROVENANCE_RELEVANT_HISTORY; + RESOURCE_NAME_PROVENANCERELEVANTHISTORY resourceType = RESOURCE_NAME_PROVENANCERELEVANTHISTORY; r4:CodeableConcept[] reason?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Provenance.agent constraint. This field must be an array containing at least one item." + } } - Provenance_Relevant_HistoryAgent[] agent; + ProvenanceRelevantHistoryAgent[] agent; r4:Extension[] extension?; r4:CodeableConcept activity; r4:Signature[] signature?; @@ -224,7 +228,10 @@ public type Provenance_Relevant_History record {| r4:code language?; r4:instant recorded; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Provenance.target constraint. This field must be an array containing at least one item." + } } r4:Reference[] target; r4:Resource[] contained?; @@ -233,23 +240,34 @@ public type Provenance_Relevant_History record {| r4:Reference location?; string id?; r4:Narrative text?; - Provenance_Relevant_HistoryEntity[] entity?; - r4:dateTime occurredDateTime; + ProvenanceRelevantHistoryEntity[] entity?; + r4:dateTime occurredDateTime?; r4:uri[] policy?; r4:Element ...; |}; -# FHIR Provenance_Relevant_HistoryEntity datatype record. +# FHIR ProvenanceRelevantHistoryEntity datatype record. # +# + agent - The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + role - How the entity was used during the activity. # + what - Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @r4:DataTypeDefinition { - name: "Provenance_Relevant_HistoryEntity", + name: "ProvenanceRelevantHistoryEntity", baseType: (), elements: { + "agent": { + name: "agent", + dataType: ProvenanceRelevantHistoryAgentAuthor, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity.", + path: "Provenance.entity.agent" + }, + "extension": { name: "extension", dataType: r4:Extension, @@ -261,7 +279,7 @@ public type Provenance_Relevant_History record {| }, "role": { name: "role", - dataType: Provenance_Relevant_HistoryEntityRole, + dataType: ProvenanceRelevantHistoryEntityRole, min: 1, max: 1, isArray: false, @@ -301,17 +319,103 @@ public type Provenance_Relevant_History record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Provenance_Relevant_HistoryEntity record {| + +public type ProvenanceRelevantHistoryEntity record {| *r4:BackboneElement; + ProvenanceRelevantHistoryAgentAuthor[] agent?; r4:Extension[] extension?; - Provenance_Relevant_HistoryEntityRole role; + ProvenanceRelevantHistoryEntityRole role; r4:Reference what; r4:Extension[] modifierExtension?; string id?; |}; -# FHIR Provenance_Relevant_HistoryAgent datatype record. +# FHIR ProvenanceRelevantHistoryAgentTypeCoding datatype record. +# +# + system - The identification of the code system that defines the meaning of the symbol in the code. +# + code - A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). + +@r4:DataTypeDefinition { + name: "ProvenanceRelevantHistoryAgentTypeCoding", + baseType: (), + elements: { + "system": { + name: "system", + dataType: r4:uri, + min: 1, + max: 1, + isArray: false, + description: "The identification of the code system that defines the meaning of the symbol in the code.", + path: "Provenance.agent.type.coding.system" + }, + + "code": { + name: "code", + dataType: r4:code, + min: 1, + max: 1, + isArray: false, + description: "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + path: "Provenance.agent.type.coding.code" + } + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ProvenanceRelevantHistoryAgentTypeCoding record {| + *r4:Coding; + + r4:uri system = "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"; + r4:code code = "AUT"; +|}; + +# FHIR ProvenanceRelevantHistoryAgentType datatype record. +# +# + coding - A reference to a code defined by a terminology system. + +@r4:DataTypeDefinition { + name: "ProvenanceRelevantHistoryAgentType", + baseType: (), + elements: { + "coding": { + name: "coding", + dataType: ProvenanceRelevantHistoryAgentTypeCoding, + min: 1, + max: int:MAX_VALUE, + isArray: true, + description: "A reference to a code defined by a terminology system.", + path: "Provenance.agent.type.coding" + } + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ProvenanceRelevantHistoryAgentType record {| + *r4:CodeableConcept; + + @constraint:Array { + minLength: { + value: 1, + message: "Validation failed for $.Provenance.agent.type.coding constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.Provenance.agent.type.coding constraint. This field must be an array containing at most one item." + } + } + ProvenanceRelevantHistoryAgentTypeCoding[] coding; +|}; + +# FHIR ProvenanceRelevantHistoryAgent datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + role - The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity. @@ -321,7 +425,7 @@ public type Provenance_Relevant_HistoryEntity record {| # + 'type - The participation the agent had with respect to the activity. # + who - The individual, device or organization that participated in the event. @r4:DataTypeDefinition { - name: "Provenance_Relevant_HistoryAgent", + name: "ProvenanceRelevantHistoryAgent", baseType: (), elements: { "extension": { @@ -393,7 +497,8 @@ public type Provenance_Relevant_HistoryEntity record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Provenance_Relevant_HistoryAgent record {| + +public type ProvenanceRelevantHistoryAgent record {| *r4:BackboneElement; r4:Extension[] extension?; @@ -405,55 +510,7 @@ public type Provenance_Relevant_HistoryAgent record {| r4:Reference who; |}; -# Provenance_Relevant_HistoryEntityRole enum -public enum Provenance_Relevant_HistoryEntityRole { - CODE_ROLE_REMOVAL = "removal", - CODE_ROLE_DERIVATION = "derivation", - CODE_ROLE_SOURCE = "source", - CODE_ROLE_QUOTATION = "quotation", - CODE_ROLE_REVISION = "revision" -} - -# FHIR Provenance_Relevant_HistoryAgentTypeCoding datatype record. -# -# + system - The identification of the code system that defines the meaning of the symbol in the code. -# + code - A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination). -@r4:DataTypeDefinition { - name: "Provenance_Relevant_HistoryAgentTypeCoding", - baseType: (), - elements: { - "system": { - name: "system", - dataType: r4:uri, - min: 1, - max: 1, - isArray: false, - description: "The identification of the code system that defines the meaning of the symbol in the code.", - path: "Provenance.agent.type.coding.system" - }, - "code": { - name: "code", - dataType: r4:code, - min: 1, - max: 1, - isArray: false, - description: "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", - path: "Provenance.agent.type.coding.code" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Provenance_Relevant_HistoryAgentTypeCoding record {| - *r4:Coding; - - r4:uri system = "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"; - r4:code code = "AUT"; -|}; - -# FHIR Provenance_Relevant_HistoryAgentAuthor datatype record. +# FHIR ProvenanceRelevantHistoryAgentAuthor datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + role - The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity. @@ -463,7 +520,7 @@ public type Provenance_Relevant_HistoryAgentTypeCoding record {| # + 'type - The participation the agent had with respect to the activity. # + who - Author Reference. @r4:DataTypeDefinition { - name: "Provenance_Relevant_HistoryAgentAuthor", + name: "ProvenanceRelevantHistoryAgentAuthor", baseType: (), elements: { "extension": { @@ -513,7 +570,7 @@ public type Provenance_Relevant_HistoryAgentTypeCoding record {| }, "type": { name: "type", - dataType: Provenance_Relevant_HistoryAgentType, + dataType: ProvenanceRelevantHistoryAgentType, min: 1, max: 1, isArray: false, @@ -535,46 +592,25 @@ public type Provenance_Relevant_HistoryAgentTypeCoding record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Provenance_Relevant_HistoryAgentAuthor record {| - *r4:BackboneElement; + +public type ProvenanceRelevantHistoryAgentAuthor record {| + *ProvenanceRelevantHistoryAgent; r4:Extension[] extension?; r4:CodeableConcept[] role?; r4:Extension[] modifierExtension?; r4:Reference onBehalfOf?; string id?; - Provenance_Relevant_HistoryAgentType 'type; + ProvenanceRelevantHistoryAgentType 'type; r4:Reference who; |}; -# FHIR Provenance_Relevant_HistoryAgentType datatype record. -# -# + coding - A reference to a code defined by a terminology system. -@r4:DataTypeDefinition { - name: "Provenance_Relevant_HistoryAgentType", - baseType: (), - elements: { - "coding": { - name: "coding", - dataType: Provenance_Relevant_HistoryAgentTypeCoding, - min: 1, - max: int:MAX_VALUE, - isArray: true, - description: "A reference to a code defined by a terminology system.", - path: "Provenance.agent.type.coding" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Provenance_Relevant_HistoryAgentType record {| - *r4:CodeableConcept; - - @constraint:Array { - minLength: 1 +# ProvenanceRelevantHistoryEntityRole enum +public enum ProvenanceRelevantHistoryEntityRole { + CODE_ROLE_REMOVAL = "removal", + CODE_ROLE_DERIVATION = "derivation", + CODE_ROLE_SOURCE = "source", + CODE_ROLE_QUOTATION = "quotation", + CODE_ROLE_REVISION = "revision" } - Provenance_Relevant_HistoryAgentTypeCoding[] coding; -|}; diff --git a/international401/resource_questionnaire.bal b/international401/resource_questionnaire.bal index 95adbde1..7bf9b01c 100644 --- a/international401/resource_questionnaire.bal +++ b/international401/resource_questionnaire.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_QUESTIONNAIRE = "http://hl7.org/fhir/StructureDefinition/Questionnaire"; public const RESOURCE_NAME_QUESTIONNAIRE = "Questionnaire"; +public type QuestionnaireExtensions (CqfTargetInvariant|DesignNote|r4:Extension|PreferredTerminologyServer|QuestionnaireConstraint|QuestionnaireDefinitionBased|QuestionnaireSignatureRequired|Replaces|TargetConstraint|Variable); + # FHIR Questionnaire resource record. # # + resourceType - The type of the resource describes @@ -363,36 +365,36 @@ public enum QuestionnaireItemType { CODE_TYPE_DISPLAY = "display", CODE_TYPE_INTEGER = "integer", CODE_TYPE_DECIMAL = "decimal", - CODE_TYPE_GROUP = "group", - CODE_TYPE_QUESTION = "question", - CODE_TYPE_TIME = "time", - CODE_TYPE_STRING = "string", - CODE_TYPE_TEXT = "text", - CODE_TYPE_URL = "url", - CODE_TYPE_CHOICE = "choice", - CODE_TYPE_OPEN_CHOICE = "open-choice", - CODE_TYPE_ATTACHMENT = "attachment", - CODE_TYPE_REFERENCE = "reference", - CODE_TYPE_QUANTITY = "quantity" - + CODE_TYPE_GROUP = "group" } # FHIR QuestionnaireItemAnswerOption datatype record. # +# + valueCoding - A potential answer that's allowed as the answer to this question. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + valueQuestionnaireCoding - A potential answer that's allowed as the answer to this question. +# + valueTime - A potential answer that's allowed as the answer to this question. +# + valueString - A potential answer that's allowed as the answer to this question. +# + valueReference - A potential answer that's allowed as the answer to this question. # + initialSelected - Indicates whether the answer value is selected when the list of possible answers is initially shown. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + valueQuestionnaireInteger - A potential answer that's allowed as the answer to this question. -# + valueQuestionnaireString - A potential answer that's allowed as the answer to this question. -# + valueQuestionnaireDate - A potential answer that's allowed as the answer to this question. -# + valueQuestionnaireTime - A potential answer that's allowed as the answer to this question. -# + valueQuestionnaireReference - A potential answer that's allowed as the answer to this question. +# + valueDate - A potential answer that's allowed as the answer to this question. +# + valueInteger - A potential answer that's allowed as the answer to this question. + @r4:DataTypeDefinition { name: "QuestionnaireItemAnswerOption", baseType: (), elements: { + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 0, + max: 1, + isArray: false, + description: "A potential answer that's allowed as the answer to this question.", + path: "Questionnaire.item.answerOption.value[x]" + }, + "extension": { name: "extension", dataType: r4:Extension, @@ -402,15 +404,37 @@ public enum QuestionnaireItemType { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "Questionnaire.item.answerOption.extension" }, - "valueQuestionnaireCoding": { - name: "valueQuestionnaireCoding", - dataType: r4:Coding, + + "valueTime": { + name: "valueTime", + dataType: r4:time, + min: 0, + max: 1, + isArray: false, + description: "A potential answer that's allowed as the answer to this question.", + path: "Questionnaire.item.answerOption.value[x]" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "A potential answer that's allowed as the answer to this question.", + path: "Questionnaire.item.answerOption.value[x]" + }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, min: 0, max: 1, isArray: false, description: "A potential answer that's allowed as the answer to this question.", path: "Questionnaire.item.answerOption.value[x]" }, + "initialSelected": { name: "initialSelected", dataType: boolean, @@ -438,26 +462,9 @@ public enum QuestionnaireItemType { description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "Questionnaire.item.answerOption.id" }, - "valueQuestionnaireInteger": { - name: "valueQuestionnaireInteger", - dataType: r4:integer, - min: 0, - max: 1, - isArray: false, - description: "A potential answer that's allowed as the answer to this question.", - path: "Questionnaire.item.answerOption.value[x]" - }, - "valueQuestionnaireString": { - name: "valueQuestionnaireString", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "A potential answer that's allowed as the answer to this question.", - path: "Questionnaire.item.answerOption.value[x]" - }, - "valueQuestionnaireDate": { - name: "valueQuestionnaireDate", + + "valueDate": { + name: "valueDate", dataType: r4:date, min: 0, max: 1, @@ -465,18 +472,10 @@ public enum QuestionnaireItemType { description: "A potential answer that's allowed as the answer to this question.", path: "Questionnaire.item.answerOption.value[x]" }, - "valueQuestionnaireTime": { - name: "valueQuestionnaireTime", - dataType: r4:time, - min: 0, - max: 1, - isArray: false, - description: "A potential answer that's allowed as the answer to this question.", - path: "Questionnaire.item.answerOption.value[x]" - }, - "valueQuestionnaireReference": { - name: "valueQuestionnaireReference", - dataType: r4:Reference, + + "valueInteger": { + name: "valueInteger", + dataType: r4:integer, min: 0, max: 1, isArray: false, @@ -492,22 +491,23 @@ public enum QuestionnaireItemType { public type QuestionnaireItemAnswerOption record {| *r4:BackboneElement; + r4:Coding valueCoding?; r4:Extension[] extension?; - r4:Coding valueQuestionnaireCoding; + r4:time valueTime?; + string valueString?; + r4:Reference valueReference?; boolean initialSelected?; r4:Extension[] modifierExtension?; string id?; - r4:integer valueQuestionnaireInteger; - string valueQuestionnaireString; - r4:date valueQuestionnaireDate; - r4:time valueQuestionnaireTime; - r4:Reference valueQuestionnaireReference; + r4:date valueDate?; + r4:integer valueInteger?; |}; # FHIR QuestionnaireItem datatype record. # # + repeats - An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + item - Text, questions and other groups to be nested beneath a question or group. # + code - A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers). # + enableWhen - A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true. # + initial - One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input. @@ -524,7 +524,7 @@ public type QuestionnaireItemAnswerOption record {| # + answerOption - One of the permitted answers for a 'choice' or 'open-choice' question. # + answerValueSet - A reference to a value set containing a list of codes representing permitted answers for a 'choice' or 'open-choice' question. # + maxLength - The maximum number of characters that are permitted in the answer to be considered a 'valid' QuestionnaireResponse. -# + item - Text, questions and other groups to be nested beneath a question or group. + @r4:DataTypeDefinition { name: "QuestionnaireItem", baseType: (), @@ -547,6 +547,17 @@ public type QuestionnaireItemAnswerOption record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "Questionnaire.item.extension" }, + + "item": { + name: "item", + dataType: QuestionnaireItem, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Text, questions and other groups to be nested beneath a question or group.", + path: "Questionnaire.item.item" + }, + "code": { name: "code", dataType: r4:Coding, @@ -690,15 +701,6 @@ public type QuestionnaireItemAnswerOption record {| isArray: false, description: "The maximum number of characters that are permitted in the answer to be considered a 'valid' QuestionnaireResponse.", path: "Questionnaire.item.maxLength" - }, - "item": { - name: "item", - dataType: QuestionnaireItem, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "Text, questions and other groups to be nested beneath a question or group.", - path: "Questionnaire.item.item" } }, serializers: { @@ -711,6 +713,7 @@ public type QuestionnaireItem record {| boolean repeats?; r4:Extension[] extension?; + QuestionnaireItem[] item?; r4:Coding[] code?; QuestionnaireItemEnableWhen[] enableWhen?; QuestionnaireItemInitial[] initial?; @@ -727,7 +730,6 @@ public type QuestionnaireItem record {| QuestionnaireItemAnswerOption[] answerOption?; r4:canonical answerValueSet?; r4:integer maxLength?; - QuestionnaireItem[] item?; |}; # QuestionnaireStatus enum @@ -751,25 +753,46 @@ public enum QuestionnaireItemEnableWhenOperator { # FHIR QuestionnaireItemInitial datatype record. # +# + valueBoolean - The actual value to for an initial answer. +# + valueCoding - The actual value to for an initial answer. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + valueQuestionnaireCoding - The actual value to for an initial answer. +# + valueTime - The actual value to for an initial answer. +# + valueReference - The actual value to for an initial answer. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + valueQuestionnaireUri - The actual value to for an initial answer. -# + valueQuestionnaireBoolean - The actual value to for an initial answer. -# + valueQuestionnaireAttachment - The actual value to for an initial answer. -# + valueQuestionnaireReference - The actual value to for an initial answer. -# + valueQuestionnaireDecimal - The actual value to for an initial answer. -# + valueQuestionnaireDateTime - The actual value to for an initial answer. -# + valueQuestionnaireQuantity - The actual value to for an initial answer. +# + valueDecimal - The actual value to for an initial answer. +# + valueUri - The actual value to for an initial answer. +# + valueDate - The actual value to for an initial answer. +# + valueAttachment - The actual value to for an initial answer. +# + valueString - The actual value to for an initial answer. +# + valueDateTime - The actual value to for an initial answer. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + valueQuestionnaireInteger - The actual value to for an initial answer. -# + valueQuestionnaireString - The actual value to for an initial answer. -# + valueQuestionnaireDate - The actual value to for an initial answer. -# + valueQuestionnaireTime - The actual value to for an initial answer. +# + valueInteger - The actual value to for an initial answer. +# + valueQuantity - The actual value to for an initial answer. + @r4:DataTypeDefinition { name: "QuestionnaireItemInitial", baseType: (), elements: { + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 0, + max: 1, + isArray: false, + description: "The actual value to for an initial answer.", + path: "Questionnaire.item.initial.value[x]" + }, + + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, + min: 0, + max: 1, + isArray: false, + description: "The actual value to for an initial answer.", + path: "Questionnaire.item.initial.value[x]" + }, + "extension": { name: "extension", dataType: r4:Extension, @@ -779,15 +802,27 @@ public enum QuestionnaireItemEnableWhenOperator { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "Questionnaire.item.initial.extension" }, - "valueQuestionnaireCoding": { - name: "valueQuestionnaireCoding", - dataType: r4:Coding, + + "valueTime": { + name: "valueTime", + dataType: r4:time, min: 0, max: 1, isArray: false, description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "The actual value to for an initial answer.", + path: "Questionnaire.item.initial.value[x]" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -797,53 +832,59 @@ public enum QuestionnaireItemEnableWhenOperator { description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "Questionnaire.item.initial.modifierExtension" }, - "valueQuestionnaireUri": { - name: "valueQuestionnaireUri", - dataType: r4:uri, + + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, min: 0, max: 1, isArray: false, description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, - "valueQuestionnaireBoolean": { - name: "valueQuestionnaireBoolean", - dataType: boolean, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, min: 0, max: 1, isArray: false, description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, - "valueQuestionnaireAttachment": { - name: "valueQuestionnaireAttachment", - dataType: r4:Attachment, + + "valueDate": { + name: "valueDate", + dataType: r4:date, min: 0, max: 1, isArray: false, description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, - "valueQuestionnaireReference": { - name: "valueQuestionnaireReference", - dataType: r4:Reference, + + "valueAttachment": { + name: "valueAttachment", + dataType: r4:Attachment, min: 0, max: 1, isArray: false, description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, - "valueQuestionnaireDecimal": { - name: "valueQuestionnaireDecimal", - dataType: decimal, + + "valueString": { + name: "valueString", + dataType: string, min: 0, max: 1, isArray: false, description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, - "valueQuestionnaireDateTime": { - name: "valueQuestionnaireDateTime", + + "valueDateTime": { + name: "valueDateTime", dataType: r4:dateTime, min: 0, max: 1, @@ -851,15 +892,7 @@ public enum QuestionnaireItemEnableWhenOperator { description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, - "valueQuestionnaireQuantity": { - name: "valueQuestionnaireQuantity", - dataType: r4:Quantity, - min: 0, - max: 1, - isArray: false, - description: "The actual value to for an initial answer.", - path: "Questionnaire.item.initial.value[x]" - }, + "id": { name: "id", dataType: string, @@ -869,8 +902,9 @@ public enum QuestionnaireItemEnableWhenOperator { description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "Questionnaire.item.initial.id" }, - "valueQuestionnaireInteger": { - name: "valueQuestionnaireInteger", + + "valueInteger": { + name: "valueInteger", dataType: r4:integer, min: 0, max: 1, @@ -878,27 +912,10 @@ public enum QuestionnaireItemEnableWhenOperator { description: "The actual value to for an initial answer.", path: "Questionnaire.item.initial.value[x]" }, - "valueQuestionnaireString": { - name: "valueQuestionnaireString", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "The actual value to for an initial answer.", - path: "Questionnaire.item.initial.value[x]" - }, - "valueQuestionnaireDate": { - name: "valueQuestionnaireDate", - dataType: r4:date, - min: 0, - max: 1, - isArray: false, - description: "The actual value to for an initial answer.", - path: "Questionnaire.item.initial.value[x]" - }, - "valueQuestionnaireTime": { - name: "valueQuestionnaireTime", - dataType: r4:time, + + "valueQuantity": { + name: "valueQuantity", + dataType: r4:Quantity, min: 0, max: 1, isArray: false, @@ -914,56 +931,58 @@ public enum QuestionnaireItemEnableWhenOperator { public type QuestionnaireItemInitial record {| *r4:BackboneElement; + boolean valueBoolean?; + r4:Coding valueCoding?; r4:Extension[] extension?; - r4:Coding valueQuestionnaireCoding; + r4:time valueTime?; + r4:Reference valueReference?; r4:Extension[] modifierExtension?; - r4:uri valueQuestionnaireUri; - boolean valueQuestionnaireBoolean; - r4:Attachment valueQuestionnaireAttachment; - r4:Reference valueQuestionnaireReference; - decimal valueQuestionnaireDecimal; - r4:dateTime valueQuestionnaireDateTime; - r4:Quantity valueQuestionnaireQuantity; + decimal valueDecimal?; + r4:uri valueUri?; + r4:date valueDate?; + r4:Attachment valueAttachment?; + string valueString?; + r4:dateTime valueDateTime?; string id?; - r4:integer valueQuestionnaireInteger; - string valueQuestionnaireString; - r4:date valueQuestionnaireDate; - r4:time valueQuestionnaireTime; + r4:integer valueInteger?; + r4:Quantity valueQuantity?; |}; # FHIR QuestionnaireItemEnableWhen datatype record. # -# + answerQuestionnaireReference - A value that the referenced question is tested using the specified operator in order for the item to be enabled. -# + answerQuestionnaireDate - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerQuantity - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerDateTime - A value that the referenced question is tested using the specified operator in order for the item to be enabled. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + answerDate - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerTime - A value that the referenced question is tested using the specified operator in order for the item to be enabled. # + question - The linkId for the question whose answer (or lack of answer) governs whether this item is enabled. -# + answerQuestionnaireDecimal - A value that the referenced question is tested using the specified operator in order for the item to be enabled. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + answerQuestionnaireTime - A value that the referenced question is tested using the specified operator in order for the item to be enabled. -# + answerQuestionnaireString - A value that the referenced question is tested using the specified operator in order for the item to be enabled. -# + answerQuestionnaireCoding - A value that the referenced question is tested using the specified operator in order for the item to be enabled. -# + answerQuestionnaireInteger - A value that the referenced question is tested using the specified operator in order for the item to be enabled. -# + answerQuestionnaireQuantity - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerInteger - A value that the referenced question is tested using the specified operator in order for the item to be enabled. # + operator - Specifies the criteria by which the question is enabled. -# + answerQuestionnaireDateTime - A value that the referenced question is tested using the specified operator in order for the item to be enabled. -# + answerQuestionnaireBoolean - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerDecimal - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerString - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerCoding - A value that the referenced question is tested using the specified operator in order for the item to be enabled. +# + answerReference - A value that the referenced question is tested using the specified operator in order for the item to be enabled. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + answerBoolean - A value that the referenced question is tested using the specified operator in order for the item to be enabled. + @r4:DataTypeDefinition { name: "QuestionnaireItemEnableWhen", baseType: (), elements: { - "answerQuestionnaireReference": { - name: "answerQuestionnaireReference", - dataType: r4:Reference, + "answerQuantity": { + name: "answerQuantity", + dataType: r4:Quantity, min: 0, max: 1, isArray: false, description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", path: "Questionnaire.item.enableWhen.answer[x]" }, - "answerQuestionnaireDate": { - name: "answerQuestionnaireDate", - dataType: r4:date, + + "answerDateTime": { + name: "answerDateTime", + dataType: r4:dateTime, min: 0, max: 1, isArray: false, @@ -979,24 +998,37 @@ public type QuestionnaireItemInitial record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "Questionnaire.item.enableWhen.extension" }, - "question": { - name: "question", - dataType: string, - min: 1, + + "answerDate": { + name: "answerDate", + dataType: r4:date, + min: 0, max: 1, isArray: false, - description: "The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.", - path: "Questionnaire.item.enableWhen.question" + description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", + path: "Questionnaire.item.enableWhen.answer[x]" }, - "answerQuestionnaireDecimal": { - name: "answerQuestionnaireDecimal", - dataType: decimal, + + "answerTime": { + name: "answerTime", + dataType: r4:time, min: 0, max: 1, isArray: false, description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", path: "Questionnaire.item.enableWhen.answer[x]" }, + + "question": { + name: "question", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.", + path: "Questionnaire.item.enableWhen.question" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -1006,72 +1038,60 @@ public type QuestionnaireItemInitial record {| description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "Questionnaire.item.enableWhen.modifierExtension" }, - "answerQuestionnaireTime": { - name: "answerQuestionnaireTime", - dataType: r4:time, - min: 0, - max: 1, - isArray: false, - description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", - path: "Questionnaire.item.enableWhen.answer[x]" - }, - "answerQuestionnaireString": { - name: "answerQuestionnaireString", - dataType: string, + + "answerInteger": { + name: "answerInteger", + dataType: r4:integer, min: 0, max: 1, isArray: false, description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", path: "Questionnaire.item.enableWhen.answer[x]" }, - "answerQuestionnaireCoding": { - name: "answerQuestionnaireCoding", - dataType: r4:Coding, - min: 0, + + "operator": { + name: "operator", + dataType: QuestionnaireItemEnableWhenOperator, + min: 1, max: 1, isArray: false, - description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", - path: "Questionnaire.item.enableWhen.answer[x]" + description: "Specifies the criteria by which the question is enabled.", + path: "Questionnaire.item.enableWhen.operator" }, - "answerQuestionnaireInteger": { - name: "answerQuestionnaireInteger", - dataType: r4:integer, + + "answerDecimal": { + name: "answerDecimal", + dataType: decimal, min: 0, max: 1, isArray: false, description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", path: "Questionnaire.item.enableWhen.answer[x]" }, - "answerQuestionnaireQuantity": { - name: "answerQuestionnaireQuantity", - dataType: r4:Quantity, + + "answerString": { + name: "answerString", + dataType: string, min: 0, max: 1, isArray: false, description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", path: "Questionnaire.item.enableWhen.answer[x]" }, - "operator": { - name: "operator", - dataType: QuestionnaireItemEnableWhenOperator, - min: 1, - max: 1, - isArray: false, - description: "Specifies the criteria by which the question is enabled.", - path: "Questionnaire.item.enableWhen.operator" - }, - "answerQuestionnaireDateTime": { - name: "answerQuestionnaireDateTime", - dataType: r4:dateTime, + + "answerCoding": { + name: "answerCoding", + dataType: r4:Coding, min: 0, max: 1, isArray: false, description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", path: "Questionnaire.item.enableWhen.answer[x]" }, - "answerQuestionnaireBoolean": { - name: "answerQuestionnaireBoolean", - dataType: boolean, + + "answerReference": { + name: "answerReference", + dataType: r4:Reference, min: 0, max: 1, isArray: false, @@ -1086,6 +1106,16 @@ public type QuestionnaireItemInitial record {| isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "Questionnaire.item.enableWhen.id" + }, + + "answerBoolean": { + name: "answerBoolean", + dataType: boolean, + min: 0, + max: 1, + isArray: false, + description: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.", + path: "Questionnaire.item.enableWhen.answer[x]" } }, serializers: { @@ -1096,20 +1126,20 @@ public type QuestionnaireItemInitial record {| public type QuestionnaireItemEnableWhen record {| *r4:BackboneElement; - r4:Reference answerQuestionnaireReference; - r4:date answerQuestionnaireDate; + r4:Quantity answerQuantity?; + r4:dateTime answerDateTime?; r4:Extension[] extension?; + r4:date answerDate?; + r4:time answerTime?; string question; - decimal answerQuestionnaireDecimal; r4:Extension[] modifierExtension?; - r4:time answerQuestionnaireTime; - string answerQuestionnaireString; - r4:Coding answerQuestionnaireCoding; - r4:integer answerQuestionnaireInteger; - r4:Quantity answerQuestionnaireQuantity; + r4:integer answerInteger?; QuestionnaireItemEnableWhenOperator operator; - r4:dateTime answerQuestionnaireDateTime; - boolean answerQuestionnaireBoolean; + decimal answerDecimal?; + string answerString?; + r4:Coding answerCoding?; + r4:Reference answerReference?; string id?; + boolean answerBoolean?; |}; diff --git a/international401/resource_questionnaire_response.bal b/international401/resource_questionnaire_response.bal index 9a42c379..ec4f84f8 100644 --- a/international401/resource_questionnaire_response.bal +++ b/international401/resource_questionnaire_response.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_QUESTIONNAIRERESPONSE = "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"; public const RESOURCE_NAME_QUESTIONNAIRERESPONSE = "QuestionnaireResponse"; +public type QuestionnaireResponseExtensions (r4:Extension|QuestionnaireresponseAttester|QuestionnaireresponseCompletionMode|QuestionnaireresponseReason|QuestionnaireresponseReviewer|QuestionnaireresponseSignature|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowResearchStudy|WorkflowTriggeredBy); + # FHIR QuestionnaireResponse resource record. # # + resourceType - The type of the resource describes @@ -247,28 +249,40 @@ public enum QuestionnaireResponseStatus { # FHIR QuestionnaireResponseItemAnswer datatype record. # -# + valueQuestionnaireResponseReference - The answer (or one of the answers) provided by the respondent to the question. +# + valueBoolean - The answer (or one of the answers) provided by the respondent to the question. +# + valueCoding - The answer (or one of the answers) provided by the respondent to the question. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + valueQuestionnaireResponseAttachment - The answer (or one of the answers) provided by the respondent to the question. -# + valueQuestionnaireResponseTime - The answer (or one of the answers) provided by the respondent to the question. -# + valueQuestionnaireResponseQuantity - The answer (or one of the answers) provided by the respondent to the question. +# + item - Nested groups and/or questions found within this particular answer. +# + valueTime - The answer (or one of the answers) provided by the respondent to the question. +# + valueReference - The answer (or one of the answers) provided by the respondent to the question. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + valueQuestionnaireResponseBoolean - The answer (or one of the answers) provided by the respondent to the question. -# + valueQuestionnaireResponseString - The answer (or one of the answers) provided by the respondent to the question. -# + valueQuestionnaireResponseUri - The answer (or one of the answers) provided by the respondent to the question. -# + valueQuestionnaireResponseCoding - The answer (or one of the answers) provided by the respondent to the question. -# + valueQuestionnaireResponseDecimal - The answer (or one of the answers) provided by the respondent to the question. +# + valueDecimal - The answer (or one of the answers) provided by the respondent to the question. +# + valueUri - The answer (or one of the answers) provided by the respondent to the question. +# + valueDate - The answer (or one of the answers) provided by the respondent to the question. +# + valueAttachment - The answer (or one of the answers) provided by the respondent to the question. +# + valueString - The answer (or one of the answers) provided by the respondent to the question. +# + valueDateTime - The answer (or one of the answers) provided by the respondent to the question. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + valueQuestionnaireResponseInteger - The answer (or one of the answers) provided by the respondent to the question. -# + valueQuestionnaireResponseDate - The answer (or one of the answers) provided by the respondent to the question. -# + valueQuestionnaireResponseDateTime - The answer (or one of the answers) provided by the respondent to the question. +# + valueInteger - The answer (or one of the answers) provided by the respondent to the question. +# + valueQuantity - The answer (or one of the answers) provided by the respondent to the question. + @r4:DataTypeDefinition { name: "QuestionnaireResponseItemAnswer", baseType: (), elements: { - "valueQuestionnaireResponseReference": { - name: "valueQuestionnaireResponseReference", - dataType: r4:Reference, + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, + min: 0, + max: 1, + isArray: false, + description: "The answer (or one of the answers) provided by the respondent to the question.", + path: "QuestionnaireResponse.item.answer.value[x]" + }, + + "valueCoding": { + name: "valueCoding", + dataType: r4:Coding, min: 0, max: 1, isArray: false, @@ -284,17 +298,19 @@ public enum QuestionnaireResponseStatus { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "QuestionnaireResponse.item.answer.extension" }, - "valueQuestionnaireResponseAttachment": { - name: "valueQuestionnaireResponseAttachment", - dataType: r4:Attachment, + + "item": { + name: "item", + dataType: QuestionnaireResponseItem, min: 0, - max: 1, - isArray: false, - description: "The answer (or one of the answers) provided by the respondent to the question.", - path: "QuestionnaireResponse.item.answer.value[x]" + max: int:MAX_VALUE, + isArray: true, + description: "Nested groups and/or questions found within this particular answer.", + path: "QuestionnaireResponse.item.answer.item" }, - "valueQuestionnaireResponseTime": { - name: "valueQuestionnaireResponseTime", + + "valueTime": { + name: "valueTime", dataType: r4:time, min: 0, max: 1, @@ -302,9 +318,10 @@ public enum QuestionnaireResponseStatus { description: "The answer (or one of the answers) provided by the respondent to the question.", path: "QuestionnaireResponse.item.answer.value[x]" }, - "valueQuestionnaireResponseQuantity": { - name: "valueQuestionnaireResponseQuantity", - dataType: r4:Quantity, + + "valueReference": { + name: "valueReference", + dataType: r4:Reference, min: 0, max: 1, isArray: false, @@ -320,51 +337,67 @@ public enum QuestionnaireResponseStatus { description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "QuestionnaireResponse.item.answer.modifierExtension" }, - "valueQuestionnaireResponseBoolean": { - name: "valueQuestionnaireResponseBoolean", - dataType: boolean, + + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, min: 0, max: 1, isArray: false, description: "The answer (or one of the answers) provided by the respondent to the question.", path: "QuestionnaireResponse.item.answer.value[x]" }, - "valueQuestionnaireResponseString": { - name: "valueQuestionnaireResponseString", - dataType: string, + + "valueUri": { + name: "valueUri", + dataType: r4:uri, min: 0, max: 1, isArray: false, description: "The answer (or one of the answers) provided by the respondent to the question.", path: "QuestionnaireResponse.item.answer.value[x]" }, - "valueQuestionnaireResponseUri": { - name: "valueQuestionnaireResponseUri", - dataType: r4:uri, + + "valueDate": { + name: "valueDate", + dataType: r4:date, min: 0, max: 1, isArray: false, description: "The answer (or one of the answers) provided by the respondent to the question.", path: "QuestionnaireResponse.item.answer.value[x]" }, - "valueQuestionnaireResponseCoding": { - name: "valueQuestionnaireResponseCoding", - dataType: r4:Coding, + + "valueAttachment": { + name: "valueAttachment", + dataType: r4:Attachment, min: 0, max: 1, isArray: false, description: "The answer (or one of the answers) provided by the respondent to the question.", path: "QuestionnaireResponse.item.answer.value[x]" }, - "valueQuestionnaireResponseDecimal": { - name: "valueQuestionnaireResponseDecimal", - dataType: decimal, + + "valueString": { + name: "valueString", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "The answer (or one of the answers) provided by the respondent to the question.", + path: "QuestionnaireResponse.item.answer.value[x]" + }, + + "valueDateTime": { + name: "valueDateTime", + dataType: r4:dateTime, min: 0, max: 1, isArray: false, description: "The answer (or one of the answers) provided by the respondent to the question.", path: "QuestionnaireResponse.item.answer.value[x]" }, + "id": { name: "id", dataType: string, @@ -374,8 +407,9 @@ public enum QuestionnaireResponseStatus { description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "QuestionnaireResponse.item.answer.id" }, - "valueQuestionnaireResponseInteger": { - name: "valueQuestionnaireResponseInteger", + + "valueInteger": { + name: "valueInteger", dataType: r4:integer, min: 0, max: 1, @@ -383,18 +417,10 @@ public enum QuestionnaireResponseStatus { description: "The answer (or one of the answers) provided by the respondent to the question.", path: "QuestionnaireResponse.item.answer.value[x]" }, - "valueQuestionnaireResponseDate": { - name: "valueQuestionnaireResponseDate", - dataType: r4:date, - min: 0, - max: 1, - isArray: false, - description: "The answer (or one of the answers) provided by the respondent to the question.", - path: "QuestionnaireResponse.item.answer.value[x]" - }, - "valueQuestionnaireResponseDateTime": { - name: "valueQuestionnaireResponseDateTime", - dataType: r4:dateTime, + + "valueQuantity": { + name: "valueQuantity", + dataType: r4:Quantity, min: 0, max: 1, isArray: false, @@ -410,26 +436,28 @@ public enum QuestionnaireResponseStatus { public type QuestionnaireResponseItemAnswer record {| *r4:BackboneElement; - r4:Reference valueQuestionnaireResponseReference?; + boolean valueBoolean?; + r4:Coding valueCoding?; r4:Extension[] extension?; - r4:Attachment valueQuestionnaireResponseAttachment?; - r4:time valueQuestionnaireResponseTime?; - r4:Quantity valueQuestionnaireResponseQuantity?; + QuestionnaireResponseItem[] item?; + r4:time valueTime?; + r4:Reference valueReference?; r4:Extension[] modifierExtension?; - boolean valueQuestionnaireResponseBoolean?; - string valueQuestionnaireResponseString?; - r4:uri valueQuestionnaireResponseUri?; - r4:Coding valueQuestionnaireResponseCoding?; - decimal valueQuestionnaireResponseDecimal?; + decimal valueDecimal?; + r4:uri valueUri?; + r4:date valueDate?; + r4:Attachment valueAttachment?; + string valueString?; + r4:dateTime valueDateTime?; string id?; - r4:integer valueQuestionnaireResponseInteger?; - r4:date valueQuestionnaireResponseDate?; - r4:dateTime valueQuestionnaireResponseDateTime?; + r4:integer valueInteger?; + r4:Quantity valueQuantity?; |}; # FHIR QuestionnaireResponseItem datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + item - Questions or sub-groups nested beneath a question or group. # + linkId - The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource. # + answer - The respondent's answer(s) to the question. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). @@ -449,6 +477,17 @@ public type QuestionnaireResponseItemAnswer record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "QuestionnaireResponse.item.extension" }, + + "item": { + name: "item", + dataType: QuestionnaireResponseItem, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Questions or sub-groups nested beneath a question or group.", + path: "QuestionnaireResponse.item.item" + }, + "linkId": { name: "linkId", dataType: string, @@ -513,6 +552,7 @@ public type QuestionnaireResponseItem record {| *r4:BackboneElement; r4:Extension[] extension?; + QuestionnaireResponseItem[] item?; string linkId; QuestionnaireResponseItemAnswer[] answer?; r4:Extension[] modifierExtension?; diff --git a/international401/resource_related_person.bal b/international401/resource_related_person.bal index 09f43bf2..019619c7 100644 --- a/international401/resource_related_person.bal +++ b/international401/resource_related_person.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_RELATEDPERSON = "http://hl7.org/fhir/StructureDefinition/RelatedPerson"; public const RESOURCE_NAME_RELATEDPERSON = "RelatedPerson"; +public type RelatedPersonExtensions (r4:Extension|IndividualGenderIdentity|IndividualPronouns|IndividualRecordedSexOrGender|PatientInterpreterRequired|PractitionerAnimalSpecies); + # FHIR RelatedPerson resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_request_group.bal b/international401/resource_request_group.bal index 08ed6603..83b5b65e 100644 --- a/international401/resource_request_group.bal +++ b/international401/resource_request_group.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -446,6 +446,7 @@ public enum RequestGroupActionConditionKind { # + 'type - The type of action to perform (create, update, remove). # + groupingBehavior - Defines the grouping behavior for the action and its children. # + participant - The participant that should perform or be responsible for this action. +# + action - Sub actions. # + timingAge - An optional value describing when the action should be performed. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + relatedAction - A relationship to another action such as 'before' or '30-60 minutes after start of'. @@ -556,6 +557,17 @@ public enum RequestGroupActionConditionKind { description: "The participant that should perform or be responsible for this action.", path: "RequestGroup.action.participant" }, + + "action": { + name: "action", + dataType: RequestGroupAction, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Sub actions.", + path: "RequestGroup.action.action" + }, + "timingAge": { name: "timingAge", dataType: r4:Age, @@ -719,6 +731,7 @@ public type RequestGroupAction record {| r4:CodeableConcept 'type?; RequestGroupActionGroupingBehavior groupingBehavior?; r4:Reference[] participant?; + RequestGroupAction[] action?; r4:Age timingAge?; string id?; RequestGroupActionRelatedAction[] relatedAction?; @@ -740,11 +753,11 @@ public type RequestGroupAction record {| # FHIR RequestGroupActionRelatedAction datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + offsetRequestGroupDuration - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + actionId - The element id of the action this is related to. +# + offsetDuration - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. +# + offsetRange - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + offsetRequestGroupRange - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. # + relationship - The relationship of this action to the related action. @r4:DataTypeDefinition { name: "RequestGroupActionRelatedAction", @@ -759,15 +772,7 @@ public type RequestGroupAction record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "RequestGroup.action.relatedAction.extension" }, - "offsetRequestGroupDuration": { - name: "offsetRequestGroupDuration", - dataType: r4:Duration, - min: 0, - max: 1, - isArray: false, - description: "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", - path: "RequestGroup.action.relatedAction.offset[x]" - }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -786,17 +791,19 @@ public type RequestGroupAction record {| description: "The element id of the action this is related to.", path: "RequestGroup.action.relatedAction.actionId" }, - "id": { - name: "id", - dataType: string, + + "offsetDuration": { + name: "offsetDuration", + dataType: r4:Duration, min: 0, max: 1, isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "RequestGroup.action.relatedAction.id" + description: "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", + path: "RequestGroup.action.relatedAction.offset[x]" }, - "offsetRequestGroupRange": { - name: "offsetRequestGroupRange", + + "offsetRange": { + name: "offsetRange", dataType: r4:Range, min: 0, max: 1, @@ -804,6 +811,17 @@ public type RequestGroupAction record {| description: "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", path: "RequestGroup.action.relatedAction.offset[x]" }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "RequestGroup.action.relatedAction.id" + }, + "relationship": { name: "relationship", dataType: RequestGroupActionRelatedActionRelationship, @@ -823,11 +841,11 @@ public type RequestGroupActionRelatedAction record {| *r4:BackboneElement; r4:Extension[] extension?; - r4:Duration offsetRequestGroupDuration?; r4:Extension[] modifierExtension?; r4:id actionId; + r4:Duration offsetDuration?; + r4:Range offsetRange?; string id?; - r4:Range offsetRequestGroupRange?; RequestGroupActionRelatedActionRelationship relationship; |}; diff --git a/international401/resource_research_element_definition.bal b/international401/resource_research_element_definition.bal index 517d45c2..2af9eac4 100644 --- a/international401/resource_research_element_definition.bal +++ b/international401/resource_research_element_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -444,7 +444,10 @@ public type ResearchElementDefinition record {| string title?; ResearchElementDefinitionType 'type; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.ResearchElementDefinition.characteristic constraint. This field must be an array containing at least one item." + } } ResearchElementDefinitionCharacteristic[] characteristic; ResearchElementDefinitionVariableType variableType?; @@ -743,14 +746,14 @@ public type ResearchElementDefinitionCharacteristic record {| r4:Timing participantEffectiveTiming?; r4:Period studyEffectivePeriod?; - r4:CodeableConcept definitionCodeableConcept; + r4:CodeableConcept definitionCodeableConcept?; r4:Period participantEffectivePeriod?; r4:Timing studyEffectiveTiming?; r4:UsageContext[] usageContext?; - r4:canonical definitionCanonical; + r4:canonical definitionCanonical?; r4:Extension[] extension?; r4:CodeableConcept unitOfMeasure?; - r4:DataRequirement definitionDataRequirement; + r4:DataRequirement definitionDataRequirement?; r4:dateTime participantEffectiveDateTime?; r4:Extension[] modifierExtension?; r4:Duration studyEffectiveDuration?; @@ -758,7 +761,7 @@ public type ResearchElementDefinitionCharacteristic record {| r4:Duration studyEffectiveTimeFromStart?; ResearchElementDefinitionCharacteristicParticipantEffectiveGroupMeasure participantEffectiveGroupMeasure?; ResearchElementDefinitionCharacteristicStudyEffectiveGroupMeasure studyEffectiveGroupMeasure?; - r4:Expression definitionExpression; + r4:Expression definitionExpression?; string studyEffectiveDescription?; boolean exclude?; r4:Duration participantEffectiveDuration?; diff --git a/international401/resource_research_study.bal b/international401/resource_research_study.bal index 31064ca5..c926dff3 100644 --- a/international401/resource_research_study.bal +++ b/international401/resource_research_study.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_RESEARCHSTUDY = "http://hl7.org/fhir/StructureDefinition/ResearchStudy"; public const RESOURCE_NAME_RESEARCHSTUDY = "ResearchStudy"; +public type ResearchStudyExtensions (r4:Extension|ResearchStudySiteRecruitment|ResearchStudyStudyRegistration); + # FHIR ResearchStudy resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_research_subject.bal b/international401/resource_research_subject.bal index 27b758d4..eba6247b 100644 --- a/international401/resource_research_subject.bal +++ b/international401/resource_research_subject.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_RESEARCHSUBJECT = "http://hl7.org/fhir/StructureDefinition/ResearchSubject"; public const RESOURCE_NAME_RESEARCHSUBJECT = "ResearchSubject"; +public type ResearchSubjectExtensions (r4:Extension|WorkflowEpisodeOfCare); + # FHIR ResearchSubject resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_risk_assessment.bal b/international401/resource_risk_assessment.bal index 36d9155f..90173d9b 100644 --- a/international401/resource_risk_assessment.bal +++ b/international401/resource_risk_assessment.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_RISKASSESSMENT = "http://hl7.org/fhir/StructureDefinition/RiskAssessment"; public const RESOURCE_NAME_RISKASSESSMENT = "RiskAssessment"; +public type RiskAssessmentExtensions (r4:Extension|WorkflowEpisodeOfCare|WorkflowResearchStudy); + # FHIR RiskAssessment resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_schedule.bal b/international401/resource_schedule.bal index c53e21a4..8f426f1a 100644 --- a/international401/resource_schedule.bal +++ b/international401/resource_schedule.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -200,7 +200,10 @@ public type Schedule record {| r4:CodeableConcept[] serviceCategory?; r4:Period planningHorizon?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.Schedule.actor constraint. This field must be an array containing at least one item." + } } r4:Reference[] actor; r4:Resource[] contained?; diff --git a/international401/resource_search_parameter.bal b/international401/resource_search_parameter.bal index 72afe5a1..083e88b7 100644 --- a/international401/resource_search_parameter.bal +++ b/international401/resource_search_parameter.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_SEARCHPARAMETER = "http://hl7.org/fhir/StructureDefinition/SearchParameter"; public const RESOURCE_NAME_SEARCHPARAMETER = "SearchParameter"; +public type SearchParameterExtensions (r4:Extension|Replaces|ResourceApprovalDate|ResourceEffectivePeriod|ResourceLastReviewDate); + # FHIR SearchParameter resource record. # # + resourceType - The type of the resource describes @@ -390,7 +392,10 @@ public type SearchParameter record {| string publisher?; r4:UsageContext[] useContext?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.SearchParameter.base constraint. This field must be an array containing at least one item." + } } r4:code[] base; SearchParameterStatus status; diff --git a/international401/resource_service_request.bal b/international401/resource_service_request.bal index 0da2ec71..9c07c5be 100644 --- a/international401/resource_service_request.bal +++ b/international401/resource_service_request.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_SERVICEREQUEST = "http://hl7.org/fhir/StructureDefinition/ServiceRequest"; public const RESOURCE_NAME_SERVICEREQUEST = "ServiceRequest"; +public type ServiceRequestExtensions (BusinessEvent|r4:Extension|ProcedureApproachBodyStructure|ProcedureDirectedBy|ProcedureTargetBodyStructure|RequestStatusReason|ServicerequestOrderCallbackPhoneNumber|ServicerequestPrecondition|ServicerequestQuestionnaireRequest|WorkflowCompliesWith|WorkflowEpisodeOfCare|WorkflowFollowOnOf|WorkflowGeneratedFrom|WorkflowReleaseDate|WorkflowResearchStudy|WorkflowShallComplyWith|WorkflowTriggeredBy); + # FHIR ServiceRequest resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_service_request_genetics.bal b/international401/resource_service_request_genetics.bal index bbb0a5e4..213e4f1d 100644 --- a/international401/resource_service_request_genetics.bal +++ b/international401/resource_service_request_genetics.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,17 +22,14 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_SERVICEREQUEST_GENETICS = "http://hl7.org/fhir/StructureDefinition/servicerequest-genetics"; public const RESOURCE_NAME_SERVICEREQUEST_GENETICS = "ServiceRequest"; +public type ServiceRequest_GeneticsExtensions (BusinessEvent|r4:Extension|ProcedureApproachBodyStructure|ProcedureDirectedBy|ProcedureTargetBodyStructure|RequestStatusReason|ServicerequestOrderCallbackPhoneNumber|ServicerequestPrecondition|ServicerequestQuestionnaireRequest|WorkflowCompliesWith|WorkflowEpisodeOfCare|WorkflowFollowOnOf|WorkflowGeneratedFrom|WorkflowReleaseDate|WorkflowResearchStudy|WorkflowShallComplyWith|WorkflowTriggeredBy); + # FHIR ServiceRequest_Genetics resource record. # # + resourceType - The type of the resource describes # + insurance - Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be needed for delivering the requested service. # + note - Any other notes and comments made about the service request. For example, internal billing notes. # + extension - An Extension -# * extension Slicings -# 1) Extension: The items the orderer requested -# - min = 0 -# - max = * -# # + code - A code that identifies a particular service (i.e., procedure, diagnostic investigation, or panel of investigations) that have been requested. # + requisition - A shared identifier common to all service requests that were authorized more or less simultaneously by a single author, representing the composite or group identifier. # + subject - On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans). diff --git a/international401/resource_shareable_activity_definition.bal b/international401/resource_shareable_activity_definition.bal index 5880da84..3b898de6 100644 --- a/international401/resource_shareable_activity_definition.bal +++ b/international401/resource_shareable_activity_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -19,10 +19,12 @@ import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_SHAREABLE_ACTIVITYDEFINITION = "http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition"; -public const RESOURCE_NAME_SHAREABLE_ACTIVITYDEFINITION = "ActivityDefinition"; +public const string PROFILE_BASE_SHAREABLEACTIVITYDEFINITION = "http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition"; +public const RESOURCE_NAME_SHAREABLEACTIVITYDEFINITION = "ActivityDefinition"; -# FHIR Shareable_ActivityDefinition resource record. +public type ShareableActivityDefinitionExtensions (CqfTargetInvariant|r4:Extension|Replaces|TargetConstraint|Variable|WorkflowShallComplyWith); + +# FHIR ShareableActivityDefinition resource record. # # + resourceType - The type of the resource describes # + date - The date (and optionally time) when the activity definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the activity definition changes. @@ -151,7 +153,7 @@ public const RESOURCE_NAME_SHAREABLE_ACTIVITYDEFINITION = "ActivityDefinition"; }, "participant" : { name: "participant", - dataType: Shareable_ActivityDefinitionParticipant, + dataType: ShareableActivityDefinitionParticipant, min: 0, max: int:MAX_VALUE, isArray: true, @@ -272,7 +274,7 @@ public const RESOURCE_NAME_SHAREABLE_ACTIVITYDEFINITION = "ActivityDefinition"; }, "priority" : { name: "priority", - dataType: Shareable_ActivityDefinitionPriority, + dataType: ShareableActivityDefinitionPriority, min: 0, max: 1, isArray: false, @@ -371,7 +373,7 @@ public const RESOURCE_NAME_SHAREABLE_ACTIVITYDEFINITION = "ActivityDefinition"; }, "status" : { name: "status", - dataType: Shareable_ActivityDefinitionStatus, + dataType: ShareableActivityDefinitionStatus, min: 1, max: 1, isArray: false, @@ -471,7 +473,7 @@ public const RESOURCE_NAME_SHAREABLE_ACTIVITYDEFINITION = "ActivityDefinition"; }, "dynamicValue" : { name: "dynamicValue", - dataType: Shareable_ActivityDefinitionDynamicValue, + dataType: ShareableActivityDefinitionDynamicValue, min: 0, max: int:MAX_VALUE, isArray: true, @@ -527,7 +529,7 @@ public const RESOURCE_NAME_SHAREABLE_ACTIVITYDEFINITION = "ActivityDefinition"; }, "intent" : { name: "intent", - dataType: Shareable_ActivityDefinitionIntent, + dataType: ShareableActivityDefinitionIntent, min: 0, max: 1, isArray: false, @@ -598,10 +600,11 @@ public const RESOURCE_NAME_SHAREABLE_ACTIVITYDEFINITION = "ActivityDefinition"; 'json: r4:fhirResourceJsonSerializer } } -public type Shareable_ActivityDefinition record {| + +public type ShareableActivityDefinition record {| *r4:DomainResource; - RESOURCE_NAME_SHAREABLE_ACTIVITYDEFINITION resourceType = RESOURCE_NAME_SHAREABLE_ACTIVITYDEFINITION; + RESOURCE_NAME_SHAREABLEACTIVITYDEFINITION resourceType = RESOURCE_NAME_SHAREABLEACTIVITYDEFINITION; r4:dateTime date?; r4:markdown copyright?; @@ -610,7 +613,7 @@ public type Shareable_ActivityDefinition record {| r4:Reference productReference?; boolean experimental; r4:code language?; - Shareable_ActivityDefinitionParticipant[] participant?; + ShareableActivityDefinitionParticipant[] participant?; r4:Reference[] observationResultRequirement?; r4:ContactDetail[] contact?; r4:ContactDetail[] endorser?; @@ -625,7 +628,7 @@ public type Shareable_ActivityDefinition record {| r4:ContactDetail[] author?; r4:code kind?; r4:canonical profile?; - Shareable_ActivityDefinitionPriority priority?; + ShareableActivityDefinitionPriority priority?; string 'version; r4:Range timingRange?; r4:date lastReviewDate?; @@ -637,7 +640,7 @@ public type Shareable_ActivityDefinition record {| r4:CodeableConcept[] topic?; r4:UsageContext[] useContext?; r4:CodeableConcept productCodeableConcept?; - Shareable_ActivityDefinitionStatus status; + ShareableActivityDefinitionStatus status; r4:Dosage[] dosage?; r4:Extension[] extension?; r4:date approvalDate?; @@ -649,14 +652,14 @@ public type Shareable_ActivityDefinition record {| r4:Reference[] specimenRequirement?; string title?; r4:canonical transform?; - Shareable_ActivityDefinitionDynamicValue[] dynamicValue?; + ShareableActivityDefinitionDynamicValue[] dynamicValue?; r4:canonical[] library?; r4:ContactDetail[] editor?; r4:SimpleQuantity quantity?; r4:Timing timingTiming?; r4:Period timingPeriod?; r4:ContactDetail[] reviewer?; - Shareable_ActivityDefinitionIntent intent?; + ShareableActivityDefinitionIntent intent?; r4:Reference subjectReference?; r4:Reference[] observationRequirement?; r4:uri url; @@ -667,15 +670,23 @@ public type Shareable_ActivityDefinition record {| r4:Element ...; |}; -# Shareable_ActivityDefinitionStatus enum -public enum Shareable_ActivityDefinitionStatus { - CODE_STATUS_DRAFT = "draft", - CODE_STATUS_ACTIVE = "active", - CODE_STATUS_RETIRED = "retired", - CODE_STATUS_UNKNOWN = "unknown" +# ShareableActivityDefinitionParticipantType enum +public enum ShareableActivityDefinitionParticipantType { + CODE_TYPE_RELATED_PERSON = "related-person", + CODE_TYPE_PRACTITIONER = "practitioner", + CODE_TYPE_PATIENT = "patient", + CODE_TYPE_DEVICE = "device" +} + +# ShareableActivityDefinitionPriority enum +public enum ShareableActivityDefinitionPriority { + CODE_PRIORITY_STAT = "stat", + CODE_PRIORITY_ROUTINE = "routine", + CODE_PRIORITY_URGENT = "urgent", + CODE_PRIORITY_ASAP = "asap" } -# FHIR Shareable_ActivityDefinitionParticipant datatype record. +# FHIR ShareableActivityDefinitionParticipant datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + role - The role the participant should play in performing the described action. @@ -683,7 +694,7 @@ public enum Shareable_ActivityDefinitionStatus { # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + 'type - The type of participant in the action. @r4:DataTypeDefinition { - name: "Shareable_ActivityDefinitionParticipant", + name: "ShareableActivityDefinitionParticipant", baseType: (), elements: { "extension": { @@ -724,7 +735,7 @@ public enum Shareable_ActivityDefinitionStatus { }, "type": { name: "type", - dataType: Shareable_ActivityDefinitionParticipantType, + dataType: ShareableActivityDefinitionParticipantType, min: 1, max: 1, isArray: false, @@ -737,46 +748,18 @@ public enum Shareable_ActivityDefinitionStatus { 'json: r4:complexDataTypeJsonSerializer } } -public type Shareable_ActivityDefinitionParticipant record {| + +public type ShareableActivityDefinitionParticipant record {| *r4:BackboneElement; r4:Extension[] extension?; r4:CodeableConcept role?; r4:Extension[] modifierExtension?; string id?; - Shareable_ActivityDefinitionParticipantType 'type; + ShareableActivityDefinitionParticipantType 'type; |}; -# Shareable_ActivityDefinitionParticipantType enum -public enum Shareable_ActivityDefinitionParticipantType { - CODE_TYPE_RELATED_PERSON = "related-person", - CODE_TYPE_PRACTITIONER = "practitioner", - CODE_TYPE_PATIENT = "patient", - CODE_TYPE_DEVICE = "device" -} - -# Shareable_ActivityDefinitionIntent enum -public enum Shareable_ActivityDefinitionIntent { - CODE_INTENT_PROPOSAL = "proposal", - CODE_INTENT_INSTANCE_ORDER = "instance-order", - CODE_INTENT_FILLER_ORDER = "filler-order", - CODE_INTENT_ORIGINAL_ORDER = "original-order", - CODE_INTENT_REFLEX_ORDER = "reflex-order", - CODE_INTENT_PLAN = "plan", - CODE_INTENT_DIRECTIVE = "directive", - CODE_INTENT_ORDER = "order", - CODE_INTENT_OPTION = "option" -} - -# Shareable_ActivityDefinitionPriority enum -public enum Shareable_ActivityDefinitionPriority { - CODE_PRIORITY_STAT = "stat", - CODE_PRIORITY_ROUTINE = "routine", - CODE_PRIORITY_URGENT = "urgent", - CODE_PRIORITY_ASAP = "asap" -} - -# FHIR Shareable_ActivityDefinitionDynamicValue datatype record. +# FHIR ShareableActivityDefinitionDynamicValue datatype record. # # + path - The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolveable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](http://hl7.org/fhir/fhirpath.html#simple) for full details). # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. @@ -784,7 +767,7 @@ public enum Shareable_ActivityDefinitionPriority { # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @r4:DataTypeDefinition { - name: "Shareable_ActivityDefinitionDynamicValue", + name: "ShareableActivityDefinitionDynamicValue", baseType: (), elements: { "path": { @@ -838,7 +821,8 @@ public enum Shareable_ActivityDefinitionPriority { 'json: r4:complexDataTypeJsonSerializer } } -public type Shareable_ActivityDefinitionDynamicValue record {| + +public type ShareableActivityDefinitionDynamicValue record {| *r4:BackboneElement; string path; @@ -848,3 +832,24 @@ public type Shareable_ActivityDefinitionDynamicValue record {| string id?; |}; +# ShareableActivityDefinitionStatus enum +public enum ShareableActivityDefinitionStatus { + CODE_STATUS_DRAFT = "draft", + CODE_STATUS_ACTIVE = "active", + CODE_STATUS_RETIRED = "retired", + CODE_STATUS_UNKNOWN = "unknown" +} + +# ShareableActivityDefinitionIntent enum +public enum ShareableActivityDefinitionIntent { + CODE_INTENT_PROPOSAL = "proposal", + CODE_INTENT_INSTANCE_ORDER = "instance-order", + CODE_INTENT_FILLER_ORDER = "filler-order", + CODE_INTENT_ORIGINAL_ORDER = "original-order", + CODE_INTENT_REFLEX_ORDER = "reflex-order", + CODE_INTENT_PLAN = "plan", + CODE_INTENT_DIRECTIVE = "directive", + CODE_INTENT_ORDER = "order", + CODE_INTENT_OPTION = "option" +} + diff --git a/international401/resource_shareable_library.bal b/international401/resource_shareable_library.bal index 5cd95526..b2627d30 100644 --- a/international401/resource_shareable_library.bal +++ b/international401/resource_shareable_library.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -19,10 +19,12 @@ import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_SHAREABLE_LIBRARY = "http://hl7.org/fhir/StructureDefinition/shareablelibrary"; -public const RESOURCE_NAME_SHAREABLE_LIBRARY = "Library"; +public const string PROFILE_BASE_SHAREABLELIBRARY = "http://hl7.org/fhir/StructureDefinition/shareablelibrary"; +public const RESOURCE_NAME_SHAREABLELIBRARY = "Library"; -# FHIR Shareable_Library resource record. +public type ShareableLibraryExtensions (CqfCqlOptions|CqfExpansionParameters|CqfInputParameters|CqfModelInfoSettings|CqfPartOf|CqfTestArtifact|r4:Extension|Replaces); + +# FHIR ShareableLibrary resource record. # # + resourceType - The type of the resource describes # + date - The date (and optionally time) when the library was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the library changes. @@ -390,7 +392,7 @@ public const RESOURCE_NAME_SHAREABLE_LIBRARY = "Library"; }, "status" : { name: "status", - dataType: Shareable_LibraryStatus, + dataType: ShareableLibraryStatus, min: 1, max: 1, isArray: false, @@ -403,10 +405,11 @@ public const RESOURCE_NAME_SHAREABLE_LIBRARY = "Library"; 'json: r4:fhirResourceJsonSerializer } } -public type Shareable_Library record {| + +public type ShareableLibrary record {| *r4:DomainResource; - RESOURCE_NAME_SHAREABLE_LIBRARY resourceType = RESOURCE_NAME_SHAREABLE_LIBRARY; + RESOURCE_NAME_SHAREABLELIBRARY resourceType = RESOURCE_NAME_SHAREABLELIBRARY; r4:dateTime date?; r4:markdown copyright?; @@ -447,12 +450,12 @@ public type Shareable_Library record {| string publisher; r4:CodeableConcept[] topic?; r4:UsageContext[] useContext?; - Shareable_LibraryStatus status; + ShareableLibraryStatus status; r4:Element ...; |}; -# Shareable_LibraryStatus enum -public enum Shareable_LibraryStatus { +# ShareableLibraryStatus enum +public enum ShareableLibraryStatus { CODE_STATUS_DRAFT = "draft", CODE_STATUS_ACTIVE = "active", CODE_STATUS_RETIRED = "retired", diff --git a/international401/resource_shareable_measure.bal b/international401/resource_shareable_measure.bal index b20f8dff..880be7f2 100644 --- a/international401/resource_shareable_measure.bal +++ b/international401/resource_shareable_measure.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -19,10 +19,12 @@ import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_SHAREABLE_MEASURE = "http://hl7.org/fhir/StructureDefinition/shareablemeasure"; -public const RESOURCE_NAME_SHAREABLE_MEASURE = "Measure"; +public const string PROFILE_BASE_SHAREABLEMEASURE = "http://hl7.org/fhir/StructureDefinition/shareablemeasure"; +public const RESOURCE_NAME_SHAREABLEMEASURE = "Measure"; -# FHIR Shareable_Measure resource record. +public type ShareableMeasureExtensions (CqfImprovementNotationGuidance|CqfTargetInvariant|r4:Extension|Replaces|TargetConstraint|Variable|WorkflowShallComplyWith); + +# FHIR ShareableMeasure resource record. # # + resourceType - The type of the resource describes # + date - The date (and optionally time) when the measure was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the measure changes. @@ -180,7 +182,7 @@ public const RESOURCE_NAME_SHAREABLE_MEASURE = "Measure"; }, "group" : { name: "group", - dataType: Shareable_MeasureGroup, + dataType: ShareableMeasureGroup, min: 0, max: int:MAX_VALUE, isArray: true, @@ -237,7 +239,7 @@ public const RESOURCE_NAME_SHAREABLE_MEASURE = "Measure"; }, "supplementalData" : { name: "supplementalData", - dataType: Shareable_MeasureSupplementalData, + dataType: ShareableMeasureSupplementalData, min: 0, max: int:MAX_VALUE, isArray: true, @@ -318,7 +320,7 @@ public const RESOURCE_NAME_SHAREABLE_MEASURE = "Measure"; }, "status" : { name: "status", - dataType: Shareable_MeasureStatus, + dataType: ShareableMeasureStatus, min: 1, max: 1, isArray: false, @@ -496,10 +498,11 @@ public const RESOURCE_NAME_SHAREABLE_MEASURE = "Measure"; 'json: r4:fhirResourceJsonSerializer } } -public type Shareable_Measure record {| + +public type ShareableMeasure record {| *r4:DomainResource; - RESOURCE_NAME_SHAREABLE_MEASURE resourceType = RESOURCE_NAME_SHAREABLE_MEASURE; + RESOURCE_NAME_SHAREABLEMEASURE resourceType = RESOURCE_NAME_SHAREABLEMEASURE; r4:dateTime date?; r4:markdown copyright?; @@ -513,14 +516,14 @@ public type Shareable_Measure record {| r4:ContactDetail[] endorser?; string id?; r4:Narrative text?; - Shareable_MeasureGroup[] group?; + ShareableMeasureGroup[] group?; r4:Identifier[] identifier?; r4:RelatedArtifact[] relatedArtifact?; r4:Period effectivePeriod?; string rateAggregation?; r4:ContactDetail[] author?; r4:CodeableConcept compositeScoring?; - Shareable_MeasureSupplementalData[] supplementalData?; + ShareableMeasureSupplementalData[] supplementalData?; string 'version; r4:date lastReviewDate?; r4:Meta meta?; @@ -530,7 +533,7 @@ public type Shareable_Measure record {| string publisher; r4:CodeableConcept[] topic?; r4:UsageContext[] useContext?; - Shareable_MeasureStatus status; + ShareableMeasureStatus status; r4:markdown clinicalRecommendationStatement?; r4:Extension[] extension?; r4:date approvalDate?; @@ -554,17 +557,18 @@ public type Shareable_Measure record {| r4:Element ...; |}; -# FHIR Shareable_MeasureGroup datatype record. +# FHIR ShareableMeasureSupplementalData datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + code - Indicates a meaning for the group. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing groups to be correlated across measures. +# + code - Indicates a meaning for the supplemental data. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing supplemental data to be correlated across measures. +# + criteria - The criteria for the supplemental data. This is typically the name of a valid expression defined within a referenced library, but it may also be a path to a specific data element. The criteria defines the data to be returned for this element. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + description - The human readable description of this population group. -# + stratifier - The stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path. +# + usage - An indicator of the intended usage for the supplemental data element. Supplemental data indicates the data is additional information requested to augment the measure information. Risk adjustment factor indicates the data is additional information used to calculate risk adjustment factors when applying a risk model to the measure calculation. +# + description - The human readable description of this supplemental data. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + population - A population criteria for the measure. + @r4:DataTypeDefinition { - name: "Shareable_MeasureGroup", + name: "ShareableMeasureSupplementalData", baseType: (), elements: { "extension": { @@ -574,17 +578,29 @@ public type Shareable_Measure record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Measure.group.extension" + path: "Measure.supplementalData.extension" }, + "code": { name: "code", dataType: r4:CodeableConcept, min: 0, max: 1, isArray: false, - description: "Indicates a meaning for the group. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing groups to be correlated across measures.", - path: "Measure.group.code" + description: "Indicates a meaning for the supplemental data. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing supplemental data to be correlated across measures.", + path: "Measure.supplementalData.code" }, + + "criteria": { + name: "criteria", + dataType: r4:Expression, + min: 1, + max: 1, + isArray: false, + description: "The criteria for the supplemental data. This is typically the name of a valid expression defined within a referenced library, but it may also be a path to a specific data element. The criteria defines the data to be returned for this element.", + path: "Measure.supplementalData.criteria" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -592,26 +608,29 @@ public type Shareable_Measure record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Measure.group.modifierExtension" + path: "Measure.supplementalData.modifierExtension" + }, + + "usage": { + name: "usage", + dataType: r4:CodeableConcept, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "An indicator of the intended usage for the supplemental data element. Supplemental data indicates the data is additional information requested to augment the measure information. Risk adjustment factor indicates the data is additional information used to calculate risk adjustment factors when applying a risk model to the measure calculation.", + path: "Measure.supplementalData.usage" }, + "description": { name: "description", dataType: string, min: 0, max: 1, isArray: false, - description: "The human readable description of this population group.", - path: "Measure.group.description" - }, - "stratifier": { - name: "stratifier", - dataType: Shareable_MeasureGroupStratifier, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "The stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path.", - path: "Measure.group.stratifier" + description: "The human readable description of this supplemental data.", + path: "Measure.supplementalData.description" }, + "id": { name: "id", dataType: string, @@ -619,46 +638,39 @@ public type Shareable_Measure record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Measure.group.id" - }, - "population": { - name: "population", - dataType: Shareable_MeasureGroupPopulation, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "A population criteria for the measure.", - path: "Measure.group.population" + path: "Measure.supplementalData.id" } }, + serializers: { 'xml: r4:complexDataTypeXMLSerializer, 'json: r4:complexDataTypeJsonSerializer } } -public type Shareable_MeasureGroup record {| + +public type ShareableMeasureSupplementalData record {| *r4:BackboneElement; r4:Extension[] extension?; r4:CodeableConcept code?; + r4:Expression criteria; r4:Extension[] modifierExtension?; + r4:CodeableConcept[] usage?; string description?; - Shareable_MeasureGroupStratifier[] stratifier?; string id?; - Shareable_MeasureGroupPopulation[] population?; |}; -# FHIR Shareable_MeasureSupplementalData datatype record. +# FHIR ShareableMeasureGroup datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + code - Indicates a meaning for the supplemental data. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing supplemental data to be correlated across measures. -# + criteria - The criteria for the supplemental data. This is typically the name of a valid expression defined within a referenced library, but it may also be a path to a specific data element. The criteria defines the data to be returned for this element. +# + code - Indicates a meaning for the group. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing groups to be correlated across measures. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + usage - An indicator of the intended usage for the supplemental data element. Supplemental data indicates the data is additional information requested to augment the measure information. Risk adjustment factor indicates the data is additional information used to calculate risk adjustment factors when applying a risk model to the measure calculation. -# + description - The human readable description of this supplemental data. +# + description - The human readable description of this population group. +# + stratifier - The stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + population - A population criteria for the measure. @r4:DataTypeDefinition { - name: "Shareable_MeasureSupplementalData", + name: "ShareableMeasureGroup", baseType: (), elements: { "extension": { @@ -668,7 +680,7 @@ public type Shareable_MeasureGroup record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Measure.supplementalData.extension" + path: "Measure.group.extension" }, "code": { name: "code", @@ -676,17 +688,8 @@ public type Shareable_MeasureGroup record {| min: 0, max: 1, isArray: false, - description: "Indicates a meaning for the supplemental data. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing supplemental data to be correlated across measures.", - path: "Measure.supplementalData.code" - }, - "criteria": { - name: "criteria", - dataType: r4:Expression, - min: 1, - max: 1, - isArray: false, - description: "The criteria for the supplemental data. This is typically the name of a valid expression defined within a referenced library, but it may also be a path to a specific data element. The criteria defines the data to be returned for this element.", - path: "Measure.supplementalData.criteria" + description: "Indicates a meaning for the group. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing groups to be correlated across measures.", + path: "Measure.group.code" }, "modifierExtension": { name: "modifierExtension", @@ -695,16 +698,7 @@ public type Shareable_MeasureGroup record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Measure.supplementalData.modifierExtension" - }, - "usage": { - name: "usage", - dataType: r4:CodeableConcept, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "An indicator of the intended usage for the supplemental data element. Supplemental data indicates the data is additional information requested to augment the measure information. Risk adjustment factor indicates the data is additional information used to calculate risk adjustment factors when applying a risk model to the measure calculation.", - path: "Measure.supplementalData.usage" + path: "Measure.group.modifierExtension" }, "description": { name: "description", @@ -712,8 +706,17 @@ public type Shareable_MeasureGroup record {| min: 0, max: 1, isArray: false, - description: "The human readable description of this supplemental data.", - path: "Measure.supplementalData.description" + description: "The human readable description of this population group.", + path: "Measure.group.description" + }, + "stratifier": { + name: "stratifier", + dataType: ShareableMeasureGroupStratifier, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path.", + path: "Measure.group.stratifier" }, "id": { name: "id", @@ -722,7 +725,16 @@ public type Shareable_MeasureGroup record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Measure.supplementalData.id" + path: "Measure.group.id" + }, + "population": { + name: "population", + dataType: ShareableMeasureGroupPopulation, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A population criteria for the measure.", + path: "Measure.group.population" } }, serializers: { @@ -730,40 +742,31 @@ public type Shareable_MeasureGroup record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Shareable_MeasureSupplementalData record {| + +public type ShareableMeasureGroup record {| *r4:BackboneElement; r4:Extension[] extension?; r4:CodeableConcept code?; - r4:Expression criteria; r4:Extension[] modifierExtension?; - r4:CodeableConcept[] usage?; string description?; + ShareableMeasureGroupStratifier[] stratifier?; string id?; + ShareableMeasureGroupPopulation[] population?; |}; -# FHIR Shareable_MeasureGroupStratifier datatype record. +# FHIR ShareableMeasureGroupStratifierComponent datatype record. # -# + component - A component of the stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + code - Indicates a meaning for the stratifier. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures. -# + criteria - An expression that specifies the criteria for the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element. +# + code - Indicates a meaning for the stratifier component. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures. +# + criteria - An expression that specifies the criteria for this component of the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + description - The human readable description of this stratifier criteria. +# + description - The human readable description of this stratifier criteria component. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @r4:DataTypeDefinition { - name: "Shareable_MeasureGroupStratifier", + name: "ShareableMeasureGroupStratifierComponent", baseType: (), elements: { - "component": { - name: "component", - dataType: Shareable_MeasureGroupStratifierComponent, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "A component of the stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path.", - path: "Measure.group.stratifier.component" - }, "extension": { name: "extension", dataType: r4:Extension, @@ -771,7 +774,7 @@ public type Shareable_MeasureSupplementalData record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Measure.group.stratifier.extension" + path: "Measure.group.stratifier.component.extension" }, "code": { name: "code", @@ -779,17 +782,17 @@ public type Shareable_MeasureSupplementalData record {| min: 0, max: 1, isArray: false, - description: "Indicates a meaning for the stratifier. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures.", - path: "Measure.group.stratifier.code" + description: "Indicates a meaning for the stratifier component. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures.", + path: "Measure.group.stratifier.component.code" }, "criteria": { name: "criteria", dataType: r4:Expression, - min: 0, + min: 1, max: 1, isArray: false, - description: "An expression that specifies the criteria for the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element.", - path: "Measure.group.stratifier.criteria" + description: "An expression that specifies the criteria for this component of the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element.", + path: "Measure.group.stratifier.component.criteria" }, "modifierExtension": { name: "modifierExtension", @@ -798,7 +801,7 @@ public type Shareable_MeasureSupplementalData record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Measure.group.stratifier.modifierExtension" + path: "Measure.group.stratifier.component.modifierExtension" }, "description": { name: "description", @@ -806,8 +809,8 @@ public type Shareable_MeasureSupplementalData record {| min: 0, max: 1, isArray: false, - description: "The human readable description of this stratifier criteria.", - path: "Measure.group.stratifier.description" + description: "The human readable description of this stratifier criteria component.", + path: "Measure.group.stratifier.component.description" }, "id": { name: "id", @@ -816,7 +819,7 @@ public type Shareable_MeasureSupplementalData record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Measure.group.stratifier.id" + path: "Measure.group.stratifier.component.id" } }, serializers: { @@ -824,38 +827,40 @@ public type Shareable_MeasureSupplementalData record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Shareable_MeasureGroupStratifier record {| + +public type ShareableMeasureGroupStratifierComponent record {| *r4:BackboneElement; - Shareable_MeasureGroupStratifierComponent[] component?; r4:Extension[] extension?; r4:CodeableConcept code?; - r4:Expression criteria?; + r4:Expression criteria; r4:Extension[] modifierExtension?; string description?; string id?; |}; -# Shareable_MeasureStatus enum -public enum Shareable_MeasureStatus { - CODE_STATUS_DRAFT = "draft", - CODE_STATUS_ACTIVE = "active", - CODE_STATUS_RETIRED = "retired", - CODE_STATUS_UNKNOWN = "unknown" -} - -# FHIR Shareable_MeasureGroupStratifierComponent datatype record. +# FHIR ShareableMeasureGroupStratifier datatype record. # +# + component - A component of the stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + code - Indicates a meaning for the stratifier component. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures. -# + criteria - An expression that specifies the criteria for this component of the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element. +# + code - Indicates a meaning for the stratifier. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures. +# + criteria - An expression that specifies the criteria for the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + description - The human readable description of this stratifier criteria component. +# + description - The human readable description of this stratifier criteria. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @r4:DataTypeDefinition { - name: "Shareable_MeasureGroupStratifierComponent", + name: "ShareableMeasureGroupStratifier", baseType: (), elements: { + "component": { + name: "component", + dataType: ShareableMeasureGroupStratifierComponent, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A component of the stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path.", + path: "Measure.group.stratifier.component" + }, "extension": { name: "extension", dataType: r4:Extension, @@ -863,7 +868,7 @@ public enum Shareable_MeasureStatus { max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "Measure.group.stratifier.component.extension" + path: "Measure.group.stratifier.extension" }, "code": { name: "code", @@ -871,17 +876,17 @@ public enum Shareable_MeasureStatus { min: 0, max: 1, isArray: false, - description: "Indicates a meaning for the stratifier component. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures.", - path: "Measure.group.stratifier.component.code" + description: "Indicates a meaning for the stratifier. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures.", + path: "Measure.group.stratifier.code" }, "criteria": { name: "criteria", dataType: r4:Expression, - min: 1, + min: 0, max: 1, isArray: false, - description: "An expression that specifies the criteria for this component of the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element.", - path: "Measure.group.stratifier.component.criteria" + description: "An expression that specifies the criteria for the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element.", + path: "Measure.group.stratifier.criteria" }, "modifierExtension": { name: "modifierExtension", @@ -890,7 +895,7 @@ public enum Shareable_MeasureStatus { max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "Measure.group.stratifier.component.modifierExtension" + path: "Measure.group.stratifier.modifierExtension" }, "description": { name: "description", @@ -898,8 +903,8 @@ public enum Shareable_MeasureStatus { min: 0, max: 1, isArray: false, - description: "The human readable description of this stratifier criteria component.", - path: "Measure.group.stratifier.component.description" + description: "The human readable description of this stratifier criteria.", + path: "Measure.group.stratifier.description" }, "id": { name: "id", @@ -908,7 +913,7 @@ public enum Shareable_MeasureStatus { max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "Measure.group.stratifier.component.id" + path: "Measure.group.stratifier.id" } }, serializers: { @@ -916,18 +921,20 @@ public enum Shareable_MeasureStatus { 'json: r4:complexDataTypeJsonSerializer } } -public type Shareable_MeasureGroupStratifierComponent record {| + +public type ShareableMeasureGroupStratifier record {| *r4:BackboneElement; + ShareableMeasureGroupStratifierComponent[] component?; r4:Extension[] extension?; r4:CodeableConcept code?; - r4:Expression criteria; + r4:Expression criteria?; r4:Extension[] modifierExtension?; string description?; string id?; |}; -# FHIR Shareable_MeasureGroupPopulation datatype record. +# FHIR ShareableMeasureGroupPopulation datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + code - The type of population criteria. @@ -936,7 +943,7 @@ public type Shareable_MeasureGroupStratifierComponent record {| # + description - The human readable description of this population criteria. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @r4:DataTypeDefinition { - name: "Shareable_MeasureGroupPopulation", + name: "ShareableMeasureGroupPopulation", baseType: (), elements: { "extension": { @@ -999,7 +1006,8 @@ public type Shareable_MeasureGroupStratifierComponent record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Shareable_MeasureGroupPopulation record {| + +public type ShareableMeasureGroupPopulation record {| *r4:BackboneElement; r4:Extension[] extension?; @@ -1010,3 +1018,11 @@ public type Shareable_MeasureGroupPopulation record {| string id?; |}; +# ShareableMeasureStatus enum +public enum ShareableMeasureStatus { + CODE_STATUS_DRAFT = "draft", + CODE_STATUS_ACTIVE = "active", + CODE_STATUS_RETIRED = "retired", + CODE_STATUS_UNKNOWN = "unknown" +} + diff --git a/international401/resource_shareable_plan_definition.bal b/international401/resource_shareable_plan_definition.bal index e9621fa6..0b1c25db 100644 --- a/international401/resource_shareable_plan_definition.bal +++ b/international401/resource_shareable_plan_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -19,10 +19,12 @@ import ballerinax/health.fhir.r4; -public const string PROFILE_BASE_SHAREABLE_PLANDEFINITION = "http://hl7.org/fhir/StructureDefinition/shareableplandefinition"; -public const RESOURCE_NAME_SHAREABLE_PLANDEFINITION = "PlanDefinition"; +public const string PROFILE_BASE_SHAREABLEPLANDEFINITION = "http://hl7.org/fhir/StructureDefinition/shareableplandefinition"; +public const RESOURCE_NAME_SHAREABLEPLANDEFINITION = "PlanDefinition"; -# FHIR Shareable_PlanDefinition resource record. +public type ShareablePlanDefinitionExtensions (CqfCdsHooksEndpoint|CqfTargetInvariant|r4:Extension|Replaces|TargetConstraint|Variable|WorkflowShallComplyWith); + +# FHIR ShareablePlanDefinition resource record. # # + resourceType - The type of the resource describes # + date - The date (and optionally time) when the plan definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the plan definition changes. @@ -212,7 +214,7 @@ public const RESOURCE_NAME_SHAREABLE_PLANDEFINITION = "PlanDefinition"; }, "action" : { name: "action", - dataType: Shareable_PlanDefinitionAction, + dataType: ShareablePlanDefinitionAction, min: 0, max: int:MAX_VALUE, isArray: true, @@ -252,7 +254,7 @@ public const RESOURCE_NAME_SHAREABLE_PLANDEFINITION = "PlanDefinition"; }, "goal" : { name: "goal", - dataType: Shareable_PlanDefinitionGoal, + dataType: ShareablePlanDefinitionGoal, min: 0, max: int:MAX_VALUE, isArray: true, @@ -390,7 +392,7 @@ public const RESOURCE_NAME_SHAREABLE_PLANDEFINITION = "PlanDefinition"; }, "status" : { name: "status", - dataType: Shareable_PlanDefinitionStatus, + dataType: ShareablePlanDefinitionStatus, min: 1, max: 1, isArray: false, @@ -403,10 +405,11 @@ public const RESOURCE_NAME_SHAREABLE_PLANDEFINITION = "PlanDefinition"; 'json: r4:fhirResourceJsonSerializer } } -public type Shareable_PlanDefinition record {| + +public type ShareablePlanDefinition record {| *r4:DomainResource; - RESOURCE_NAME_SHAREABLE_PLANDEFINITION resourceType = RESOURCE_NAME_SHAREABLE_PLANDEFINITION; + RESOURCE_NAME_SHAREABLEPLANDEFINITION resourceType = RESOURCE_NAME_SHAREABLEPLANDEFINITION; r4:dateTime date?; r4:markdown copyright?; @@ -425,12 +428,12 @@ public type Shareable_PlanDefinition record {| r4:canonical[] library?; r4:ContactDetail[] contact?; r4:ContactDetail[] endorser?; - Shareable_PlanDefinitionAction[] action?; + ShareablePlanDefinitionAction[] action?; string id?; r4:Narrative text?; r4:ContactDetail[] editor?; r4:Identifier[] identifier?; - Shareable_PlanDefinitionGoal[] goal?; + ShareablePlanDefinitionGoal[] goal?; r4:RelatedArtifact[] relatedArtifact?; r4:Period effectivePeriod?; r4:ContactDetail[] author?; @@ -447,34 +450,11 @@ public type Shareable_PlanDefinition record {| string publisher; r4:CodeableConcept[] topic?; r4:UsageContext[] useContext?; - Shareable_PlanDefinitionStatus status; + ShareablePlanDefinitionStatus status; r4:Element ...; |}; -# Shareable_PlanDefinitionStatus enum -public enum Shareable_PlanDefinitionStatus { - CODE_STATUS_DRAFT = "draft", - CODE_STATUS_ACTIVE = "active", - CODE_STATUS_RETIRED = "retired", - CODE_STATUS_UNKNOWN = "unknown" -} - -# Shareable_PlanDefinitionActionConditionKind enum -public enum Shareable_PlanDefinitionActionConditionKind { - CODE_KIND_STOP = "stop", - CODE_KIND_START = "start", - CODE_KIND_APPLICABILITY = "applicability" -} - -# Shareable_PlanDefinitionActionParticipantType enum -public enum Shareable_PlanDefinitionActionParticipantType { - CODE_TYPE_RELATED_PERSON = "related-person", - CODE_TYPE_PRACTITIONER = "practitioner", - CODE_TYPE_PATIENT = "patient", - CODE_TYPE_DEVICE = "device" -} - -# FHIR Shareable_PlanDefinitionGoal datatype record. +# FHIR ShareablePlanDefinitionGoal datatype record. # # + addresses - Identifies problems, conditions, issues, or concerns the goal is intended to address. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. @@ -487,7 +467,7 @@ public enum Shareable_PlanDefinitionActionParticipantType { # + priority - Identifies the expected level of importance associated with reaching/sustaining the defined goal. # + target - Indicates what should be done and within what timeframe. @r4:DataTypeDefinition { - name: "Shareable_PlanDefinitionGoal", + name: "ShareablePlanDefinitionGoal", baseType: (), elements: { "addresses": { @@ -573,7 +553,7 @@ public enum Shareable_PlanDefinitionActionParticipantType { }, "target": { name: "target", - dataType: Shareable_PlanDefinitionGoalTarget, + dataType: ShareablePlanDefinitionGoalTarget, min: 0, max: int:MAX_VALUE, isArray: true, @@ -586,7 +566,8 @@ public enum Shareable_PlanDefinitionActionParticipantType { 'json: r4:complexDataTypeJsonSerializer } } -public type Shareable_PlanDefinitionGoal record {| + +public type ShareablePlanDefinitionGoal record {| *r4:BackboneElement; r4:CodeableConcept[] addresses?; @@ -598,32 +579,31 @@ public type Shareable_PlanDefinitionGoal record {| string id?; r4:CodeableConcept category?; r4:CodeableConcept priority?; - Shareable_PlanDefinitionGoalTarget[] target?; + ShareablePlanDefinitionGoalTarget[] target?; |}; -# FHIR Shareable_PlanDefinitionGoalTarget datatype record. +# ShareablePlanDefinitionActionSelectionBehavior enum +public enum ShareablePlanDefinitionActionSelectionBehavior { + CODE_SELECTIONBEHAVIOR_ALL = "all", + CODE_SELECTIONBEHAVIOR_EXACTLY_ONE = "exactly-one", + CODE_SELECTIONBEHAVIOR_AT_MOST_ONE = "at-most-one", + CODE_SELECTIONBEHAVIOR_ALL_OR_NONE = "all-or-none", + CODE_SELECTIONBEHAVIOR_ANY = "any", + CODE_SELECTIONBEHAVIOR_ONE_OR_MORE = "one-or-more" +} + +# FHIR ShareablePlanDefinitionActionCondition datatype record. # -# + detailPlanDefinitionCodeableConcept - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + measure - The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level. -# + due - Indicates the timeframe after the start of the goal in which the goal should be met. -# + detailPlanDefinitionQuantity - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + expression - An expression that returns true or false, indicating whether the condition is satisfied. +# + kind - The kind of condition. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + detailPlanDefinitionRange - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. + @r4:DataTypeDefinition { - name: "Shareable_PlanDefinitionGoalTarget", + name: "ShareablePlanDefinitionActionCondition", baseType: (), elements: { - "detailPlanDefinitionCodeableConcept": { - name: "detailPlanDefinitionCodeableConcept", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", - path: "PlanDefinition.goal.target.detail[x]" - }, "extension": { name: "extension", dataType: r4:Extension, @@ -631,34 +611,122 @@ public type Shareable_PlanDefinitionGoal record {| max: int:MAX_VALUE, isArray: true, description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "PlanDefinition.goal.target.extension" + path: "PlanDefinition.action.condition.extension" }, - "measure": { - name: "measure", - dataType: r4:CodeableConcept, + + "expression": { + name: "expression", + dataType: r4:Expression, min: 0, max: 1, isArray: false, - description: "The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.", - path: "PlanDefinition.goal.target.measure" + description: "An expression that returns true or false, indicating whether the condition is satisfied.", + path: "PlanDefinition.action.condition.expression" }, - "due": { - name: "due", - dataType: r4:Duration, + + "kind": { + name: "kind", + dataType: ShareablePlanDefinitionActionConditionKind, + min: 1, + max: 1, + isArray: false, + description: "The kind of condition.", + path: "PlanDefinition.action.condition.kind" + }, + + "modifierExtension": { + name: "modifierExtension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + path: "PlanDefinition.action.condition.modifierExtension" + }, + + "id": { + name: "id", + dataType: string, min: 0, max: 1, isArray: false, - description: "Indicates the timeframe after the start of the goal in which the goal should be met.", - path: "PlanDefinition.goal.target.due" + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "PlanDefinition.action.condition.id" + } }, - "detailPlanDefinitionQuantity": { - name: "detailPlanDefinitionQuantity", - dataType: r4:Quantity, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ShareablePlanDefinitionActionCondition record {| + *r4:BackboneElement; + + r4:Extension[] extension?; + r4:Expression expression?; + ShareablePlanDefinitionActionConditionKind kind; + r4:Extension[] modifierExtension?; + string id?; +|}; + +# ShareablePlanDefinitionActionCardinalityBehavior enum +public enum ShareablePlanDefinitionActionCardinalityBehavior { + CODE_CARDINALITYBEHAVIOR_SINGLE = "single", + CODE_CARDINALITYBEHAVIOR_MULTIPLE = "multiple" +} + +# ShareablePlanDefinitionActionRelatedActionRelationship enum +public enum ShareablePlanDefinitionActionRelatedActionRelationship { + CODE_RELATIONSHIP_AFTER_END = "after-end", + CODE_RELATIONSHIP_BEFORE = "before", + CODE_RELATIONSHIP_CONCURRENT_WITH_START = "concurrent-with-start", + CODE_RELATIONSHIP_CONCURRENT = "concurrent", + CODE_RELATIONSHIP_BEFORE_END = "before-end", + CODE_RELATIONSHIP_AFTER = "after", + CODE_RELATIONSHIP_CONCURRENT_WITH_END = "concurrent-with-end", + CODE_RELATIONSHIP_AFTER_START = "after-start", + CODE_RELATIONSHIP_BEFORE_START = "before-start" +} + +# ShareablePlanDefinitionActionGroupingBehavior enum +public enum ShareablePlanDefinitionActionGroupingBehavior { + CODE_GROUPINGBEHAVIOR_VISUAL_GROUP = "visual-group", + CODE_GROUPINGBEHAVIOR_SENTENCE_GROUP = "sentence-group", + CODE_GROUPINGBEHAVIOR_LOGICAL_GROUP = "logical-group" +} + +# FHIR ShareablePlanDefinitionActionParticipant datatype record. +# +# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + role - The role the participant should play in performing the described action. +# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + 'type - The type of participant in the action. + +@r4:DataTypeDefinition { + name: "ShareablePlanDefinitionActionParticipant", + baseType: (), + elements: { + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "PlanDefinition.action.participant.extension" + }, + + "role": { + name: "role", + dataType: r4:CodeableConcept, min: 0, max: 1, isArray: false, - description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", - path: "PlanDefinition.goal.target.detail[x]" + description: "The role the participant should play in performing the described action.", + path: "PlanDefinition.action.participant.role" }, "modifierExtension": { name: "modifierExtension", @@ -667,7 +735,7 @@ public type Shareable_PlanDefinitionGoal record {| max: int:MAX_VALUE, isArray: true, description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "PlanDefinition.goal.target.modifierExtension" + path: "PlanDefinition.action.participant.modifierExtension" }, "id": { name: "id", @@ -676,16 +744,17 @@ public type Shareable_PlanDefinitionGoal record {| max: 1, isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "PlanDefinition.goal.target.id" + path: "PlanDefinition.action.participant.id" }, - "detailPlanDefinitionRange": { - name: "detailPlanDefinitionRange", - dataType: r4:Range, - min: 0, + + "type": { + name: "type", + dataType: ShareablePlanDefinitionActionParticipantType, + min: 1, max: 1, isArray: false, - description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", - path: "PlanDefinition.goal.target.detail[x]" + description: "The type of participant in the action.", + path: "PlanDefinition.action.participant.type" } }, serializers: { @@ -693,41 +762,51 @@ public type Shareable_PlanDefinitionGoal record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Shareable_PlanDefinitionGoalTarget record {| + +public type ShareablePlanDefinitionActionParticipant record {| *r4:BackboneElement; - r4:CodeableConcept detailPlanDefinitionCodeableConcept?; r4:Extension[] extension?; - r4:CodeableConcept measure?; - r4:Duration due?; - r4:Quantity detailPlanDefinitionQuantity?; + r4:CodeableConcept role?; r4:Extension[] modifierExtension?; string id?; - r4:Range detailPlanDefinitionRange?; + ShareablePlanDefinitionActionParticipantType 'type; |}; -# FHIR Shareable_PlanDefinitionActionRelatedAction datatype record. +# ShareablePlanDefinitionActionParticipantType enum +public enum ShareablePlanDefinitionActionParticipantType { + CODE_TYPE_RELATED_PERSON = "related-person", + CODE_TYPE_PRACTITIONER = "practitioner", + CODE_TYPE_PATIENT = "patient", + CODE_TYPE_DEVICE = "device" +} + +# ShareablePlanDefinitionActionPriority enum +public enum ShareablePlanDefinitionActionPriority { + CODE_PRIORITY_STAT = "stat", + CODE_PRIORITY_ROUTINE = "routine", + CODE_PRIORITY_URGENT = "urgent", + CODE_PRIORITY_ASAP = "asap" +} + +# ShareablePlanDefinitionActionRequiredBehavior enum +public enum ShareablePlanDefinitionActionRequiredBehavior { + CODE_REQUIREDBEHAVIOR_COULD = "could", + CODE_REQUIREDBEHAVIOR_MUST = "must", + CODE_REQUIREDBEHAVIOR_MUST_UNLESS_DOCUMENTED = "must-unless-documented" +} + +# FHIR ShareablePlanDefinitionActionRelatedAction datatype record. # -# + offsetPlanDefinitionRange - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + offsetPlanDefinitionDuration - A duration or range of durations to apply to the relationship. For example, 30-60 minutes before. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + actionId - The element id of the related action. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + relationship - The relationship of this action to the related action. @r4:DataTypeDefinition { - name: "Shareable_PlanDefinitionActionRelatedAction", + name: "ShareablePlanDefinitionActionRelatedAction", baseType: (), elements: { - "offsetPlanDefinitionRange": { - name: "offsetPlanDefinitionRange", - dataType: r4:Range, - min: 0, - max: 1, - isArray: false, - description: "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", - path: "PlanDefinition.action.relatedAction.offset[x]" - }, "extension": { name: "extension", dataType: r4:Extension, @@ -737,15 +816,7 @@ public type Shareable_PlanDefinitionGoalTarget record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "PlanDefinition.action.relatedAction.extension" }, - "offsetPlanDefinitionDuration": { - name: "offsetPlanDefinitionDuration", - dataType: r4:Duration, - min: 0, - max: 1, - isArray: false, - description: "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", - path: "PlanDefinition.action.relatedAction.offset[x]" - }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -775,7 +846,7 @@ public type Shareable_PlanDefinitionGoalTarget record {| }, "relationship": { name: "relationship", - dataType: Shareable_PlanDefinitionActionRelatedActionRelationship, + dataType: ShareablePlanDefinitionActionRelatedActionRelationship, min: 1, max: 1, isArray: false, @@ -788,19 +859,133 @@ public type Shareable_PlanDefinitionGoalTarget record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Shareable_PlanDefinitionActionRelatedAction record {| + +public type ShareablePlanDefinitionActionRelatedAction record {| *r4:BackboneElement; - r4:Range offsetPlanDefinitionRange?; r4:Extension[] extension?; - r4:Duration offsetPlanDefinitionDuration?; r4:Extension[] modifierExtension?; r4:id actionId; string id?; - Shareable_PlanDefinitionActionRelatedActionRelationship relationship; + ShareablePlanDefinitionActionRelatedActionRelationship relationship; |}; -# FHIR Shareable_PlanDefinitionAction datatype record. +# FHIR ShareablePlanDefinitionGoalTarget datatype record. +# +# + detailRange - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + measure - The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level. +# + due - Indicates the timeframe after the start of the goal in which the goal should be met. +# + detailQuantity - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). +# + detailCodeableConcept - The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value. +# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. + +@r4:DataTypeDefinition { + name: "ShareablePlanDefinitionGoalTarget", + baseType: (), + elements: { + "detailRange": { + name: "detailRange", + dataType: r4:Range, + min: 0, + max: 1, + isArray: false, + description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", + path: "PlanDefinition.goal.target.detail[x]" + }, + + "extension": { + name: "extension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + path: "PlanDefinition.goal.target.extension" + }, + + "measure": { + name: "measure", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.", + path: "PlanDefinition.goal.target.measure" + }, + + "due": { + name: "due", + dataType: r4:Duration, + min: 0, + max: 1, + isArray: false, + description: "Indicates the timeframe after the start of the goal in which the goal should be met.", + path: "PlanDefinition.goal.target.due" + }, + + "detailQuantity": { + name: "detailQuantity", + dataType: r4:Quantity, + min: 0, + max: 1, + isArray: false, + description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", + path: "PlanDefinition.goal.target.detail[x]" + }, + + "modifierExtension": { + name: "modifierExtension", + dataType: r4:Extension, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + path: "PlanDefinition.goal.target.modifierExtension" + }, + + "detailCodeableConcept": { + name: "detailCodeableConcept", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.", + path: "PlanDefinition.goal.target.detail[x]" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "PlanDefinition.goal.target.id" + } + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type ShareablePlanDefinitionGoalTarget record {| + *r4:BackboneElement; + + r4:Range detailRange?; + r4:Extension[] extension?; + r4:CodeableConcept measure?; + r4:Duration due?; + r4:Quantity detailQuantity?; + r4:Extension[] modifierExtension?; + r4:CodeableConcept detailCodeableConcept?; + string id?; +|}; + +# FHIR ShareablePlanDefinitionAction datatype record. # # + reason - A description of why this action is necessary or appropriate. # + cardinalityBehavior - Defines whether the action can be selected multiple times. @@ -820,6 +1005,7 @@ public type Shareable_PlanDefinitionActionRelatedAction record {| # + output - Defines the outputs of the action, if any. # + transform - A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input. # + dynamicValue - Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result. +# + action - Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition. # + timingAge - An optional value describing when the action should be performed. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + relatedAction - A relationship to another action such as 'before' or '30-60 minutes after start of'. @@ -839,7 +1025,7 @@ public type Shareable_PlanDefinitionActionRelatedAction record {| # + precheckBehavior - Defines whether the action should usually be preselected. # + timingDateTime - An optional value describing when the action should be performed. @r4:DataTypeDefinition { - name: "Shareable_PlanDefinitionAction", + name: "ShareablePlanDefinitionAction", baseType: (), elements: { "reason": { @@ -853,7 +1039,7 @@ public type Shareable_PlanDefinitionActionRelatedAction record {| }, "cardinalityBehavior": { name: "cardinalityBehavior", - dataType: Shareable_PlanDefinitionActionCardinalityBehavior, + dataType: ShareablePlanDefinitionActionCardinalityBehavior, min: 0, max: 1, isArray: false, @@ -961,7 +1147,7 @@ public type Shareable_PlanDefinitionActionRelatedAction record {| }, "groupingBehavior": { name: "groupingBehavior", - dataType: Shareable_PlanDefinitionActionGroupingBehavior, + dataType: ShareablePlanDefinitionActionGroupingBehavior, min: 0, max: 1, isArray: false, @@ -970,7 +1156,7 @@ public type Shareable_PlanDefinitionActionRelatedAction record {| }, "participant": { name: "participant", - dataType: Shareable_PlanDefinitionActionParticipant, + dataType: ShareablePlanDefinitionActionParticipant, min: 0, max: int:MAX_VALUE, isArray: true, @@ -997,13 +1183,24 @@ public type Shareable_PlanDefinitionActionRelatedAction record {| }, "dynamicValue": { name: "dynamicValue", - dataType: Shareable_PlanDefinitionActionDynamicValue, + dataType: ShareablePlanDefinitionActionDynamicValue, min: 0, max: int:MAX_VALUE, isArray: true, description: "Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result.", path: "PlanDefinition.action.dynamicValue" }, + + "action": { + name: "action", + dataType: ShareablePlanDefinitionAction, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition.", + path: "PlanDefinition.action.action" + }, + "timingAge": { name: "timingAge", dataType: r4:Age, @@ -1024,7 +1221,7 @@ public type Shareable_PlanDefinitionActionRelatedAction record {| }, "relatedAction": { name: "relatedAction", - dataType: Shareable_PlanDefinitionActionRelatedAction, + dataType: ShareablePlanDefinitionActionRelatedAction, min: 0, max: int:MAX_VALUE, isArray: true, @@ -1087,7 +1284,7 @@ public type Shareable_PlanDefinitionActionRelatedAction record {| }, "priority": { name: "priority", - dataType: Shareable_PlanDefinitionActionPriority, + dataType: ShareablePlanDefinitionActionPriority, min: 0, max: 1, isArray: false, @@ -1114,7 +1311,7 @@ public type Shareable_PlanDefinitionActionRelatedAction record {| }, "requiredBehavior": { name: "requiredBehavior", - dataType: Shareable_PlanDefinitionActionRequiredBehavior, + dataType: ShareablePlanDefinitionActionRequiredBehavior, min: 0, max: 1, isArray: false, @@ -1123,7 +1320,7 @@ public type Shareable_PlanDefinitionActionRelatedAction record {| }, "condition": { name: "condition", - dataType: Shareable_PlanDefinitionActionCondition, + dataType: ShareablePlanDefinitionActionCondition, min: 0, max: int:MAX_VALUE, isArray: true, @@ -1132,7 +1329,7 @@ public type Shareable_PlanDefinitionActionRelatedAction record {| }, "selectionBehavior": { name: "selectionBehavior", - dataType: Shareable_PlanDefinitionActionSelectionBehavior, + dataType: ShareablePlanDefinitionActionSelectionBehavior, min: 0, max: 1, isArray: false, @@ -1150,7 +1347,7 @@ public type Shareable_PlanDefinitionActionRelatedAction record {| }, "precheckBehavior": { name: "precheckBehavior", - dataType: Shareable_PlanDefinitionActionPrecheckBehavior, + dataType: ShareablePlanDefinitionActionPrecheckBehavior, min: 0, max: 1, isArray: false, @@ -1172,11 +1369,12 @@ public type Shareable_PlanDefinitionActionRelatedAction record {| 'json: r4:complexDataTypeJsonSerializer } } -public type Shareable_PlanDefinitionAction record {| + +public type ShareablePlanDefinitionAction record {| *r4:BackboneElement; r4:CodeableConcept[] reason?; - Shareable_PlanDefinitionActionCardinalityBehavior cardinalityBehavior?; + ShareablePlanDefinitionActionCardinalityBehavior cardinalityBehavior?; r4:canonical definitionCanonical?; r4:Extension[] extension?; r4:CodeableConcept[] code?; @@ -1188,233 +1386,40 @@ public type Shareable_PlanDefinitionAction record {| r4:uri definitionUri?; string title?; r4:CodeableConcept 'type?; - Shareable_PlanDefinitionActionGroupingBehavior groupingBehavior?; - Shareable_PlanDefinitionActionParticipant[] participant?; + ShareablePlanDefinitionActionGroupingBehavior groupingBehavior?; + ShareablePlanDefinitionActionParticipant[] participant?; r4:DataRequirement[] output?; r4:canonical transform?; - Shareable_PlanDefinitionActionDynamicValue[] dynamicValue?; + ShareablePlanDefinitionActionDynamicValue[] dynamicValue?; + ShareablePlanDefinitionAction[] action?; r4:Age timingAge?; string id?; - Shareable_PlanDefinitionActionRelatedAction[] relatedAction?; + ShareablePlanDefinitionActionRelatedAction[] relatedAction?; r4:Duration timingDuration?; string textEquivalent?; r4:Timing timingTiming?; r4:Period timingPeriod?; r4:RelatedArtifact[] documentation?; r4:TriggerDefinition[] trigger?; - Shareable_PlanDefinitionActionPriority priority?; + ShareablePlanDefinitionActionPriority priority?; r4:Reference subjectReference?; r4:DataRequirement[] input?; - Shareable_PlanDefinitionActionRequiredBehavior requiredBehavior?; - Shareable_PlanDefinitionActionCondition[] condition?; - Shareable_PlanDefinitionActionSelectionBehavior selectionBehavior?; + ShareablePlanDefinitionActionRequiredBehavior requiredBehavior?; + ShareablePlanDefinitionActionCondition[] condition?; + ShareablePlanDefinitionActionSelectionBehavior selectionBehavior?; r4:Range timingRange?; - Shareable_PlanDefinitionActionPrecheckBehavior precheckBehavior?; + ShareablePlanDefinitionActionPrecheckBehavior precheckBehavior?; r4:dateTime timingDateTime?; |}; -# Shareable_PlanDefinitionActionRequiredBehavior enum -public enum Shareable_PlanDefinitionActionRequiredBehavior { - CODE_REQUIREDBEHAVIOR_COULD = "could", - CODE_REQUIREDBEHAVIOR_MUST = "must", - CODE_REQUIREDBEHAVIOR_MUST_UNLESS_DOCUMENTED = "must-unless-documented" -} - -# Shareable_PlanDefinitionActionPriority enum -public enum Shareable_PlanDefinitionActionPriority { - CODE_PRIORITY_STAT = "stat", - CODE_PRIORITY_ROUTINE = "routine", - CODE_PRIORITY_URGENT = "urgent", - CODE_PRIORITY_ASAP = "asap" +# ShareablePlanDefinitionActionConditionKind enum +public enum ShareablePlanDefinitionActionConditionKind { + CODE_KIND_STOP = "stop", + CODE_KIND_START = "start", + CODE_KIND_APPLICABILITY = "applicability" } -# FHIR Shareable_PlanDefinitionActionParticipant datatype record. -# -# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + role - The role the participant should play in performing the described action. -# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + 'type - The type of participant in the action. -@r4:DataTypeDefinition { - name: "Shareable_PlanDefinitionActionParticipant", - baseType: (), - elements: { - "extension": { - name: "extension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "PlanDefinition.action.participant.extension" - }, - "role": { - name: "role", - dataType: r4:CodeableConcept, - min: 0, - max: 1, - isArray: false, - description: "The role the participant should play in performing the described action.", - path: "PlanDefinition.action.participant.role" - }, - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "PlanDefinition.action.participant.modifierExtension" - }, - "id": { - name: "id", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "PlanDefinition.action.participant.id" - }, - "type": { - name: "type", - dataType: Shareable_PlanDefinitionActionParticipantType, - min: 1, - max: 1, - isArray: false, - description: "The type of participant in the action.", - path: "PlanDefinition.action.participant.type" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Shareable_PlanDefinitionActionParticipant record {| - *r4:BackboneElement; - - r4:Extension[] extension?; - r4:CodeableConcept role?; - r4:Extension[] modifierExtension?; - string id?; - Shareable_PlanDefinitionActionParticipantType 'type; -|}; - -# Shareable_PlanDefinitionActionPrecheckBehavior enum -public enum Shareable_PlanDefinitionActionPrecheckBehavior { - CODE_PRECHECKBEHAVIOR_NO = "no", - CODE_PRECHECKBEHAVIOR_YES = "yes" -} - -# Shareable_PlanDefinitionActionSelectionBehavior enum -public enum Shareable_PlanDefinitionActionSelectionBehavior { - CODE_SELECTIONBEHAVIOR_ALL = "all", - CODE_SELECTIONBEHAVIOR_EXACTLY_ONE = "exactly-one", - CODE_SELECTIONBEHAVIOR_AT_MOST_ONE = "at-most-one", - CODE_SELECTIONBEHAVIOR_ALL_OR_NONE = "all-or-none", - CODE_SELECTIONBEHAVIOR_ANY = "any", - CODE_SELECTIONBEHAVIOR_ONE_OR_MORE = "one-or-more" -} - -# FHIR Shareable_PlanDefinitionActionCondition datatype record. -# -# + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + expression - An expression that returns true or false, indicating whether the condition is satisfied. -# + kind - The kind of condition. -# + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -@r4:DataTypeDefinition { - name: "Shareable_PlanDefinitionActionCondition", - baseType: (), - elements: { - "extension": { - name: "extension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", - path: "PlanDefinition.action.condition.extension" - }, - "expression": { - name: "expression", - dataType: r4:Expression, - min: 0, - max: 1, - isArray: false, - description: "An expression that returns true or false, indicating whether the condition is satisfied.", - path: "PlanDefinition.action.condition.expression" - }, - "kind": { - name: "kind", - dataType: Shareable_PlanDefinitionActionConditionKind, - min: 1, - max: 1, - isArray: false, - description: "The kind of condition.", - path: "PlanDefinition.action.condition.kind" - }, - "modifierExtension": { - name: "modifierExtension", - dataType: r4:Extension, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", - path: "PlanDefinition.action.condition.modifierExtension" - }, - "id": { - name: "id", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "PlanDefinition.action.condition.id" - } - }, - serializers: { - 'xml: r4:complexDataTypeXMLSerializer, - 'json: r4:complexDataTypeJsonSerializer - } -} -public type Shareable_PlanDefinitionActionCondition record {| - *r4:BackboneElement; - - r4:Extension[] extension?; - r4:Expression expression?; - Shareable_PlanDefinitionActionConditionKind kind; - r4:Extension[] modifierExtension?; - string id?; -|}; - -# Shareable_PlanDefinitionActionGroupingBehavior enum -public enum Shareable_PlanDefinitionActionGroupingBehavior { - CODE_GROUPINGBEHAVIOR_VISUAL_GROUP = "visual-group", - CODE_GROUPINGBEHAVIOR_SENTENCE_GROUP = "sentence-group", - CODE_GROUPINGBEHAVIOR_LOGICAL_GROUP = "logical-group" -} - -# Shareable_PlanDefinitionActionRelatedActionRelationship enum -public enum Shareable_PlanDefinitionActionRelatedActionRelationship { - CODE_RELATIONSHIP_AFTER_END = "after-end", - CODE_RELATIONSHIP_BEFORE = "before", - CODE_RELATIONSHIP_CONCURRENT_WITH_START = "concurrent-with-start", - CODE_RELATIONSHIP_CONCURRENT = "concurrent", - CODE_RELATIONSHIP_BEFORE_END = "before-end", - CODE_RELATIONSHIP_AFTER = "after", - CODE_RELATIONSHIP_CONCURRENT_WITH_END = "concurrent-with-end", - CODE_RELATIONSHIP_AFTER_START = "after-start", - CODE_RELATIONSHIP_BEFORE_START = "before-start" -} - -# Shareable_PlanDefinitionActionCardinalityBehavior enum -public enum Shareable_PlanDefinitionActionCardinalityBehavior { - CODE_CARDINALITYBEHAVIOR_SINGLE = "single", - CODE_CARDINALITYBEHAVIOR_MULTIPLE = "multiple" -} - -# FHIR Shareable_PlanDefinitionActionDynamicValue datatype record. +# FHIR ShareablePlanDefinitionActionDynamicValue datatype record. # # + path - The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolveable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](http://hl7.org/fhir/fhirpath.html#simple) for full details). # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. @@ -1422,7 +1427,7 @@ public enum Shareable_PlanDefinitionActionCardinalityBehavior { # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. @r4:DataTypeDefinition { - name: "Shareable_PlanDefinitionActionDynamicValue", + name: "ShareablePlanDefinitionActionDynamicValue", baseType: (), elements: { "path": { @@ -1476,7 +1481,8 @@ public enum Shareable_PlanDefinitionActionCardinalityBehavior { 'json: r4:complexDataTypeJsonSerializer } } -public type Shareable_PlanDefinitionActionDynamicValue record {| + +public type ShareablePlanDefinitionActionDynamicValue record {| *r4:BackboneElement; string path?; @@ -1486,3 +1492,17 @@ public type Shareable_PlanDefinitionActionDynamicValue record {| string id?; |}; +# ShareablePlanDefinitionActionPrecheckBehavior enum +public enum ShareablePlanDefinitionActionPrecheckBehavior { + CODE_PRECHECKBEHAVIOR_NO = "no", + CODE_PRECHECKBEHAVIOR_YES = "yes" +} + +# ShareablePlanDefinitionStatus enum +public enum ShareablePlanDefinitionStatus { + CODE_STATUS_DRAFT = "draft", + CODE_STATUS_ACTIVE = "active", + CODE_STATUS_RETIRED = "retired", + CODE_STATUS_UNKNOWN = "unknown" +} + diff --git a/international401/resource_specimen.bal b/international401/resource_specimen.bal index 366bbcba..9f2e4080 100644 --- a/international401/resource_specimen.bal +++ b/international401/resource_specimen.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_SPECIMEN = "http://hl7.org/fhir/StructureDefinition/Specimen"; public const RESOURCE_NAME_SPECIMEN = "Specimen"; +public type SpecimenExtensions (r4:Extension|SpecimenAdditive|SpecimenRejectReason); + # FHIR Specimen resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_specimen_definition.bal b/international401/resource_specimen_definition.bal index 05ef75f5..f10589b9 100644 --- a/international401/resource_specimen_definition.bal +++ b/international401/resource_specimen_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_SPECIMENDEFINITION = "http://hl7.org/fhir/StructureDefinition/SpecimenDefinition"; public const RESOURCE_NAME_SPECIMENDEFINITION = "SpecimenDefinition"; +public type SpecimenDefinitionExtensions (r4:Extension|Replaces); + # FHIR SpecimenDefinition resource record. # # + resourceType - The type of the resource describes @@ -428,24 +430,16 @@ public type SpecimenDefinitionTypeTestedHandling record {| # FHIR SpecimenDefinitionTypeTestedContainerAdditive datatype record. # -# + additiveSpecimenDefinitionReference - Substance introduced in the kind of container to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + additiveSpecimenDefinitionCodeableConcept - Substance introduced in the kind of container to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + additiveReference - Substance introduced in the kind of container to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA. +# + additiveCodeableConcept - Substance introduced in the kind of container to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA. + @r4:DataTypeDefinition { name: "SpecimenDefinitionTypeTestedContainerAdditive", baseType: (), elements: { - "additiveSpecimenDefinitionReference": { - name: "additiveSpecimenDefinitionReference", - dataType: r4:Reference, - min: 0, - max: 1, - isArray: false, - description: "Substance introduced in the kind of container to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.", - path: "SpecimenDefinition.typeTested.container.additive.additive[x]" - }, "extension": { name: "extension", dataType: r4:Extension, @@ -464,23 +458,35 @@ public type SpecimenDefinitionTypeTestedHandling record {| description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "SpecimenDefinition.typeTested.container.additive.modifierExtension" }, - "additiveSpecimenDefinitionCodeableConcept": { - name: "additiveSpecimenDefinitionCodeableConcept", - dataType: r4:CodeableConcept, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "SpecimenDefinition.typeTested.container.additive.id" + }, + + "additiveReference": { + name: "additiveReference", + dataType: r4:Reference, min: 0, max: 1, isArray: false, description: "Substance introduced in the kind of container to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.", path: "SpecimenDefinition.typeTested.container.additive.additive[x]" }, - "id": { - name: "id", - dataType: string, + + "additiveCodeableConcept": { + name: "additiveCodeableConcept", + dataType: r4:CodeableConcept, min: 0, max: 1, isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "SpecimenDefinition.typeTested.container.additive.id" + description: "Substance introduced in the kind of container to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.", + path: "SpecimenDefinition.typeTested.container.additive.additive[x]" } }, serializers: { @@ -491,11 +497,11 @@ public type SpecimenDefinitionTypeTestedHandling record {| public type SpecimenDefinitionTypeTestedContainerAdditive record {| *r4:BackboneElement; - r4:Reference additiveSpecimenDefinitionReference; r4:Extension[] extension?; r4:Extension[] modifierExtension?; - r4:CodeableConcept additiveSpecimenDefinitionCodeableConcept; string id?; + r4:Reference additiveReference?; + r4:CodeableConcept additiveCodeableConcept?; |}; # FHIR SpecimenDefinitionTypeTestedContainer datatype record. @@ -503,12 +509,12 @@ public type SpecimenDefinitionTypeTestedContainerAdditive record {| # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + cap - Color of container cap. # + material - The type of material of the container. -# + minimumVolumeSpecimenDefinitionString - The minimum volume to be conditioned in the container. +# + minimumVolumeString - The minimum volume to be conditioned in the container. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + description - The textual description of the kind of container. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + minimumVolumeQuantity - The minimum volume to be conditioned in the container. # + 'type - The type of container used to contain this kind of specimen. -# + minimumVolumeSpecimenDefinitionQuantity - The minimum volume to be conditioned in the container. # + additive - Substance introduced in the kind of container to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA. # + capacity - The capacity (volume or other measure) of this kind of container. # + preparation - Special processing that should be applied to the container for this kind of specimen. @@ -543,8 +549,9 @@ public type SpecimenDefinitionTypeTestedContainerAdditive record {| description: "The type of material of the container.", path: "SpecimenDefinition.typeTested.container.material" }, - "minimumVolumeSpecimenDefinitionString": { - name: "minimumVolumeSpecimenDefinitionString", + + "minimumVolumeString": { + name: "minimumVolumeString", dataType: string, min: 0, max: 1, @@ -579,6 +586,17 @@ public type SpecimenDefinitionTypeTestedContainerAdditive record {| description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "SpecimenDefinition.typeTested.container.id" }, + + "minimumVolumeQuantity": { + name: "minimumVolumeQuantity", + dataType: r4:Quantity, + min: 0, + max: 1, + isArray: false, + description: "The minimum volume to be conditioned in the container.", + path: "SpecimenDefinition.typeTested.container.minimumVolume[x]" + }, + "type": { name: "type", dataType: r4:CodeableConcept, @@ -588,15 +606,7 @@ public type SpecimenDefinitionTypeTestedContainerAdditive record {| description: "The type of container used to contain this kind of specimen.", path: "SpecimenDefinition.typeTested.container.type" }, - "minimumVolumeSpecimenDefinitionQuantity": { - name: "minimumVolumeSpecimenDefinitionQuantity", - dataType: r4:Quantity, - min: 0, - max: 1, - isArray: false, - description: "The minimum volume to be conditioned in the container.", - path: "SpecimenDefinition.typeTested.container.minimumVolume[x]" - }, + "additive": { name: "additive", dataType: SpecimenDefinitionTypeTestedContainerAdditive, @@ -636,12 +646,12 @@ public type SpecimenDefinitionTypeTestedContainer record {| r4:Extension[] extension?; r4:CodeableConcept cap?; r4:CodeableConcept material?; - string minimumVolumeSpecimenDefinitionString?; + string minimumVolumeString?; r4:Extension[] modifierExtension?; string description?; string id?; + r4:Quantity minimumVolumeQuantity?; r4:CodeableConcept 'type?; - r4:Quantity minimumVolumeSpecimenDefinitionQuantity?; SpecimenDefinitionTypeTestedContainerAdditive[] additive?; r4:Quantity capacity?; string preparation?; diff --git a/international401/resource_structure_definition.bal b/international401/resource_structure_definition.bal index 77cad571..d933ebc8 100644 --- a/international401/resource_structure_definition.bal +++ b/international401/resource_structure_definition.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_STRUCTUREDEFINITION = "http://hl7.org/fhir/StructureDefinition/StructureDefinition"; public const RESOURCE_NAME_STRUCTUREDEFINITION = "StructureDefinition"; +public type StructureDefinitionExtensions (CqfModelInfoIsIncluded|CqfModelInfoIsRetrievable|CqfModelInfoLabel|CqfModelInfoPrimaryCodePath|CqfShouldTraceDependency|ElementdefinitionNamespace|r4:Extension|Obligation|Replaces|ResourceApprovalDate|ResourceEffectivePeriod|ResourceLastReviewDate|StructuredefinitionAncestor|StructuredefinitionApplicableVersion|StructuredefinitionCategory|StructuredefinitionCompliesWithProfile|StructuredefinitionDependencies|StructuredefinitionFmmNoWarnings|StructuredefinitionImposeProfile|StructuredefinitionInheritanceControl|StructuredefinitionInterface|StructuredefinitionSecurityCategory|StructuredefinitionSummary|StructuredefinitionTemplateStatus|StructuredefinitionTypeCharacteristics|StructuredefinitionXmlNoOrder); + # FHIR StructureDefinition resource record. # # + resourceType - The type of the resource describes @@ -462,7 +464,14 @@ public type StructureDefinitionDifferential record {| r4:Extension[] modifierExtension?; string id?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.StructureDefinition.differential.element constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.StructureDefinition.differential.element constraint. This field must be an array containing at most one item." + } } r4:ElementDefinition[] element; |}; @@ -643,7 +652,14 @@ public type StructureDefinitionSnapshot record {| r4:Extension[] modifierExtension?; string id?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.StructureDefinition.snapshot.element constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.StructureDefinition.snapshot.element constraint. This field must be an array containing at most one item." + } } r4:ElementDefinition[] element; |}; diff --git a/international401/resource_structure_map.bal b/international401/resource_structure_map.bal index a5823ccc..d0717ad6 100644 --- a/international401/resource_structure_map.bal +++ b/international401/resource_structure_map.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_STRUCTUREMAP = "http://hl7.org/fhir/StructureDefinition/StructureMap"; public const RESOURCE_NAME_STRUCTUREMAP = "StructureMap"; +public type StructureMapExtensions (r4:Extension|Replaces|ResourceApprovalDate|ResourceEffectivePeriod|ResourceLastReviewDate); + # FHIR StructureMap resource record. # # + resourceType - The type of the resource describes @@ -294,7 +296,10 @@ public type StructureMap record {| string id?; r4:Narrative text?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.StructureMap.group constraint. This field must be an array containing at least one item." + } } StructureMapGroup[] group; r4:Identifier[] identifier?; @@ -418,7 +423,14 @@ public type StructureMapGroup record {| StructureMapGroupTypeMode typeMode; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.StructureMap.group.input constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.StructureMap.group.input constraint. This field must be an array containing at most one item." + } } StructureMapGroupInput[] input; r4:Extension[] extension?; @@ -427,7 +439,14 @@ public type StructureMapGroup record {| r4:Extension[] modifierExtension?; r4:id name; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.StructureMap.group.rule constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.StructureMap.group.rule constraint. This field must be an array containing at most one item." + } } StructureMapGroupRule[] rule; string id?; @@ -443,21 +462,22 @@ public enum StructureMapStatus { # FHIR StructureMapGroupRuleTargetParameter datatype record. # -# + valueStructureMapDecimal - Parameter value - variable or literal. +# + valueBoolean - Parameter value - variable or literal. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + valueId - Parameter value - variable or literal. +# + valueString - Parameter value - variable or literal. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + valueStructureMapString - Parameter value - variable or literal. +# + valueDecimal - Parameter value - variable or literal. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. -# + valueStructureMapBoolean - Parameter value - variable or literal. -# + valueStructureMapInteger - Parameter value - variable or literal. -# + valueStructureMapId - Parameter value - variable or literal. +# + valueInteger - Parameter value - variable or literal. + @r4:DataTypeDefinition { name: "StructureMapGroupRuleTargetParameter", baseType: (), elements: { - "valueStructureMapDecimal": { - name: "valueStructureMapDecimal", - dataType: decimal, + "valueBoolean": { + name: "valueBoolean", + dataType: boolean, min: 0, max: 1, isArray: false, @@ -473,6 +493,27 @@ public enum StructureMapStatus { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "StructureMap.group.rule.target.parameter.extension" }, + + "valueId": { + name: "valueId", + dataType: r4:id, + min: 0, + max: 1, + isArray: false, + description: "Parameter value - variable or literal.", + path: "StructureMap.group.rule.target.parameter.value[x]" + }, + + "valueString": { + name: "valueString", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Parameter value - variable or literal.", + path: "StructureMap.group.rule.target.parameter.value[x]" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -482,9 +523,10 @@ public enum StructureMapStatus { description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "StructureMap.group.rule.target.parameter.modifierExtension" }, - "valueStructureMapString": { - name: "valueStructureMapString", - dataType: string, + + "valueDecimal": { + name: "valueDecimal", + dataType: decimal, min: 0, max: 1, isArray: false, @@ -500,32 +542,15 @@ public enum StructureMapStatus { description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "StructureMap.group.rule.target.parameter.id" }, - "valueStructureMapBoolean": { - name: "valueStructureMapBoolean", - dataType: boolean, - min: 0, - max: 1, - isArray: false, - description: "Parameter value - variable or literal.", - path: "StructureMap.group.rule.target.parameter.value[x]" - }, - "valueStructureMapInteger": { - name: "valueStructureMapInteger", + + "valueInteger": { + name: "valueInteger", dataType: r4:integer, min: 0, max: 1, isArray: false, description: "Parameter value - variable or literal.", path: "StructureMap.group.rule.target.parameter.value[x]" - }, - "valueStructureMapId": { - name: "valueStructureMapId", - dataType: r4:id, - min: 0, - max: 1, - isArray: false, - description: "Parameter value - variable or literal.", - path: "StructureMap.group.rule.target.parameter.value[x]" } }, serializers: { @@ -536,14 +561,14 @@ public enum StructureMapStatus { public type StructureMapGroupRuleTargetParameter record {| *r4:BackboneElement; - decimal valueStructureMapDecimal; + boolean valueBoolean?; r4:Extension[] extension?; + r4:id valueId?; + string valueString?; r4:Extension[] modifierExtension?; - string valueStructureMapString; + decimal valueDecimal?; string id?; - boolean valueStructureMapBoolean; - r4:integer valueStructureMapInteger; - r4:id valueStructureMapId; + r4:integer valueInteger?; |}; # FHIR StructureMapGroupRuleDependent datatype record. @@ -615,7 +640,14 @@ public type StructureMapGroupRuleDependent record {| r4:Extension[] modifierExtension?; r4:id name; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.StructureMap.group.rule.dependent.variable constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.StructureMap.group.rule.dependent.variable constraint. This field must be an array containing at most one item." + } } string[] variable; string id?; @@ -659,103 +691,87 @@ public enum StructureMapGroupTypeMode { # FHIR StructureMapGroupRuleSource datatype record. # -# + defaultValueStructureMapRange - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapAnnotation - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapAge - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapQuantity - A value to use if there is no existing value in the source object. +# + defaultValueDosage - A value to use if there is no existing value in the source object. +# + defaultValueString - A value to use if there is no existing value in the source object. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + defaultValueStructureMapSignature - A value to use if there is no existing value in the source object. +# + defaultValueSignature - A value to use if there is no existing value in the source object. # + 'type - Specified type for the element. This works as a condition on the mapping - use for polymorphic elements. -# + defaultValueStructureMapTime - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapDataRequirement - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapUnsignedInt - A value to use if there is no existing value in the source object. +# + defaultValueInstant - A value to use if there is no existing value in the source object. +# + defaultValueBoolean - A value to use if there is no existing value in the source object. +# + defaultValueQuantity - A value to use if there is no existing value in the source object. +# + defaultValueUrl - A value to use if there is no existing value in the source object. +# + defaultValueRatio - A value to use if there is no existing value in the source object. +# + defaultValueUri - A value to use if there is no existing value in the source object. # + context - Type or variable this rule applies to. -# + defaultValueStructureMapTriggerDefinition - A value to use if there is no existing value in the source object. +# + defaultValueMeta - A value to use if there is no existing value in the source object. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + defaultValueMoney - A value to use if there is no existing value in the source object. # + element - Optional field for this source. -# + defaultValueStructureMapDateTime - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapBoolean - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapInteger - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapUuid - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapPeriod - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapCodeableConcept - A value to use if there is no existing value in the source object. +# + defaultValueBase64Binary - A value to use if there is no existing value in the source object. +# + defaultValueAddress - A value to use if there is no existing value in the source object. +# + defaultValueIdentifier - A value to use if there is no existing value in the source object. +# + defaultValueMarkdown - A value to use if there is no existing value in the source object. +# + defaultValueAge - A value to use if there is no existing value in the source object. +# + defaultValueExpression - A value to use if there is no existing value in the source object. +# + defaultValueId - A value to use if there is no existing value in the source object. # + 'check - FHIRPath expression - must be true or the mapping engine throws an error instead of completing. -# + defaultValueStructureMapDate - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapSampledData - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapUsageContext - A value to use if there is no existing value in the source object. # + condition - FHIRPath expression - must be true or the rule does not apply. -# + defaultValueStructureMapInstant - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapRelatedArtifact - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapParameterDefinition - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapAddress - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapReference - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapDosage - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapDecimal - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapMoney - A value to use if there is no existing value in the source object. +# + defaultValueUsageContext - A value to use if there is no existing value in the source object. +# + defaultValueDataRequirement - A value to use if there is no existing value in the source object. +# + defaultValueDate - A value to use if there is no existing value in the source object. +# + defaultValueParameterDefinition - A value to use if there is no existing value in the source object. +# + defaultValueAttachment - A value to use if there is no existing value in the source object. +# + defaultValueReference - A value to use if there is no existing value in the source object. +# + defaultValueContactDetail - A value to use if there is no existing value in the source object. +# + defaultValueDuration - A value to use if there is no existing value in the source object. # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + defaultValueStructureMapString - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapIdentifier - A value to use if there is no existing value in the source object. +# + defaultValueRange - A value to use if there is no existing value in the source object. +# + defaultValueSampledData - A value to use if there is no existing value in the source object. # + logMessage - A FHIRPath expression which specifies a message to put in the transform log when content matching the source rule is found. -# + defaultValueStructureMapExpression - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapAttachment - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapOid - A value to use if there is no existing value in the source object. +# + defaultValueUnsignedInt - A value to use if there is no existing value in the source object. +# + defaultValueInteger - A value to use if there is no existing value in the source object. +# + defaultValueTime - A value to use if there is no existing value in the source object. # + listMode - How to handle the list mode for this element. -# + defaultValueStructureMapDuration - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapContactDetail - A value to use if there is no existing value in the source object. +# + defaultValueRelatedArtifact - A value to use if there is no existing value in the source object. +# + defaultValueTriggerDefinition - A value to use if there is no existing value in the source object. +# + defaultValueContactPoint - A value to use if there is no existing value in the source object. # + min - Specified minimum cardinality for the element. This is optional; if present, it acts an implicit check on the input content. -# + defaultValueStructureMapCoding - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapRatio - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapDistance - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapTiming - A value to use if there is no existing value in the source object. +# + defaultValueHumanName - A value to use if there is no existing value in the source object. +# + defaultValueDateTime - A value to use if there is no existing value in the source object. +# + defaultValueDistance - A value to use if there is no existing value in the source object. +# + defaultValueCodeableConcept - A value to use if there is no existing value in the source object. +# + defaultValueDecimal - A value to use if there is no existing value in the source object. +# + defaultValueUuid - A value to use if there is no existing value in the source object. +# + defaultValueAnnotation - A value to use if there is no existing value in the source object. +# + defaultValueCount - A value to use if there is no existing value in the source object. +# + defaultValueCanonical - A value to use if there is no existing value in the source object. +# + defaultValuePeriod - A value to use if there is no existing value in the source object. +# + defaultValueContributor - A value to use if there is no existing value in the source object. # + max - Specified maximum cardinality for the element - a number or a '*'. This is optional; if present, it acts an implicit check on the input content (* just serves as documentation; it's the default value). -# + defaultValueStructureMapContactPoint - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapCanonical - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapCode - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapCount - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapHumanName - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapMeta - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapId - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapUri - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapBase64Binary - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapUrl - A value to use if there is no existing value in the source object. +# + defaultValueTiming - A value to use if there is no existing value in the source object. +# + defaultValuePositiveInt - A value to use if there is no existing value in the source object. +# + defaultValueOid - A value to use if there is no existing value in the source object. +# + defaultValueCoding - A value to use if there is no existing value in the source object. +# + defaultValueCode - A value to use if there is no existing value in the source object. # + variable - Named context for field, if a field is specified. -# + defaultValueStructureMapMarkdown - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapPositiveInt - A value to use if there is no existing value in the source object. -# + defaultValueStructureMapContributor - A value to use if there is no existing value in the source object. + @r4:DataTypeDefinition { name: "StructureMapGroupRuleSource", baseType: (), elements: { - "defaultValueStructureMapRange": { - name: "defaultValueStructureMapRange", - dataType: r4:Range, - min: 0, - max: 1, - isArray: false, - description: "A value to use if there is no existing value in the source object.", - path: "StructureMap.group.rule.source.defaultValue[x]" - }, - "defaultValueStructureMapAnnotation": { - name: "defaultValueStructureMapAnnotation", - dataType: r4:Annotation, - min: 0, - max: 1, - isArray: false, - description: "A value to use if there is no existing value in the source object.", - path: "StructureMap.group.rule.source.defaultValue[x]" - }, - "defaultValueStructureMapAge": { - name: "defaultValueStructureMapAge", - dataType: r4:Age, + "defaultValueDosage": { + name: "defaultValueDosage", + dataType: r4:Dosage, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapQuantity": { - name: "defaultValueStructureMapQuantity", - dataType: r4:Quantity, + + "defaultValueString": { + name: "defaultValueString", + dataType: string, min: 0, max: 1, isArray: false, @@ -771,8 +787,9 @@ public enum StructureMapGroupTypeMode { description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "StructureMap.group.rule.source.modifierExtension" }, - "defaultValueStructureMapSignature": { - name: "defaultValueStructureMapSignature", + + "defaultValueSignature": { + name: "defaultValueSignature", dataType: r4:Signature, min: 0, max: 1, @@ -789,27 +806,60 @@ public enum StructureMapGroupTypeMode { description: "Specified type for the element. This works as a condition on the mapping - use for polymorphic elements.", path: "StructureMap.group.rule.source.type" }, - "defaultValueStructureMapTime": { - name: "defaultValueStructureMapTime", - dataType: r4:time, + + "defaultValueInstant": { + name: "defaultValueInstant", + dataType: r4:instant, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapDataRequirement": { - name: "defaultValueStructureMapDataRequirement", - dataType: r4:DataRequirement, + + "defaultValueBoolean": { + name: "defaultValueBoolean", + dataType: boolean, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapUnsignedInt": { - name: "defaultValueStructureMapUnsignedInt", - dataType: r4:unsignedInt, + + "defaultValueQuantity": { + name: "defaultValueQuantity", + dataType: r4:Quantity, + min: 0, + max: 1, + isArray: false, + description: "A value to use if there is no existing value in the source object.", + path: "StructureMap.group.rule.source.defaultValue[x]" + }, + + "defaultValueUrl": { + name: "defaultValueUrl", + dataType: r4:urlType, + min: 0, + max: 1, + isArray: false, + description: "A value to use if there is no existing value in the source object.", + path: "StructureMap.group.rule.source.defaultValue[x]" + }, + + "defaultValueRatio": { + name: "defaultValueRatio", + dataType: r4:Ratio, + min: 0, + max: 1, + isArray: false, + description: "A value to use if there is no existing value in the source object.", + path: "StructureMap.group.rule.source.defaultValue[x]" + }, + + "defaultValueUri": { + name: "defaultValueUri", + dataType: r4:uri, min: 0, max: 1, isArray: false, @@ -825,9 +875,10 @@ public enum StructureMapGroupTypeMode { description: "Type or variable this rule applies to.", path: "StructureMap.group.rule.source.context" }, - "defaultValueStructureMapTriggerDefinition": { - name: "defaultValueStructureMapTriggerDefinition", - dataType: r4:TriggerDefinition, + + "defaultValueMeta": { + name: "defaultValueMeta", + dataType: r4:Meta, min: 0, max: 1, isArray: false, @@ -843,6 +894,17 @@ public enum StructureMapGroupTypeMode { description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "StructureMap.group.rule.source.id" }, + + "defaultValueMoney": { + name: "defaultValueMoney", + dataType: r4:Money, + min: 0, + max: 1, + isArray: false, + description: "A value to use if there is no existing value in the source object.", + path: "StructureMap.group.rule.source.defaultValue[x]" + }, + "element": { name: "element", dataType: string, @@ -852,95 +914,85 @@ public enum StructureMapGroupTypeMode { description: "Optional field for this source.", path: "StructureMap.group.rule.source.element" }, - "defaultValueStructureMapDateTime": { - name: "defaultValueStructureMapDateTime", - dataType: r4:dateTime, - min: 0, - max: 1, - isArray: false, - description: "A value to use if there is no existing value in the source object.", - path: "StructureMap.group.rule.source.defaultValue[x]" - }, - "defaultValueStructureMapBoolean": { - name: "defaultValueStructureMapBoolean", - dataType: boolean, + + "defaultValueBase64Binary": { + name: "defaultValueBase64Binary", + dataType: r4:base64Binary, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapInteger": { - name: "defaultValueStructureMapInteger", - dataType: r4:integer, + + "defaultValueAddress": { + name: "defaultValueAddress", + dataType: r4:Address, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapUuid": { - name: "defaultValueStructureMapUuid", - dataType: r4:uuid, + + "defaultValueIdentifier": { + name: "defaultValueIdentifier", + dataType: r4:Identifier, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapPeriod": { - name: "defaultValueStructureMapPeriod", - dataType: r4:Period, + + "defaultValueMarkdown": { + name: "defaultValueMarkdown", + dataType: r4:markdown, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapCodeableConcept": { - name: "defaultValueStructureMapCodeableConcept", - dataType: r4:CodeableConcept, + + "defaultValueAge": { + name: "defaultValueAge", + dataType: r4:Age, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "check": { - name: "check", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "FHIRPath expression - must be true or the mapping engine throws an error instead of completing.", - path: "StructureMap.group.rule.source.check" - }, - "defaultValueStructureMapDate": { - name: "defaultValueStructureMapDate", - dataType: r4:date, + + "defaultValueExpression": { + name: "defaultValueExpression", + dataType: r4:Expression, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapSampledData": { - name: "defaultValueStructureMapSampledData", - dataType: r4:SampledData, + + "defaultValueId": { + name: "defaultValueId", + dataType: r4:id, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapUsageContext": { - name: "defaultValueStructureMapUsageContext", - dataType: r4:UsageContext, + + "check": { + name: "check", + dataType: string, min: 0, max: 1, isArray: false, - description: "A value to use if there is no existing value in the source object.", - path: "StructureMap.group.rule.source.defaultValue[x]" + description: "FHIRPath expression - must be true or the mapping engine throws an error instead of completing.", + path: "StructureMap.group.rule.source.check" }, "condition": { name: "condition", @@ -951,72 +1003,80 @@ public enum StructureMapGroupTypeMode { description: "FHIRPath expression - must be true or the rule does not apply.", path: "StructureMap.group.rule.source.condition" }, - "defaultValueStructureMapInstant": { - name: "defaultValueStructureMapInstant", - dataType: r4:instant, + + "defaultValueUsageContext": { + name: "defaultValueUsageContext", + dataType: r4:UsageContext, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapRelatedArtifact": { - name: "defaultValueStructureMapRelatedArtifact", - dataType: r4:RelatedArtifact, + + "defaultValueDataRequirement": { + name: "defaultValueDataRequirement", + dataType: r4:DataRequirement, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapParameterDefinition": { - name: "defaultValueStructureMapParameterDefinition", - dataType: r4:ParameterDefinition, + + "defaultValueDate": { + name: "defaultValueDate", + dataType: r4:date, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapAddress": { - name: "defaultValueStructureMapAddress", - dataType: r4:Address, + + "defaultValueParameterDefinition": { + name: "defaultValueParameterDefinition", + dataType: r4:ParameterDefinition, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapReference": { - name: "defaultValueStructureMapReference", - dataType: r4:Reference, + + "defaultValueAttachment": { + name: "defaultValueAttachment", + dataType: r4:Attachment, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapDosage": { - name: "defaultValueStructureMapDosage", - dataType: r4:Dosage, + + "defaultValueReference": { + name: "defaultValueReference", + dataType: r4:Reference, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapDecimal": { - name: "defaultValueStructureMapDecimal", - dataType: decimal, + + "defaultValueContactDetail": { + name: "defaultValueContactDetail", + dataType: r4:ContactDetail, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapMoney": { - name: "defaultValueStructureMapMoney", - dataType: r4:Money, + + "defaultValueDuration": { + name: "defaultValueDuration", + dataType: r4:Duration, min: 0, max: 1, isArray: false, @@ -1032,18 +1092,20 @@ public enum StructureMapGroupTypeMode { description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "StructureMap.group.rule.source.extension" }, - "defaultValueStructureMapString": { - name: "defaultValueStructureMapString", - dataType: string, + + "defaultValueRange": { + name: "defaultValueRange", + dataType: r4:Range, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapIdentifier": { - name: "defaultValueStructureMapIdentifier", - dataType: r4:Identifier, + + "defaultValueSampledData": { + name: "defaultValueSampledData", + dataType: r4:SampledData, min: 0, max: 1, isArray: false, @@ -1059,27 +1121,30 @@ public enum StructureMapGroupTypeMode { description: "A FHIRPath expression which specifies a message to put in the transform log when content matching the source rule is found.", path: "StructureMap.group.rule.source.logMessage" }, - "defaultValueStructureMapExpression": { - name: "defaultValueStructureMapExpression", - dataType: r4:Expression, + + "defaultValueUnsignedInt": { + name: "defaultValueUnsignedInt", + dataType: r4:unsignedInt, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapAttachment": { - name: "defaultValueStructureMapAttachment", - dataType: r4:Attachment, + + "defaultValueInteger": { + name: "defaultValueInteger", + dataType: r4:integer, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapOid": { - name: "defaultValueStructureMapOid", - dataType: r4:oid, + + "defaultValueTime": { + name: "defaultValueTime", + dataType: r4:time, min: 0, max: 1, isArray: false, @@ -1095,24 +1160,37 @@ public enum StructureMapGroupTypeMode { description: "How to handle the list mode for this element.", path: "StructureMap.group.rule.source.listMode" }, - "defaultValueStructureMapDuration": { - name: "defaultValueStructureMapDuration", - dataType: r4:Duration, + + "defaultValueRelatedArtifact": { + name: "defaultValueRelatedArtifact", + dataType: r4:RelatedArtifact, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapContactDetail": { - name: "defaultValueStructureMapContactDetail", - dataType: r4:ContactDetail, + + "defaultValueTriggerDefinition": { + name: "defaultValueTriggerDefinition", + dataType: r4:TriggerDefinition, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, + + "defaultValueContactPoint": { + name: "defaultValueContactPoint", + dataType: r4:ContactPoint, + min: 0, + max: 1, + isArray: false, + description: "A value to use if there is no existing value in the source object.", + path: "StructureMap.group.rule.source.defaultValue[x]" + }, + "min": { name: "min", dataType: r4:integer, @@ -1122,26 +1200,29 @@ public enum StructureMapGroupTypeMode { description: "Specified minimum cardinality for the element. This is optional; if present, it acts an implicit check on the input content.", path: "StructureMap.group.rule.source.min" }, - "defaultValueStructureMapCoding": { - name: "defaultValueStructureMapCoding", - dataType: r4:Coding, + + "defaultValueHumanName": { + name: "defaultValueHumanName", + dataType: r4:HumanName, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapRatio": { - name: "defaultValueStructureMapRatio", - dataType: r4:Ratio, + + "defaultValueDateTime": { + name: "defaultValueDateTime", + dataType: r4:dateTime, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapDistance": { - name: "defaultValueStructureMapDistance", + + "defaultValueDistance": { + name: "defaultValueDistance", dataType: r4:Distance, min: 0, max: 1, @@ -1149,53 +1230,49 @@ public enum StructureMapGroupTypeMode { description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapTiming": { - name: "defaultValueStructureMapTiming", - dataType: r4:Timing, + + "defaultValueCodeableConcept": { + name: "defaultValueCodeableConcept", + dataType: r4:CodeableConcept, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "max": { - name: "max", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Specified maximum cardinality for the element - a number or a '*'. This is optional; if present, it acts an implicit check on the input content (* just serves as documentation; it's the default value).", - path: "StructureMap.group.rule.source.max" - }, - "defaultValueStructureMapContactPoint": { - name: "defaultValueStructureMapContactPoint", - dataType: r4:ContactPoint, + + "defaultValueDecimal": { + name: "defaultValueDecimal", + dataType: decimal, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapCanonical": { - name: "defaultValueStructureMapCanonical", - dataType: r4:canonical, + + "defaultValueUuid": { + name: "defaultValueUuid", + dataType: r4:uuid, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapCode": { - name: "defaultValueStructureMapCode", - dataType: r4:code, + + "defaultValueAnnotation": { + name: "defaultValueAnnotation", + dataType: r4:Annotation, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapCount": { - name: "defaultValueStructureMapCount", + + "defaultValueCount": { + name: "defaultValueCount", dataType: r4:Count, min: 0, max: 1, @@ -1203,95 +1280,105 @@ public enum StructureMapGroupTypeMode { description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapHumanName": { - name: "defaultValueStructureMapHumanName", - dataType: r4:HumanName, + + "defaultValueCanonical": { + name: "defaultValueCanonical", + dataType: r4:canonical, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapMeta": { - name: "defaultValueStructureMapMeta", - dataType: r4:Meta, + + "defaultValuePeriod": { + name: "defaultValuePeriod", + dataType: r4:Period, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapId": { - name: "defaultValueStructureMapId", - dataType: r4:id, + + "defaultValueContributor": { + name: "defaultValueContributor", + dataType: r4:Contributor, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapUri": { - name: "defaultValueStructureMapUri", - dataType: r4:uri, + + "max": { + name: "max", + dataType: string, min: 0, max: 1, isArray: false, - description: "A value to use if there is no existing value in the source object.", - path: "StructureMap.group.rule.source.defaultValue[x]" + description: "Specified maximum cardinality for the element - a number or a '*'. This is optional; if present, it acts an implicit check on the input content (* just serves as documentation; it's the default value).", + path: "StructureMap.group.rule.source.max" }, - "defaultValueStructureMapBase64Binary": { - name: "defaultValueStructureMapBase64Binary", - dataType: r4:base64Binary, + + "defaultValueTiming": { + name: "defaultValueTiming", + dataType: r4:Timing, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapUrl": { - name: "defaultValueStructureMapUrl", - dataType: r4:urlType, + + "defaultValuePositiveInt": { + name: "defaultValuePositiveInt", + dataType: r4:positiveInt, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "variable": { - name: "variable", - dataType: r4:id, + + "defaultValueOid": { + name: "defaultValueOid", + dataType: r4:oid, min: 0, max: 1, isArray: false, - description: "Named context for field, if a field is specified.", - path: "StructureMap.group.rule.source.variable" + description: "A value to use if there is no existing value in the source object.", + path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapMarkdown": { - name: "defaultValueStructureMapMarkdown", - dataType: r4:markdown, + + "defaultValueCoding": { + name: "defaultValueCoding", + dataType: r4:Coding, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapPositiveInt": { - name: "defaultValueStructureMapPositiveInt", - dataType: r4:positiveInt, + + "defaultValueCode": { + name: "defaultValueCode", + dataType: r4:code, min: 0, max: 1, isArray: false, description: "A value to use if there is no existing value in the source object.", path: "StructureMap.group.rule.source.defaultValue[x]" }, - "defaultValueStructureMapContributor": { - name: "defaultValueStructureMapContributor", - dataType: r4:Contributor, + + "variable": { + name: "variable", + dataType: r4:id, min: 0, max: 1, isArray: false, - description: "A value to use if there is no existing value in the source object.", - path: "StructureMap.group.rule.source.defaultValue[x]" + description: "Named context for field, if a field is specified.", + path: "StructureMap.group.rule.source.variable" } }, serializers: { @@ -1302,69 +1389,69 @@ public enum StructureMapGroupTypeMode { public type StructureMapGroupRuleSource record {| *r4:BackboneElement; - r4:Range defaultValueStructureMapRange?; - r4:Annotation defaultValueStructureMapAnnotation?; - r4:Age defaultValueStructureMapAge?; - r4:Quantity defaultValueStructureMapQuantity?; + r4:Dosage defaultValueDosage?; + string defaultValueString?; r4:Extension[] modifierExtension?; - r4:Signature defaultValueStructureMapSignature?; + r4:Signature defaultValueSignature?; string 'type?; - r4:time defaultValueStructureMapTime?; - r4:DataRequirement defaultValueStructureMapDataRequirement?; - r4:unsignedInt defaultValueStructureMapUnsignedInt?; + r4:instant defaultValueInstant?; + boolean defaultValueBoolean?; + r4:Quantity defaultValueQuantity?; + r4:urlType defaultValueUrl?; + r4:Ratio defaultValueRatio?; + r4:uri defaultValueUri?; r4:id context; - r4:TriggerDefinition defaultValueStructureMapTriggerDefinition?; + r4:Meta defaultValueMeta?; string id?; + r4:Money defaultValueMoney?; string element?; - r4:dateTime defaultValueStructureMapDateTime?; - boolean defaultValueStructureMapBoolean?; - r4:integer defaultValueStructureMapInteger?; - r4:uuid defaultValueStructureMapUuid?; - r4:Period defaultValueStructureMapPeriod?; - r4:CodeableConcept defaultValueStructureMapCodeableConcept?; + r4:base64Binary defaultValueBase64Binary?; + r4:Address defaultValueAddress?; + r4:Identifier defaultValueIdentifier?; + r4:markdown defaultValueMarkdown?; + r4:Age defaultValueAge?; + r4:Expression defaultValueExpression?; + r4:id defaultValueId?; string 'check?; - r4:date defaultValueStructureMapDate?; - r4:SampledData defaultValueStructureMapSampledData?; - r4:UsageContext defaultValueStructureMapUsageContext?; string condition?; - r4:instant defaultValueStructureMapInstant?; - r4:RelatedArtifact defaultValueStructureMapRelatedArtifact?; - r4:ParameterDefinition defaultValueStructureMapParameterDefinition?; - r4:Address defaultValueStructureMapAddress?; - r4:Reference defaultValueStructureMapReference?; - r4:Dosage defaultValueStructureMapDosage?; - decimal defaultValueStructureMapDecimal?; - r4:Money defaultValueStructureMapMoney?; + r4:UsageContext defaultValueUsageContext?; + r4:DataRequirement defaultValueDataRequirement?; + r4:date defaultValueDate?; + r4:ParameterDefinition defaultValueParameterDefinition?; + r4:Attachment defaultValueAttachment?; + r4:Reference defaultValueReference?; + r4:ContactDetail defaultValueContactDetail?; + r4:Duration defaultValueDuration?; r4:Extension[] extension?; - string defaultValueStructureMapString?; - r4:Identifier defaultValueStructureMapIdentifier?; + r4:Range defaultValueRange?; + r4:SampledData defaultValueSampledData?; string logMessage?; - r4:Expression defaultValueStructureMapExpression?; - r4:Attachment defaultValueStructureMapAttachment?; - r4:oid defaultValueStructureMapOid?; + r4:unsignedInt defaultValueUnsignedInt?; + r4:integer defaultValueInteger?; + r4:time defaultValueTime?; StructureMapGroupRuleSourceListMode listMode?; - r4:Duration defaultValueStructureMapDuration?; - r4:ContactDetail defaultValueStructureMapContactDetail?; + r4:RelatedArtifact defaultValueRelatedArtifact?; + r4:TriggerDefinition defaultValueTriggerDefinition?; + r4:ContactPoint defaultValueContactPoint?; r4:integer min?; - r4:Coding defaultValueStructureMapCoding?; - r4:Ratio defaultValueStructureMapRatio?; - r4:Distance defaultValueStructureMapDistance?; - r4:Timing defaultValueStructureMapTiming?; + r4:HumanName defaultValueHumanName?; + r4:dateTime defaultValueDateTime?; + r4:Distance defaultValueDistance?; + r4:CodeableConcept defaultValueCodeableConcept?; + decimal defaultValueDecimal?; + r4:uuid defaultValueUuid?; + r4:Annotation defaultValueAnnotation?; + r4:Count defaultValueCount?; + r4:canonical defaultValueCanonical?; + r4:Period defaultValuePeriod?; + r4:Contributor defaultValueContributor?; string max?; - r4:ContactPoint defaultValueStructureMapContactPoint?; - r4:canonical defaultValueStructureMapCanonical?; - r4:code defaultValueStructureMapCode?; - r4:Count defaultValueStructureMapCount?; - r4:HumanName defaultValueStructureMapHumanName?; - r4:Meta defaultValueStructureMapMeta?; - r4:id defaultValueStructureMapId?; - r4:uri defaultValueStructureMapUri?; - r4:base64Binary defaultValueStructureMapBase64Binary?; - r4:urlType defaultValueStructureMapUrl?; + r4:Timing defaultValueTiming?; + r4:positiveInt defaultValuePositiveInt?; + r4:oid defaultValueOid?; + r4:Coding defaultValueCoding?; + r4:code defaultValueCode?; r4:id variable?; - r4:markdown defaultValueStructureMapMarkdown?; - r4:positiveInt defaultValueStructureMapPositiveInt?; - r4:Contributor defaultValueStructureMapContributor?; |}; # StructureMapGroupRuleTargetListMode enum @@ -1475,6 +1562,7 @@ public type StructureMapStructure record {| # + documentation - Documentation for this instance of data. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + name - Name of the rule for internal references. +# + rule - Rules contained in this rule. # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + 'source - Source inputs to the mapping. # + dependent - Which other rules to apply in the context of this rule. @@ -1519,6 +1607,17 @@ public type StructureMapStructure record {| description: "Name of the rule for internal references.", path: "StructureMap.group.rule.name" }, + + "rule": { + name: "rule", + dataType: StructureMapGroupRule, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "Rules contained in this rule.", + path: "StructureMap.group.rule.rule" + }, + "id": { name: "id", dataType: string, @@ -1568,9 +1667,17 @@ public type StructureMapGroupRule record {| string documentation?; r4:Extension[] modifierExtension?; r4:id name; + StructureMapGroupRule[] rule?; string id?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.StructureMap.group.rule.source constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.StructureMap.group.rule.source constraint. This field must be an array containing at most one item." + } } StructureMapGroupRuleSource[] 'source; StructureMapGroupRuleDependent[] dependent?; diff --git a/international401/resource_subscription.bal b/international401/resource_subscription.bal index ff76040f..4ea87688 100644 --- a/international401/resource_subscription.bal +++ b/international401/resource_subscription.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_SUBSCRIPTION = "http://hl7.org/fhir/StructureDefinition/Subscription"; public const RESOURCE_NAME_SUBSCRIPTION = "Subscription"; +public type SubscriptionExtensions (r4:Extension|SubscriptionBestEffort); + # FHIR Subscription resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_substance.bal b/international401/resource_substance.bal index 0b609302..ec42610f 100644 --- a/international401/resource_substance.bal +++ b/international401/resource_substance.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_SUBSTANCE = "http://hl7.org/fhir/StructureDefinition/Substance"; public const RESOURCE_NAME_SUBSTANCE = "Substance"; +public type SubstanceExtensions (r4:Extension|MedicationManufacturingBatch); + # FHIR Substance resource record. # # + resourceType - The type of the resource describes @@ -275,10 +277,10 @@ public type SubstanceIngredient record {| r4:Extension[] extension?; r4:Ratio quantity?; - r4:CodeableConcept substanceCodeableConcept; + r4:CodeableConcept substanceCodeableConcept?; r4:Extension[] modifierExtension?; string id?; - r4:Reference substanceReference; + r4:Reference substanceReference?; |}; # FHIR SubstanceInstance datatype record. diff --git a/international401/resource_substance_specification.bal b/international401/resource_substance_specification.bal index 9decfd75..27d78398 100644 --- a/international401/resource_substance_specification.bal +++ b/international401/resource_substance_specification.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -41,6 +41,7 @@ public const RESOURCE_NAME_SUBSTANCESPECIFICATION = "SubstanceSpecification"; # + relationship - A link between this substance and another, with details of the relationship. # + identifier - Identifier by which this substance is known. # + referenceInformation - General information detailing this substance. +# + molecularWeight - The molecular weight or weight range (for proteins, polymers or nucleic acids). # + structure - Structural information. # + sourceMaterial - Material or taxonomic/anatomical source for the substance. # + contained - 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. @@ -185,6 +186,16 @@ public const RESOURCE_NAME_SUBSTANCESPECIFICATION = "SubstanceSpecification"; isArray: false, path: "SubstanceSpecification.referenceInformation" }, + + "molecularWeight": { + name: "molecularWeight", + dataType: SubstanceSpecificationStructureIsotopeMolecularWeight, + min: 0, + max: int:MAX_VALUE, + isArray: true, + path: "SubstanceSpecification.molecularWeight" + }, + "structure" : { name: "structure", dataType: SubstanceSpecificationStructure, @@ -292,6 +303,7 @@ public type SubstanceSpecification record {| SubstanceSpecificationRelationship[] relationship?; r4:Identifier identifier?; r4:Reference referenceInformation?; + SubstanceSpecificationStructureIsotopeMolecularWeight[] molecularWeight?; SubstanceSpecificationStructure structure?; r4:Reference sourceMaterial?; r4:Resource[] contained?; @@ -435,7 +447,7 @@ public type SubstanceSpecification record {| }, "relationship": { name: "relationship", - dataType: r4:CodeableConcept, + dataType: SubstanceSpecificationRelationshipRelationship, min: 0, max: 1, isArray: false, @@ -472,7 +484,7 @@ public type SubstanceSpecificationRelationship record {| string amountString?; r4:Range amountRange?; string id?; - r4:CodeableConcept relationship?; + SubstanceSpecificationRelationshipRelationship relationship?; r4:Reference substanceReference?; |}; @@ -589,6 +601,7 @@ public type SubstanceSpecificationCode record {| # + molecularFormula - Molecular formula. # + molecularFormulaByMoiety - Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot. # + stereochemistry - Stereochemistry type. +# + molecularWeight - The molecular weight or weight range (for proteins, polymers or nucleic acids). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + isotope - Applicable for single substances that contain a radionuclide or a non-natural isotopic ratio. # + 'source - Supporting literature. @@ -651,6 +664,17 @@ public type SubstanceSpecificationCode record {| description: "Stereochemistry type.", path: "SubstanceSpecification.structure.stereochemistry" }, + + "molecularWeight": { + name: "molecularWeight", + dataType: SubstanceSpecificationStructureIsotopeMolecularWeight, + min: 0, + max: 1, + isArray: false, + description: "The molecular weight or weight range (for proteins, polymers or nucleic acids).", + path: "SubstanceSpecification.structure.molecularWeight" + }, + "id": { name: "id", dataType: string, @@ -702,6 +726,7 @@ public type SubstanceSpecificationStructure record {| string molecularFormula?; string molecularFormulaByMoiety?; r4:CodeableConcept stereochemistry?; + SubstanceSpecificationStructureIsotopeMolecularWeight molecularWeight?; string id?; SubstanceSpecificationStructureIsotope[] isotope?; r4:Reference[] 'source?; @@ -816,15 +841,17 @@ public type SubstanceSpecificationStructureIsotope record {| # FHIR SubstanceSpecificationName datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. -# + domain - The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive. # + jurisdiction - The jurisdiction where this name applies. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). -# + name - The actual name. # + official - Details of the official nature of this name. # + language - Language of the name. -# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + 'source - Supporting literature. # + 'type - Name type. +# + synonym - A synonym of this name. +# + domain - The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive. +# + name - The actual name. +# + translation - A translation for this name. +# + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. # + preferred - If this is the preferred name for this substance. # + status - The status of the name. @r4:DataTypeDefinition { @@ -840,15 +867,7 @@ public type SubstanceSpecificationStructureIsotope record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "SubstanceSpecification.name.extension" }, - "domain": { - name: "domain", - dataType: r4:CodeableConcept, - min: 0, - max: int:MAX_VALUE, - isArray: true, - description: "The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive.", - path: "SubstanceSpecification.name.domain" - }, + "jurisdiction": { name: "jurisdiction", dataType: r4:CodeableConcept, @@ -867,15 +886,7 @@ public type SubstanceSpecificationStructureIsotope record {| description: "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", path: "SubstanceSpecification.name.modifierExtension" }, - "name": { - name: "name", - dataType: string, - min: 1, - max: 1, - isArray: false, - description: "The actual name.", - path: "SubstanceSpecification.name.name" - }, + "official": { name: "official", dataType: SubstanceSpecificationNameOfficial, @@ -894,15 +905,7 @@ public type SubstanceSpecificationStructureIsotope record {| description: "Language of the name.", path: "SubstanceSpecification.name.language" }, - "id": { - name: "id", - dataType: string, - min: 0, - max: 1, - isArray: false, - description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", - path: "SubstanceSpecification.name.id" - }, + "source": { name: "source", dataType: r4:Reference, @@ -921,6 +924,57 @@ public type SubstanceSpecificationStructureIsotope record {| description: "Name type.", path: "SubstanceSpecification.name.type" }, + + "synonym": { + name: "synonym", + dataType: SubstanceSpecificationName, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A synonym of this name.", + path: "SubstanceSpecification.name.synonym" + }, + + "domain": { + name: "domain", + dataType: r4:CodeableConcept, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive.", + path: "SubstanceSpecification.name.domain" + }, + + "name": { + name: "name", + dataType: string, + min: 1, + max: 1, + isArray: false, + description: "The actual name.", + path: "SubstanceSpecification.name.name" + }, + + "translation": { + name: "translation", + dataType: SubstanceSpecificationName, + min: 0, + max: int:MAX_VALUE, + isArray: true, + description: "A translation for this name.", + path: "SubstanceSpecification.name.translation" + }, + + "id": { + name: "id", + dataType: string, + min: 0, + max: 1, + isArray: false, + description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + path: "SubstanceSpecification.name.id" + }, + "preferred": { name: "preferred", dataType: boolean, @@ -949,15 +1003,17 @@ public type SubstanceSpecificationName record {| *r4:BackboneElement; r4:Extension[] extension?; - r4:CodeableConcept[] domain?; r4:CodeableConcept[] jurisdiction?; r4:Extension[] modifierExtension?; - string name; SubstanceSpecificationNameOfficial[] official?; r4:CodeableConcept[] language?; - string id?; r4:Reference[] 'source?; r4:CodeableConcept 'type?; + SubstanceSpecificationName[] synonym?; + r4:CodeableConcept[] domain?; + string name; + SubstanceSpecificationName[] translation?; + string id?; boolean preferred?; r4:CodeableConcept status?; |}; @@ -1089,6 +1145,49 @@ public type SubstanceSpecificationProperty record {| r4:CodeableConcept definingSubstanceCodeableConcept?; |}; +# FHIR SubstanceSpecificationRelationshipRelationship datatype record. +# +# + substanceCodeableConcept - A pointer to another substance, as a resource or just a representational code. +# + substanceReference - A pointer to another substance, as a resource or just a representational code. + +@r4:DataTypeDefinition { + name: "SubstanceSpecificationRelationshipRelationship", + baseType: (), + elements: { + "substanceCodeableConcept": { + name: "substanceCodeableConcept", + dataType: r4:CodeableConcept, + min: 0, + max: 1, + isArray: false, + description: "A pointer to another substance, as a resource or just a representational code.", + path: "SubstanceSpecification.relationship.substance[x]" + }, + + "substanceReference": { + name: "substanceReference", + dataType: r4:Reference, + min: 0, + max: 1, + isArray: false, + description: "A pointer to another substance, as a resource or just a representational code.", + path: "SubstanceSpecification.relationship.substance[x]" + } + }, + + serializers: { + 'xml: r4:complexDataTypeXMLSerializer, + 'json: r4:complexDataTypeJsonSerializer + } +} + +public type SubstanceSpecificationRelationshipRelationship record {| + *r4:CodeableConcept; + + r4:CodeableConcept substanceCodeableConcept?; + r4:Reference substanceReference?; +|}; + # FHIR SubstanceSpecificationStructureRepresentation datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. diff --git a/international401/resource_supply_delivery.bal b/international401/resource_supply_delivery.bal index ec8d6b70..8368fd9d 100644 --- a/international401/resource_supply_delivery.bal +++ b/international401/resource_supply_delivery.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_SUPPLYDELIVERY = "http://hl7.org/fhir/StructureDefinition/SupplyDelivery"; public const RESOURCE_NAME_SUPPLYDELIVERY = "SupplyDelivery"; +public type SupplyDeliveryExtensions (EventEventHistory|EventLocation|EventStatusReason|r4:Extension|WorkflowAdheresTo|WorkflowEpisodeOfCare|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowResearchStudy|WorkflowTriggeredBy); + # FHIR SupplyDelivery resource record. # # + resourceType - The type of the resource describes diff --git a/international401/resource_supply_request.bal b/international401/resource_supply_request.bal index f91f3b85..d59f58a7 100644 --- a/international401/resource_supply_request.bal +++ b/international401/resource_supply_request.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_SUPPLYREQUEST = "http://hl7.org/fhir/StructureDefinition/SupplyRequest"; public const RESOURCE_NAME_SUPPLYREQUEST = "SupplyRequest"; +public type SupplyRequestExtensions (r4:Extension|RequestReplaces|RequestStatusReason|WorkflowCompliesWith|WorkflowEpisodeOfCare|WorkflowGeneratedFrom|WorkflowInstantiatesCanonical|WorkflowInstantiatesUri|WorkflowReleaseDate|WorkflowShallComplyWith|WorkflowTriggeredBy); + # FHIR SupplyRequest resource record. # # + resourceType - The type of the resource describes @@ -288,7 +290,7 @@ public type SupplyRequest record {| r4:Reference[] reasonReference?; r4:code language?; r4:Reference deliverTo?; - r4:CodeableConcept itemCodeableConcept; + r4:CodeableConcept itemCodeableConcept?; SupplyRequestParameter[] 'parameter?; r4:Reference[] supplier?; string id?; @@ -300,7 +302,7 @@ public type SupplyRequest record {| r4:Quantity quantity; r4:Timing occurrenceTiming?; SupplyRequestPriority priority?; - r4:Reference itemReference; + r4:Reference itemReference?; r4:Resource[] contained?; r4:Period occurrencePeriod?; r4:Meta meta?; diff --git a/international401/resource_task.bal b/international401/resource_task.bal index 2028300c..260551b0 100644 --- a/international401/resource_task.bal +++ b/international401/resource_task.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -22,6 +22,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_TASK = "http://hl7.org/fhir/StructureDefinition/Task"; public const RESOURCE_NAME_TASK = "Task"; +public type TaskExtensions (EventEventHistory|r4:Extension|RequestDoNotPerform|RequestReplaces|TaskCandidateList|TaskReplaces|WorkflowCompliesWith|WorkflowFollowOnOf|WorkflowGeneratedFrom|WorkflowReleaseDate|WorkflowResearchStudy|WorkflowShallComplyWith|WorkflowTriggeredBy); + # FHIR Task resource record. # # + resourceType - The type of the resource describes @@ -1003,60 +1005,60 @@ public enum TaskPriority { public type TaskInput record {| *r4:BackboneElement; - r4:time valueTime; - r4:TriggerDefinition valueTriggerDefinition; - r4:Money valueMoney; - r4:Signature valueSignature; + r4:time valueTime?; + r4:TriggerDefinition valueTriggerDefinition?; + r4:Money valueMoney?; + r4:Signature valueSignature?; r4:Extension[] modifierExtension?; r4:CodeableConcept 'type; - r4:uuid valueUuid; - r4:Ratio valueRatio; - r4:ParameterDefinition valueParameterDefinition; + r4:uuid valueUuid?; + r4:Ratio valueRatio?; + r4:ParameterDefinition valueParameterDefinition?; string id?; - r4:integer valueInteger; - r4:unsignedInt valueUnsignedInt; - r4:Quantity valueQuantity; - r4:canonical valueCanonical; - r4:Count valueCount; - r4:id valueId; - r4:code valueCode; - r4:Address valueAddress; - r4:ContactPoint valueContactPoint; - r4:Period valuePeriod; - r4:SampledData valueSampledData; - r4:Timing valueTiming; - r4:instant valueInstant; - r4:Age valueAge; - r4:Dosage valueDosage; - r4:base64Binary valueBase64Binary; - boolean valueBoolean; - r4:Coding valueCoding; + r4:integer valueInteger?; + r4:unsignedInt valueUnsignedInt?; + r4:Quantity valueQuantity?; + r4:canonical valueCanonical?; + r4:Count valueCount?; + r4:id valueId?; + r4:code valueCode?; + r4:Address valueAddress?; + r4:ContactPoint valueContactPoint?; + r4:Period valuePeriod?; + r4:SampledData valueSampledData?; + r4:Timing valueTiming?; + r4:instant valueInstant?; + r4:Age valueAge?; + r4:Dosage valueDosage?; + r4:base64Binary valueBase64Binary?; + boolean valueBoolean?; + r4:Coding valueCoding?; r4:Extension[] extension?; - r4:Identifier valueIdentifier; - r4:Expression valueExpression; - r4:Reference valueReference; - r4:Range valueRange; - r4:uri valueUri; - r4:Distance valueDistance; - r4:urlType valueUrl; - r4:ContactDetail valueContactDetail; - r4:Meta valueMeta; - r4:CodeableConcept valueCodeableConcept; - r4:markdown valueMarkdown; - r4:Attachment valueAttachment; - r4:UsageContext valueUsageContext; - r4:dateTime valueDateTime; - r4:HumanName valueHumanName; - r4:RelatedArtifact valueRelatedArtifact; - decimal valueDecimal; - r4:date valueDate; - r4:oid valueOid; - r4:Contributor valueContributor; - string valueString; - r4:positiveInt valuePositiveInt; - r4:Duration valueDuration; - r4:DataRequirement valueDataRequirement; - r4:Annotation valueAnnotation; + r4:Identifier valueIdentifier?; + r4:Expression valueExpression?; + r4:Reference valueReference?; + r4:Range valueRange?; + r4:uri valueUri?; + r4:Distance valueDistance?; + r4:urlType valueUrl?; + r4:ContactDetail valueContactDetail?; + r4:Meta valueMeta?; + r4:CodeableConcept valueCodeableConcept?; + r4:markdown valueMarkdown?; + r4:Attachment valueAttachment?; + r4:UsageContext valueUsageContext?; + r4:dateTime valueDateTime?; + r4:HumanName valueHumanName?; + r4:RelatedArtifact valueRelatedArtifact?; + decimal valueDecimal?; + r4:date valueDate?; + r4:oid valueOid?; + r4:Contributor valueContributor?; + string valueString?; + r4:positiveInt valuePositiveInt?; + r4:Duration valueDuration?; + r4:DataRequirement valueDataRequirement?; + r4:Annotation valueAnnotation?; |}; # FHIR TaskRestriction datatype record. @@ -1697,60 +1699,60 @@ public type TaskRestriction record {| public type TaskOutput record {| *r4:BackboneElement; - r4:time valueTime; - r4:TriggerDefinition valueTriggerDefinition; - r4:Money valueMoney; - r4:Signature valueSignature; + r4:time valueTime?; + r4:TriggerDefinition valueTriggerDefinition?; + r4:Money valueMoney?; + r4:Signature valueSignature?; r4:Extension[] modifierExtension?; r4:CodeableConcept 'type; - r4:uuid valueUuid; - r4:Ratio valueRatio; - r4:ParameterDefinition valueParameterDefinition; + r4:uuid valueUuid?; + r4:Ratio valueRatio?; + r4:ParameterDefinition valueParameterDefinition?; string id?; - r4:integer valueInteger; - r4:unsignedInt valueUnsignedInt; - r4:Quantity valueQuantity; - r4:canonical valueCanonical; - r4:Count valueCount; - r4:id valueId; - r4:code valueCode; - r4:Address valueAddress; - r4:ContactPoint valueContactPoint; - r4:Period valuePeriod; - r4:SampledData valueSampledData; - r4:Timing valueTiming; - r4:instant valueInstant; - r4:Age valueAge; - r4:Dosage valueDosage; - r4:base64Binary valueBase64Binary; - boolean valueBoolean; - r4:Coding valueCoding; + r4:integer valueInteger?; + r4:unsignedInt valueUnsignedInt?; + r4:Quantity valueQuantity?; + r4:canonical valueCanonical?; + r4:Count valueCount?; + r4:id valueId?; + r4:code valueCode?; + r4:Address valueAddress?; + r4:ContactPoint valueContactPoint?; + r4:Period valuePeriod?; + r4:SampledData valueSampledData?; + r4:Timing valueTiming?; + r4:instant valueInstant?; + r4:Age valueAge?; + r4:Dosage valueDosage?; + r4:base64Binary valueBase64Binary?; + boolean valueBoolean?; + r4:Coding valueCoding?; r4:Extension[] extension?; - r4:Identifier valueIdentifier; - r4:Expression valueExpression; - r4:Reference valueReference; - r4:Range valueRange; - r4:uri valueUri; - r4:Distance valueDistance; - r4:urlType valueUrl; - r4:ContactDetail valueContactDetail; - r4:Meta valueMeta; - r4:CodeableConcept valueCodeableConcept; - r4:markdown valueMarkdown; - r4:Attachment valueAttachment; - r4:UsageContext valueUsageContext; - r4:dateTime valueDateTime; - r4:HumanName valueHumanName; - r4:RelatedArtifact valueRelatedArtifact; - decimal valueDecimal; - r4:date valueDate; - r4:oid valueOid; - r4:Contributor valueContributor; - string valueString; - r4:positiveInt valuePositiveInt; - r4:Duration valueDuration; - r4:DataRequirement valueDataRequirement; - r4:Annotation valueAnnotation; + r4:Identifier valueIdentifier?; + r4:Expression valueExpression?; + r4:Reference valueReference?; + r4:Range valueRange?; + r4:uri valueUri?; + r4:Distance valueDistance?; + r4:urlType valueUrl?; + r4:ContactDetail valueContactDetail?; + r4:Meta valueMeta?; + r4:CodeableConcept valueCodeableConcept?; + r4:markdown valueMarkdown?; + r4:Attachment valueAttachment?; + r4:UsageContext valueUsageContext?; + r4:dateTime valueDateTime?; + r4:HumanName valueHumanName?; + r4:RelatedArtifact valueRelatedArtifact?; + decimal valueDecimal?; + r4:date valueDate?; + r4:oid valueOid?; + r4:Contributor valueContributor?; + string valueString?; + r4:positiveInt valuePositiveInt?; + r4:Duration valueDuration?; + r4:DataRequirement valueDataRequirement?; + r4:Annotation valueAnnotation?; |}; # TaskStatus enum diff --git a/international401/resource_terminology_capabilities.bal b/international401/resource_terminology_capabilities.bal index 4c1aae4b..bba6b4f3 100644 --- a/international401/resource_terminology_capabilities.bal +++ b/international401/resource_terminology_capabilities.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_TERMINOLOGYCAPABILITIES = "http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities"; public const RESOURCE_NAME_TERMINOLOGYCAPABILITIES = "TerminologyCapabilities"; +public type TerminologyCapabilitiesExtensions (r4:Extension|Replaces); + # FHIR TerminologyCapabilities resource record. # # + resourceType - The type of the resource describes @@ -1080,7 +1082,14 @@ public type TerminologyCapabilitiesCodeSystemVersionFilter record {| *r4:BackboneElement; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.TerminologyCapabilities.codeSystem.version.filter.op constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.TerminologyCapabilities.codeSystem.version.filter.op constraint. This field must be an array containing at most one item." + } } r4:code[] op; r4:Extension[] extension?; diff --git a/international401/resource_test_report.bal b/international401/resource_test_report.bal index 8a2d935a..58054603 100644 --- a/international401/resource_test_report.bal +++ b/international401/resource_test_report.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -428,6 +428,8 @@ public type TestReportSetupActionAssert record {| # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + operation - An operation would involve a REST request to a server. + @r4:DataTypeDefinition { name: "TestReportTeardownAction", baseType: (), @@ -458,6 +460,16 @@ public type TestReportSetupActionAssert record {| isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "TestReport.teardown.action.id" + }, + + "operation": { + name: "operation", + dataType: TestReportSetupActionOperation, + min: 1, + max: 1, + isArray: false, + description: "An operation would involve a REST request to a server.", + path: "TestReport.teardown.action.operation" } }, serializers: { @@ -471,6 +483,7 @@ public type TestReportTeardownAction record {| r4:Extension[] extension?; r4:Extension[] modifierExtension?; string id?; + TestReportSetupActionOperation operation; |}; # TestReportResult enum @@ -559,7 +572,14 @@ public type TestReportTest record {| r4:Extension[] modifierExtension?; string name?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.TestReport.test.action constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.TestReport.test.action constraint. This field must be an array containing at most one item." + } } TestReportTestAction[] action; string description?; @@ -650,8 +670,11 @@ public type TestReportSetupAction record {| # FHIR TestReportTestAction datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + assert - The results of the assertion performed on the previous operations. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + operation - An operation would involve a REST request to a server. + @r4:DataTypeDefinition { name: "TestReportTestAction", baseType: (), @@ -665,6 +688,17 @@ public type TestReportSetupAction record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "TestReport.test.action.extension" }, + + "assert": { + name: "assert", + dataType: TestReportSetupActionAssert, + min: 0, + max: 1, + isArray: false, + description: "The results of the assertion performed on the previous operations.", + path: "TestReport.test.action.assert" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -682,6 +716,16 @@ public type TestReportSetupAction record {| isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "TestReport.test.action.id" + }, + + "operation": { + name: "operation", + dataType: TestReportSetupActionOperation, + min: 0, + max: 1, + isArray: false, + description: "An operation would involve a REST request to a server.", + path: "TestReport.test.action.operation" } }, serializers: { @@ -693,8 +737,10 @@ public type TestReportTestAction record {| *r4:BackboneElement; r4:Extension[] extension?; + TestReportSetupActionAssert assert?; r4:Extension[] modifierExtension?; string id?; + TestReportSetupActionOperation operation?; |}; # FHIR TestReportTeardown datatype record. @@ -755,7 +801,14 @@ public type TestReportTeardown record {| r4:Extension[] extension?; r4:Extension[] modifierExtension?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.TestReport.teardown.action constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.TestReport.teardown.action constraint. This field must be an array containing at most one item." + } } TestReportTeardownAction[] action; string id?; @@ -819,7 +872,14 @@ public type TestReportSetup record {| r4:Extension[] extension?; r4:Extension[] modifierExtension?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.TestReport.setup.action constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.TestReport.setup.action constraint. This field must be an array containing at most one item." + } } TestReportSetupAction[] action; string id?; diff --git a/international401/resource_test_script.bal b/international401/resource_test_script.bal index fb2ba3c4..4fd00a8b 100644 --- a/international401/resource_test_script.bal +++ b/international401/resource_test_script.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_TESTSCRIPT = "http://hl7.org/fhir/StructureDefinition/TestScript"; public const RESOURCE_NAME_TESTSCRIPT = "TestScript"; +public type TestScriptExtensions (r4:Extension|Replaces); + # FHIR TestScript resource record. # # + resourceType - The type of the resource describes @@ -519,7 +521,14 @@ public type TestScriptTest record {| r4:Extension[] modifierExtension?; string name?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.TestScript.test.action constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.TestScript.test.action constraint. This field must be an array containing at most one item." + } } TestScriptTestAction[] action; string description?; @@ -763,7 +772,14 @@ public type TestScriptSetup record {| r4:Extension[] extension?; r4:Extension[] modifierExtension?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.TestScript.setup.action constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.TestScript.setup.action constraint. This field must be an array containing at most one item." + } } TestScriptSetupAction[] action; string id?; @@ -838,7 +854,14 @@ public type TestScriptTeardown record {| r4:Extension[] extension?; r4:Extension[] modifierExtension?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.TestScript.teardown.action constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.TestScript.teardown.action constraint. This field must be an array containing at most one item." + } } TestScriptTeardownAction[] action; string id?; @@ -849,6 +872,8 @@ public type TestScriptTeardown record {| # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + operation - An operation would involve a REST request to a server. + @r4:DataTypeDefinition { name: "TestScriptTeardownAction", baseType: (), @@ -879,6 +904,16 @@ public type TestScriptTeardown record {| isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "TestScript.teardown.action.id" + }, + + "operation": { + name: "operation", + dataType: TestScriptSetupActionOperation, + min: 1, + max: 1, + isArray: false, + description: "An operation would involve a REST request to a server.", + path: "TestScript.teardown.action.operation" } }, serializers: { @@ -892,6 +927,7 @@ public type TestScriptTeardownAction record {| r4:Extension[] extension?; r4:Extension[] modifierExtension?; string id?; + TestScriptSetupActionOperation operation; |}; # FHIR TestScriptVariable datatype record. @@ -1477,7 +1513,14 @@ public type TestScriptMetadata record {| *r4:BackboneElement; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.TestScript.metadata.capability constraint. This field must be an array containing at least one item." + }, + maxLength: { + value: 1, + message: "Validation failed for $.TestScript.metadata.capability constraint. This field must be an array containing at most one item." + } } TestScriptMetadataCapability[] capability; r4:Extension[] extension?; @@ -2014,8 +2057,11 @@ public type TestScriptSetupActionOperation record {| # FHIR TestScriptTestAction datatype record. # # + extension - May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. +# + assert - Evaluates the results of previous operations to determine if the server under test behaves appropriately. # + modifierExtension - 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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). # + id - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces. +# + operation - An operation would involve a REST request to a server. + @r4:DataTypeDefinition { name: "TestScriptTestAction", baseType: (), @@ -2029,6 +2075,17 @@ public type TestScriptSetupActionOperation record {| description: "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", path: "TestScript.test.action.extension" }, + + "assert": { + name: "assert", + dataType: TestScriptSetupActionAssert, + min: 0, + max: 1, + isArray: false, + description: "Evaluates the results of previous operations to determine if the server under test behaves appropriately.", + path: "TestScript.test.action.assert" + }, + "modifierExtension": { name: "modifierExtension", dataType: r4:Extension, @@ -2046,6 +2103,16 @@ public type TestScriptSetupActionOperation record {| isArray: false, description: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", path: "TestScript.test.action.id" + }, + + "operation": { + name: "operation", + dataType: TestScriptSetupActionOperation, + min: 0, + max: 1, + isArray: false, + description: "An operation would involve a REST request to a server.", + path: "TestScript.test.action.operation" } }, serializers: { @@ -2057,7 +2124,9 @@ public type TestScriptTestAction record {| *r4:BackboneElement; r4:Extension[] extension?; + TestScriptSetupActionAssert assert?; r4:Extension[] modifierExtension?; string id?; + TestScriptSetupActionOperation operation?; |}; diff --git a/international401/resource_vision_prescription.bal b/international401/resource_vision_prescription.bal index ad9a71c8..4cbb3e39 100644 --- a/international401/resource_vision_prescription.bal +++ b/international401/resource_vision_prescription.bal @@ -1,4 +1,4 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4; public const string PROFILE_BASE_VISIONPRESCRIPTION = "http://hl7.org/fhir/StructureDefinition/VisionPrescription"; public const RESOURCE_NAME_VISIONPRESCRIPTION = "VisionPrescription"; +public type VisionPrescriptionExtensions (r4:Extension|WorkflowEpisodeOfCare|WorkflowShallComplyWith); + # FHIR VisionPrescription resource record. # # + resourceType - The type of the resource describes @@ -196,7 +198,10 @@ public type VisionPrescription record {| r4:code language?; r4:Reference encounter?; @constraint:Array { - minLength: 1 + minLength: { + value: 1, + message: "Validation failed for $.VisionPrescription.lensSpecification constraint. This field must be an array containing at least one item." + } } VisionPrescriptionLensSpecification[] lensSpecification; r4:dateTime dateWritten; diff --git a/international401/variables.bal b/international401/variables.bal index e0683e05..07a36528 100644 --- a/international401/variables.bal +++ b/international401/variables.bal @@ -1,17 +1,22 @@ -// Copyright (c) 2023, WSO2 LLC. (http://www.wso2.com). +// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com). + // WSO2 LLC. licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not use this file except // in compliance with the License. // You may obtain a copy of the License at + // http://www.apache.org/licenses/LICENSE-2.0 + // Unless required by applicable law or agreed to in writing, // software distributed under the License is distributed on an // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. + // AUTO-GENERATED FILE. // This file is auto-generated by WSO2 Healthcare. + import ballerinax/health.fhir.r4; # Terminology processor instance @@ -29,7 +34,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Specimen", "DeviceMetric", "DeviceDefinition", "MessageDefinition"], expression: "MessageDefinition.parent | DeviceDefinition.parentDevice | DeviceMetric.parent | Specimen.parent" } + ], + "modality": [ { name: "modality", @@ -37,7 +44,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImagingStudy", "Media"], expression: "Media.modality | ImagingStudy.series.modality" } + ], + "setting": [ { name: "setting", @@ -45,7 +54,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DocumentReference"], expression: "DocumentReference.context.practiceSetting" } + ], + "path": [ { name: "path", @@ -53,7 +64,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["StructureDefinition"], expression: "StructureDefinition.snapshot.element.path | StructureDefinition.differential.element.path" } + ], + "code-value-date": [ { name: "code-value-date", @@ -61,7 +74,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation" } + ], + "connection-type": [ { name: "connection-type", @@ -69,7 +84,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Endpoint"], expression: "Endpoint.connectionType" } + ], + "instantiates-uri": [ { name: "instantiates-uri", @@ -77,7 +94,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CarePlan", "Communication", "Procedure", "NutritionOrder", "DeviceRequest", "RequestGroup", "ServiceRequest", "FamilyMemberHistory"], expression: "FamilyMemberHistory.instantiatesUri | ServiceRequest.instantiatesUri | RequestGroup.instantiatesUri | DeviceRequest.instantiatesUri | NutritionOrder.instantiatesUri | Procedure.instantiatesUri | Communication.instantiatesUri | CarePlan.instantiatesUri" } + ], + "near": [ { name: "near", @@ -85,7 +104,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Location"], expression: "Location.position" } + ], + "item-udi": [ { name: "item-udi", @@ -93,7 +114,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ExplanationOfBenefit", "Claim"], expression: "Claim.item.udi | ExplanationOfBenefit.item.udi" } + ], + "value-string": [ { name: "value-string", @@ -101,7 +124,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "(Observation.value as string) | (Observation.value as CodeableConcept).text" } + ], + "finding-code": [ { name: "finding-code", @@ -109,7 +134,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ClinicalImpression"], expression: "ClinicalImpression.finding.itemCodeableConcept" } + ], + "general-practitioner": [ { name: "general-practitioner", @@ -117,7 +144,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Patient"], expression: "Patient.generalPractitioner" } + ], + "active": [ { name: "active", @@ -125,7 +154,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["HealthcareService", "RelatedPerson", "Schedule", "Patient", "OrganizationAffiliation", "Organization", "PractitionerRole", "Practitioner"], expression: "Practitioner.active | PractitionerRole.active | Organization.active | OrganizationAffiliation.active | Patient.active | Schedule.active | RelatedPerson.active | HealthcareService.active" } + ], + "version": [ { name: "version", @@ -133,7 +164,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ResearchDefinition", "PlanDefinition", "CapabilityStatement", "CompartmentDefinition", "ConceptMap", "GraphDefinition", "ImplementationGuide", "MessageDefinition", "OperationDefinition", "SearchParameter", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "Evidence", "Library", "ChargeItemDefinition", "Questionnaire", "EffectEvidenceSynthesis", "Measure", "ExampleScenario", "ActivityDefinition", "TestScript", "ResearchElementDefinition", "RiskEvidenceSynthesis", "EventDefinition", "EvidenceVariable"], expression: "EvidenceVariable.version | EventDefinition.version | RiskEvidenceSynthesis.version | ResearchElementDefinition.version | TestScript.version | ActivityDefinition.version | ExampleScenario.version | Measure.version | EffectEvidenceSynthesis.version | Questionnaire.version | ChargeItemDefinition.version | Library.version | Evidence.version | CapabilityStatement.version | CodeSystem.version | CompartmentDefinition.version | ConceptMap.version | GraphDefinition.version | ImplementationGuide.version | MessageDefinition.version | OperationDefinition.version | SearchParameter.version | StructureDefinition.version | StructureMap.version | TerminologyCapabilities.version | ValueSet.version | PlanDefinition.version | ResearchDefinition.version" } + ], + "address-postalcode": [ { name: "address-postalcode", @@ -141,7 +174,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Patient", "Person", "Practitioner", "RelatedPerson", "Organization", "Location", "InsurancePlan"], expression: "InsurancePlan.contact.address.postalCode | Location.address.postalCode | Organization.address.postalCode | Patient.address.postalCode | Person.address.postalCode | Practitioner.address.postalCode | RelatedPerson.address.postalCode" } + ], + "route": [ { name: "route", @@ -149,7 +184,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicinalProductPharmaceutical", "AllergyIntolerance"], expression: "AllergyIntolerance.reaction.exposureRoute | MedicinalProductPharmaceutical.routeOfAdministration.code" } + ], + "chromosome-variant-coordinate": [ { name: "chromosome-variant-coordinate", @@ -157,7 +194,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MolecularSequence"], expression: "MolecularSequence.variant" } + ], + "sender": [ { name: "sender", @@ -165,7 +204,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CommunicationRequest", "MessageHeader", "Communication"], expression: "Communication.sender | MessageHeader.sender | CommunicationRequest.sender" } + ], + "domain": [ { name: "domain", @@ -173,7 +214,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Contract"], expression: "Contract.domain" } + ], + "response-id": [ { name: "response-id", @@ -181,7 +224,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MessageHeader"], expression: "MessageHeader.response.identifier" } + ], + "signature-type": [ { name: "signature-type", @@ -189,7 +234,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Provenance"], expression: "Provenance.signature.type" } + ], + "role": [ { name: "role", @@ -197,7 +244,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["PractitionerRole", "OrganizationAffiliation"], expression: "OrganizationAffiliation.code | PractitionerRole.code" } + ], + "authoredon": [ { name: "authoredon", @@ -205,7 +254,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationRequest"], expression: "MedicationRequest.authoredOn" } + ], + "target-system": [ { name: "target-system", @@ -213,7 +264,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ConceptMap"], expression: "ConceptMap.group.target" } + ], + "characteristic": [ { name: "characteristic", @@ -221,7 +274,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["HealthcareService", "Group"], expression: "Group.characteristic.code | HealthcareService.characteristic" } + ], + "entered-date": [ { name: "entered-date", @@ -229,7 +284,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ChargeItem"], expression: "ChargeItem.enteredDate" } + ], + "result": [ { name: "result", @@ -237,13 +294,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DiagnosticReport"], expression: "DiagnosticReport.result" }, + { name: "result", 'type: r4:TOKEN, base: ["TestReport"], expression: "TestReport.result" } + ], + "insurer": [ { name: "insurer", @@ -251,7 +311,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Claim", "ClaimResponse", "CoverageEligibilityResponse"], expression: "CoverageEligibilityResponse.insurer | ClaimResponse.insurer | Claim.insurer" } + ], + "monitoring-program-name": [ { name: "monitoring-program-name", @@ -259,7 +321,19 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationKnowledge"], expression: "MedicationKnowledge.monitoringProgram.name" } + + ], + + "BarrierRefSearchParameter": [ + { + name: "BarrierRefSearchParameter", + 'type: r4:REFERENCE, + base: ["CarePlan", "CommunicationRequest", "Goal"], + expression: "CarePlan.activity.extension('http://hl7.org/fhir/StructureDefinition/workflow-barrier').value.reference | CommunicationRequest.extension('http://hl7.org/fhir/StructureDefinition/workflow-barrier').value.reference | Goal.extension('http://hl7.org/fhir/StructureDefinition/workflow-barrier').value.reference" + } + ], + "target-code": [ { name: "target-code", @@ -267,7 +341,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ConceptMap"], expression: "ConceptMap.group.element.target.code" } + ], + "policy": [ { name: "policy", @@ -275,7 +351,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AuditEvent"], expression: "AuditEvent.agent.policy" } + ], + "related-id": [ { name: "related-id", @@ -283,7 +361,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DocumentManifest", "Composition"], expression: "(Composition.relatesTo.target as Identifier) | DocumentManifest.related.identifier" } + ], + "address": [ { name: "address", @@ -291,7 +371,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["InsurancePlan", "Organization", "Location", "Patient", "Person", "Practitioner", "RelatedPerson", "AuditEvent"], expression: "AuditEvent.agent.network.address | Patient.address | Person.address | Practitioner.address | RelatedPerson.address | Location.address | Organization.address | InsurancePlan.contact.address" } + ], + "referenceseqid-variant-coordinate": [ { name: "referenceseqid-variant-coordinate", @@ -299,7 +381,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MolecularSequence"], expression: "MolecularSequence.variant" } + ], + "sex": [ { name: "sex", @@ -307,7 +391,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["FamilyMemberHistory"], expression: "FamilyMemberHistory.sex" } + ], + "component-value-quantity": [ { name: "component-value-quantity", @@ -315,7 +401,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "(Observation.component.value as Quantity) | (Observation.component.value as SampledData)" } + ], + "episode-of-care": [ { name: "episode-of-care", @@ -323,7 +411,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Encounter"], expression: "Encounter.episodeOfCare" } + ], + "onset": [ { name: "onset", @@ -331,7 +421,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AllergyIntolerance"], expression: "AllergyIntolerance.reaction.onset" } + ], + "actor": [ { name: "actor", @@ -339,7 +431,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Consent", "AppointmentResponse", "Appointment", "Schedule"], expression: "Schedule.actor | Appointment.participant.actor | AppointmentResponse.actor | Consent.provision.actor.reference" } + ], + "input-profile": [ { name: "input-profile", @@ -347,7 +441,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["OperationDefinition"], expression: "OperationDefinition.inputProfile" } + ], + "component": [ { name: "component", @@ -355,7 +451,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["SearchParameter"], expression: "SearchParameter.component.definition" } + ], + "source-code": [ { name: "source-code", @@ -363,7 +461,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ConceptMap"], expression: "ConceptMap.group.element.code" } + ], + "subject-type": [ { name: "subject-type", @@ -371,7 +471,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Questionnaire"], expression: "Questionnaire.subjectType" } + ], + "stage": [ { name: "stage", @@ -379,7 +481,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Condition"], expression: "Condition.stage.summary" } + ], + "series": [ { name: "series", @@ -387,13 +491,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImagingStudy"], expression: "ImagingStudy.series.uid" }, + { name: "series", 'type: r4:STRING, base: ["Immunization"], expression: "Immunization.protocolApplied.series" } + ], + "information": [ { name: "information", @@ -401,7 +508,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImmunizationRecommendation"], expression: "ImmunizationRecommendation.recommendation.supportingPatientInformation" } + ], + "notes": [ { name: "notes", @@ -409,7 +518,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["List"], expression: "List.note.text" } + ], + "amino-acid-change": [ { name: "amino-acid-change", @@ -417,7 +528,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation.extension('http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChangeName')" } + ], + "service-category": [ { name: "service-category", @@ -425,7 +538,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Appointment", "Schedule", "Slot", "HealthcareService"], expression: "HealthcareService.category | Slot.serviceCategory | Schedule.serviceCategory | Appointment.serviceCategory" } + ], + "evidence": [ { name: "evidence", @@ -433,7 +548,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Condition"], expression: "Condition.evidence.code" } + ], + "din": [ { name: "din", @@ -441,7 +558,19 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Device"], expression: "Device.extension('http://hl7.org/fhir/SearchParameter/device-extensions-Device-din')" } + + ], + + "IndividualGenderIdentitySearchParameter": [ + { + name: "IndividualGenderIdentitySearchParameter", + 'type: r4:TOKEN, + base: ["Patient", "RelatedPerson", "Person", "Practitioner", "PractitionerRole"], + expression: "extension('http://hl7.org/fhir/StructureDefinition/individual-genderIdentity').extension('value').value" + } + ], + "criticality": [ { name: "criticality", @@ -449,7 +578,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AllergyIntolerance"], expression: "AllergyIntolerance.criticality" } + ], + "language": [ { name: "language", @@ -457,7 +588,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DocumentReference", "Patient"], expression: "Patient.communication.language | DocumentReference.content.attachment.language" } + ], + "name-language": [ { name: "name-language", @@ -465,7 +598,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicinalProduct"], expression: "MedicinalProduct.name.countryLanguage.language" } + ], + "payment-date": [ { name: "payment-date", @@ -473,7 +608,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ClaimResponse"], expression: "ClaimResponse.payment.date" } + ], + "component-code-value-quantity": [ { name: "component-code-value-quantity", @@ -481,7 +618,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation.component" } + ], + "payload": [ { name: "payload", @@ -489,7 +628,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Subscription"], expression: "Subscription.channel.payload" } + ], + "effective-time": [ { name: "effective-time", @@ -497,7 +638,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationAdministration"], expression: "MedicationAdministration.effective" } + ], + "contact": [ { name: "contact", @@ -505,13 +648,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Subscription"], expression: "Subscription.contact" }, + { name: "contact", 'type: r4:STRING, base: ["NamingSystem"], expression: "NamingSystem.contact.name" } + ], + "enterer": [ { name: "enterer", @@ -519,7 +665,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Claim", "ExplanationOfBenefit", "ChargeItem", "CoverageEligibilityRequest", "MessageHeader"], expression: "MessageHeader.enterer | CoverageEligibilityRequest.enterer | ChargeItem.enterer | ExplanationOfBenefit.enterer | Claim.enterer" } + ], + "location-period": [ { name: "location-period", @@ -527,7 +675,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Encounter"], expression: "Encounter.location.period" } + ], + "exclude": [ { name: "exclude", @@ -535,7 +685,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Group"], expression: "Group.characteristic.exclude" } + ], + "care-manager": [ { name: "care-manager", @@ -543,7 +695,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["EpisodeOfCare"], expression: "EpisodeOfCare.careManager.where(resolve() is Practitioner)" } + ], + "manifestation": [ { name: "manifestation", @@ -551,7 +705,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AllergyIntolerance"], expression: "AllergyIntolerance.reaction.manifestation" } + ], + "gene-dnavariant": [ { name: "gene-dnavariant", @@ -559,7 +715,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation.extension('http://hl7.org/fhir/StructureDefinition/observation-geneticsDnaVariant')" } + ], + "part-status": [ { name: "part-status", @@ -567,7 +725,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Appointment", "AppointmentResponse"], expression: "AppointmentResponse.participantStatus | Appointment.participant.status" } + ], + "appointment-type": [ { name: "appointment-type", @@ -575,7 +735,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Slot", "Appointment"], expression: "Appointment.appointmentType | Slot.appointmentType" } + ], + "reason-given": [ { name: "reason-given", @@ -583,7 +745,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationAdministration"], expression: "MedicationAdministration.reasonCode" } + ], + "dose-status": [ { name: "dose-status", @@ -591,7 +755,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImmunizationEvaluation"], expression: "ImmunizationEvaluation.doseStatus" } + ], + "item-subject": [ { name: "item-subject", @@ -599,7 +765,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["QuestionnaireResponse"], expression: "QuestionnaireResponse.item.where(hasExtension('http://hl7.org/fhir/StructureDefinition/questionnaireresponse-isSubject')).answer.value.ofType(Reference)" } + ], + "Example Search Parameter": [ { name: "Example Search Parameter", @@ -607,7 +775,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Condition"], expression: "Condition.subject" } + ], + "beneficiary": [ { name: "beneficiary", @@ -615,7 +785,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Coverage"], expression: "Coverage.beneficiary" } + ], + "authority": [ { name: "authority", @@ -623,7 +795,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Contract"], expression: "Contract.authority" } + ], + "subdetail-udi": [ { name: "subdetail-udi", @@ -631,7 +805,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ExplanationOfBenefit", "Claim"], expression: "Claim.item.detail.subDetail.udi | ExplanationOfBenefit.item.detail.subDetail.udi" } + ], + "Example Search Parameter on an extension": [ { name: "Example Search Parameter on an extension", @@ -639,7 +815,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Patient"], expression: "DocumentReference.extension('http://example.org/fhir/StructureDefinition/participation-agreement')" } + ], + "policy-holder": [ { name: "policy-holder", @@ -647,7 +825,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Coverage"], expression: "Coverage.policyHolder" } + ], + "onset-info": [ { name: "onset-info", @@ -655,7 +835,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Condition"], expression: "Condition.onset.as(string)" } + ], + "lot-number": [ { name: "lot-number", @@ -663,13 +845,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Medication"], expression: "Medication.batch.lotNumber" }, + { name: "lot-number", 'type: r4:STRING, base: ["Immunization"], expression: "Immunization.lotNumber" } + ], + "context-type-value": [ { name: "context-type-value", @@ -677,7 +862,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["EvidenceVariable", "Measure", "TestScript", "ExampleScenario", "EventDefinition", "Library", "ActivityDefinition", "ResearchDefinition", "RiskEvidenceSynthesis", "ResearchElementDefinition", "ChargeItemDefinition", "Questionnaire", "EffectEvidenceSynthesis", "CapabilityStatement", "CompartmentDefinition", "ConceptMap", "GraphDefinition", "ImplementationGuide", "MessageDefinition", "NamingSystem", "OperationDefinition", "SearchParameter", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "PlanDefinition", "Evidence"], expression: "Evidence.useContext | PlanDefinition.useContext | CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext | EffectEvidenceSynthesis.useContext | Questionnaire.useContext | ChargeItemDefinition.useContext | ResearchElementDefinition.useContext | RiskEvidenceSynthesis.useContext | ResearchDefinition.useContext | ActivityDefinition.useContext | Library.useContext | EventDefinition.useContext | ExampleScenario.useContext | TestScript.useContext | Measure.useContext | EvidenceVariable.useContext" } + ], + "component-data-absent-reason": [ { name: "component-data-absent-reason", @@ -685,7 +872,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation.component.dataAbsentReason" } + ], + "medium": [ { name: "medium", @@ -693,7 +882,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CommunicationRequest", "Communication"], expression: "Communication.medium | CommunicationRequest.medium" } + ], + "title": [ { name: "title", @@ -701,7 +892,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Questionnaire", "ActivityDefinition", "List", "TestScript", "RiskEvidenceSynthesis", "PlanDefinition", "CapabilityStatement", "ConceptMap", "ImplementationGuide", "MessageDefinition", "OperationDefinition", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "EvidenceVariable", "Library", "ResearchDefinition", "Evidence", "EffectEvidenceSynthesis", "Measure", "ChargeItemDefinition", "ResearchElementDefinition", "Composition", "EventDefinition", "ResearchStudy"], expression: "ResearchStudy.title | EventDefinition.title | Composition.title | ResearchElementDefinition.title | ChargeItemDefinition.title | Measure.title | EffectEvidenceSynthesis.title | Evidence.title | ResearchDefinition.title | Library.title | EvidenceVariable.title | CapabilityStatement.title | CodeSystem.title | ConceptMap.title | ImplementationGuide.title | MessageDefinition.title | OperationDefinition.title | StructureDefinition.title | StructureMap.title | TerminologyCapabilities.title | ValueSet.title | PlanDefinition.title | RiskEvidenceSynthesis.title | TestScript.title | List.title | ActivityDefinition.title | Questionnaire.title" } + ], + "collector": [ { name: "collector", @@ -709,7 +902,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Specimen"], expression: "Specimen.collection.collector" } + ], + "administered-by": [ { name: "administered-by", @@ -717,7 +912,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["InsurancePlan"], expression: "InsurancePlan.administeredBy" } + ], + "code-value-string": [ { name: "code-value-string", @@ -725,7 +922,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation" } + ], + "related": [ { name: "related", @@ -733,7 +932,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DocumentReference"], expression: "DocumentReference.context.related" } + ], + "provider": [ { name: "provider", @@ -741,7 +942,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ExplanationOfBenefit", "CoverageEligibilityRequest", "NutritionOrder", "Claim", "PaymentNotice"], expression: "PaymentNotice.provider | Claim.provider | NutritionOrder.orderer | CoverageEligibilityRequest.provider | ExplanationOfBenefit.provider" } + ], + "responsible": [ { name: "responsible", @@ -749,13 +952,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MessageHeader"], expression: "MessageHeader.responsible" }, + { name: "responsible", 'type: r4:STRING, base: ["NamingSystem"], expression: "NamingSystem.responsible" } + ], + "scope": [ { name: "scope", @@ -763,7 +969,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Consent"], expression: "Consent.scope" } + ], + "activity-date": [ { name: "activity-date", @@ -771,7 +979,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CarePlan"], expression: "CarePlan.activity.detail.scheduled" } + ], + "class": [ { name: "class", @@ -779,7 +989,19 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Encounter"], expression: "Encounter.class" } + + ], + + "Age": [ + { + name: "Age", + 'type: r4:NUMBER, + base: ["Patient"], + expression: "Patient.birthDate" + } + ], + "owner": [ { name: "owner", @@ -787,7 +1009,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Task", "Account"], expression: "Account.owner | Task.owner" } + ], + "recorded-date": [ { name: "recorded-date", @@ -795,7 +1019,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Condition"], expression: "Condition.recordedDate" } + ], + "recorder": [ { name: "recorder", @@ -803,7 +1029,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AdverseEvent", "AllergyIntolerance"], expression: "AllergyIntolerance.recorder | AdverseEvent.recorder" } + ], + "event-date": [ { name: "event-date", @@ -811,7 +1039,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DeviceRequest"], expression: "(DeviceRequest.occurrence as dateTime) | (DeviceRequest.occurrence as Period)" } + ], + "length": [ { name: "length", @@ -819,7 +1049,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Encounter"], expression: "Encounter.length" } + ], + "vaccine-type": [ { name: "vaccine-type", @@ -827,7 +1059,13 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImmunizationRecommendation"], expression: "ImmunizationRecommendation.recommendation.vaccineCode" } - ], + + ] + +}; + +//Number of search params in INTERNATIONAL_IG_SEARCH_PARAMS_2 = 100 +final readonly & map INTERNATIONAL_IG_SEARCH_PARAMS_2 = { "recorded": [ { name: "recorded", @@ -835,7 +1073,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Provenance"], expression: "Provenance.recorded" } + ], + "window-start": [ { name: "window-start", @@ -843,7 +1083,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MolecularSequence"], expression: "MolecularSequence.referenceSeq.windowStart" } + ], + "whenhandedover": [ { name: "whenhandedover", @@ -851,10 +1093,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationDispense"], expression: "MedicationDispense.whenHandedOver" } - ] -}; -//Number of search params in INTERNATIONAL_IG_SEARCH_PARAMS_2 = 100 -final readonly & map INTERNATIONAL_IG_SEARCH_PARAMS_2 = { + + ], + "FilterSearchParameter": [ { name: "FilterSearchParameter", @@ -862,7 +1103,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Resource"], expression: "$searchParam.getExpression()" } + ], + "schedule": [ { name: "schedule", @@ -870,7 +1113,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Slot"], expression: "Slot.schedule" } + ], + "referrer": [ { name: "referrer", @@ -878,7 +1123,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImagingStudy"], expression: "ImagingStudy.referrer" } + ], + "form": [ { name: "form", @@ -886,7 +1133,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Medication"], expression: "Medication.form" } + ], + "service": [ { name: "service", @@ -894,7 +1143,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["OrganizationAffiliation", "PractitionerRole", "ChargeItem"], expression: "ChargeItem.service | PractitionerRole.healthcareService | OrganizationAffiliation.healthcareService" } + ], + "ext-context": [ { name: "ext-context", @@ -902,7 +1153,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["StructureDefinition"], expression: "StructureDefinition.context.type" } + ], + "onset-age": [ { name: "onset-age", @@ -910,7 +1163,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Condition"], expression: "Condition.onset.as(Age) | Condition.onset.as(Range)" } + ], + "agent-role": [ { name: "agent-role", @@ -918,7 +1173,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AuditEvent", "Provenance"], expression: "Provenance.agent.role | AuditEvent.agent.role" } + ], + "family": [ { name: "family", @@ -926,7 +1183,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Patient", "Practitioner"], expression: "Patient.name.family | Practitioner.name.family" } + ], + "prior-request": [ { name: "prior-request", @@ -934,15 +1193,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DeviceRequest"], expression: "DeviceRequest.priorRequest" } + ], - "age": [ - { - name: "age", - 'type: r4:NUMBER, - base: ["Patient"], - expression: "$searchParam.getExpression()" - } - ], + "results-interpreter": [ { name: "results-interpreter", @@ -950,7 +1203,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DiagnosticReport"], expression: "DiagnosticReport.resultsInterpreter" } + ], + "basedon": [ { name: "basedon", @@ -958,7 +1213,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImagingStudy"], expression: "ImagingStudy.basedOn" } + ], + "empty-reason": [ { name: "empty-reason", @@ -966,7 +1223,19 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["List"], expression: "List.emptyReason" } + ], + + "ProtectiveFactorRefSearchParameter": [ + { + name: "ProtectiveFactorRefSearchParameter", + 'type: r4:REFERENCE, + base: ["CarePlan", "CommunicationRequest", "Goal"], + expression: "CarePlan.activity.extension('http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor').value.reference | CommunicationRequest.extension('http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor').value.reference | Goal.extension('http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor').value.reference" + } + + ], + "source-reference": [ { name: "source-reference", @@ -974,7 +1243,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Consent"], expression: "Consent.source" } + ], + "value-concept": [ { name: "value-concept", @@ -982,7 +1253,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "(Observation.value as CodeableConcept)" } + ], + "focus": [ { name: "focus", @@ -990,13 +1263,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation", "MessageHeader", "Task"], expression: "Task.focus | MessageHeader.focus | Observation.focus" }, + { name: "focus", 'type: r4:TOKEN, base: ["ResearchStudy", "MessageDefinition"], expression: "MessageDefinition.focus.code | ResearchStudy.focus" } + ], + "classification-type": [ { name: "classification-type", @@ -1004,7 +1280,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationKnowledge"], expression: "MedicationKnowledge.medicineClassification.type" } + ], + "principalinvestigator": [ { name: "principalinvestigator", @@ -1012,7 +1290,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ResearchStudy"], expression: "ResearchStudy.principalInvestigator" } + ], + "altid": [ { name: "altid", @@ -1020,7 +1300,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AuditEvent"], expression: "AuditEvent.agent.altId" } + ], + "payee": [ { name: "payee", @@ -1028,7 +1310,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Claim", "ExplanationOfBenefit"], expression: "ExplanationOfBenefit.payee.party | Claim.payee.party" } + ], + "source-uri": [ { name: "source-uri", @@ -1036,13 +1320,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MessageHeader"], expression: "MessageHeader.source.endpoint" }, + { name: "source-uri", 'type: r4:REFERENCE, base: ["ConceptMap"], expression: "(ConceptMap.source as uri)" } + ], + "supplier": [ { name: "supplier", @@ -1050,7 +1337,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["SupplyDelivery", "SupplyRequest"], expression: "SupplyRequest.supplier | SupplyDelivery.supplier" } + ], + "context": [ { name: "context", @@ -1058,13 +1347,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationDispense", "MedicationStatement", "ChargeItem", "MedicationAdministration"], expression: "MedicationAdministration.context | ChargeItem.context | MedicationStatement.context | MedicationDispense.context" }, + { name: "context", 'type: r4:TOKEN, base: ["Measure", "ExampleScenario", "RiskEvidenceSynthesis", "PlanDefinition", "EvidenceVariable", "ResearchElementDefinition", "ActivityDefinition", "CapabilityStatement", "CompartmentDefinition", "ConceptMap", "GraphDefinition", "ImplementationGuide", "MessageDefinition", "NamingSystem", "OperationDefinition", "SearchParameter", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "Questionnaire", "ResearchDefinition", "EventDefinition", "ChargeItemDefinition", "Composition", "Library", "TestScript", "EffectEvidenceSynthesis", "Evidence"], expression: "(Evidence.useContext.value as CodeableConcept) | (EffectEvidenceSynthesis.useContext.value as CodeableConcept) | (TestScript.useContext.value as CodeableConcept) | (Library.useContext.value as CodeableConcept) | Composition.event.code | (ChargeItemDefinition.useContext.value as CodeableConcept) | (EventDefinition.useContext.value as CodeableConcept) | (ResearchDefinition.useContext.value as CodeableConcept) | (Questionnaire.useContext.value as CodeableConcept) | (CapabilityStatement.useContext.value as CodeableConcept) | (CodeSystem.useContext.value as CodeableConcept) | (CompartmentDefinition.useContext.value as CodeableConcept) | (ConceptMap.useContext.value as CodeableConcept) | (GraphDefinition.useContext.value as CodeableConcept) | (ImplementationGuide.useContext.value as CodeableConcept) | (MessageDefinition.useContext.value as CodeableConcept) | (NamingSystem.useContext.value as CodeableConcept) | (OperationDefinition.useContext.value as CodeableConcept) | (SearchParameter.useContext.value as CodeableConcept) | (StructureDefinition.useContext.value as CodeableConcept) | (StructureMap.useContext.value as CodeableConcept) | (TerminologyCapabilities.useContext.value as CodeableConcept) | (ValueSet.useContext.value as CodeableConcept) | (ActivityDefinition.useContext.value as CodeableConcept) | (ResearchElementDefinition.useContext.value as CodeableConcept) | (EvidenceVariable.useContext.value as CodeableConcept) | (PlanDefinition.useContext.value as CodeableConcept) | (RiskEvidenceSynthesis.useContext.value as CodeableConcept) | (ExampleScenario.useContext.value as CodeableConcept) | (Measure.useContext.value as CodeableConcept)" } + ], + "code-value-quantity": [ { name: "code-value-quantity", @@ -1072,7 +1364,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation" } + ], + "substance-reference": [ { name: "substance-reference", @@ -1080,7 +1374,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Substance"], expression: "(Substance.ingredient.substance as Reference)" } + ], + "action": [ { name: "action", @@ -1088,7 +1384,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Consent", "AuditEvent"], expression: "AuditEvent.action | Consent.provision.action" } + ], + "model": [ { name: "model", @@ -1096,7 +1394,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Device"], expression: "Device.modelNumber" } + ], + "target-species": [ { name: "target-species", @@ -1104,7 +1404,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicinalProductPharmaceutical"], expression: "MedicinalProductPharmaceutical.routeOfAdministration.targetSpecies.code" } + ], + "signer": [ { name: "signer", @@ -1112,7 +1414,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Contract"], expression: "Contract.signer.party" } + ], + "period": [ { name: "period", @@ -1120,7 +1424,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Task", "Account", "Consent", "NamingSystem", "MeasureReport", "DocumentReference", "Composition"], expression: "Composition.event.period | DocumentReference.context.period | MeasureReport.period | NamingSystem.uniqueId.period | Consent.provision.period | Account.servicePeriod | Task.executionPeriod" } + ], + "morphology": [ { name: "morphology", @@ -1128,7 +1434,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["BodyStructure"], expression: "BodyStructure.morphology" } + ], + "practitioner": [ { name: "practitioner", @@ -1136,7 +1444,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Encounter", "PractitionerRole", "AppointmentResponse", "Person", "Appointment"], expression: "Appointment.participant.actor.where(resolve() is Practitioner) | Person.link.target.where(resolve() is Practitioner) | AppointmentResponse.actor.where(resolve() is Practitioner) | PractitionerRole.practitioner | Encounter.participant.individual.where(resolve() is Practitioner)" } + ], + "classification": [ { name: "classification", @@ -1144,7 +1454,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationKnowledge"], expression: "MedicationKnowledge.medicineClassification.classification" } + ], + "payment-status": [ { name: "payment-status", @@ -1152,7 +1464,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["PaymentNotice"], expression: "PaymentNotice.paymentStatus" } + ], + "additive": [ { name: "additive", @@ -1160,7 +1474,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["NutritionOrder"], expression: "NutritionOrder.enteralFormula.additiveType" } + ], + "system": [ { name: "system", @@ -1168,7 +1484,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["OperationDefinition"], expression: "OperationDefinition.system" } + ], + "supplement": [ { name: "supplement", @@ -1176,7 +1494,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["NutritionOrder"], expression: "NutritionOrder.supplement.type" } + ], + "security-service": [ { name: "security-service", @@ -1184,7 +1504,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CapabilityStatement"], expression: "CapabilityStatement.rest.security.service" } + ], + "_source": [ { name: "_source", @@ -1192,15 +1514,19 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Resource"], expression: "Resource.meta.source" } + ], + "status": [ { name: "status", 'type: r4:TOKEN, - base: ["RiskEvidenceSynthesis", "ImmunizationEvaluation", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "Appointment", "EffectEvidenceSynthesis", "Task", "EpisodeOfCare", "Procedure", "ActivityDefinition", "MedicationKnowledge", "ResearchElementDefinition", "Medication", "CarePlan", "Location", "DeviceRequest", "QuestionnaireResponse", "SupplyDelivery", "Claim", "DiagnosticReport", "DocumentReference", "EventDefinition", "Endpoint", "EnrollmentResponse", "EvidenceVariable", "Library", "SupplyRequest", "ResearchSubject", "FamilyMemberHistory", "List", "Composition", "Questionnaire", "PlanDefinition", "Communication", "ExampleScenario", "ServiceRequest", "DocumentManifest", "Encounter", "MeasureReport", "TestScript", "Media", "InsurancePlan", "Contract", "Specimen", "Substance", "CoverageEligibilityRequest", "MedicinalProductAuthorization", "ImagingStudy", "Immunization", "VisionPrescription", "ImmunizationRecommendation", "CareTeam", "Measure", "Subscription", "ClaimResponse", "PaymentNotice", "EnrollmentRequest", "ExplanationOfBenefit", "RequestGroup", "NutritionOrder", "Account", "Consent", "PaymentReconciliation", "Evidence", "ResearchDefinition", "ClinicalImpression", "Observation", "ChargeItemDefinition", "ResearchStudy", "Device", "Coverage", "Invoice", "Slot", "CoverageEligibilityResponse", "CapabilityStatement", "CompartmentDefinition", "ConceptMap", "GraphDefinition", "ImplementationGuide", "MessageDefinition", "NamingSystem", "OperationDefinition", "SearchParameter", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "CommunicationRequest"], - expression: "CommunicationRequest.status | CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status | CoverageEligibilityResponse.status | Slot.status | Invoice.status | Coverage.status | Device.status | ResearchStudy.status | ChargeItemDefinition.status | Observation.status | ClinicalImpression.status | ResearchDefinition.status | Evidence.status | PaymentReconciliation.status | Consent.status | Account.status | NutritionOrder.status | RequestGroup.status | ExplanationOfBenefit.status | EnrollmentRequest.status | PaymentNotice.status | ClaimResponse.status | Subscription.status | Measure.status | CareTeam.status | ImmunizationRecommendation.recommendation.forecastStatus | VisionPrescription.status | Immunization.status | ImagingStudy.status | MedicinalProductAuthorization.status | CoverageEligibilityRequest.status | Substance.status | Specimen.status | Contract.status | InsurancePlan.status | Media.status | TestScript.status | MeasureReport.status | Encounter.status | DocumentManifest.status | ServiceRequest.status | ExampleScenario.status | Communication.status | PlanDefinition.status | Questionnaire.status | Composition.status | List.status | FamilyMemberHistory.status | ResearchSubject.status | SupplyRequest.status | Library.status | EvidenceVariable.status | EnrollmentResponse.status | Endpoint.status | EventDefinition.status | DocumentReference.status | DiagnosticReport.status | Claim.status | SupplyDelivery.status | QuestionnaireResponse.status | DeviceRequest.status | Location.status | CarePlan.status | Medication.status | ResearchElementDefinition.status | MedicationKnowledge.status | ActivityDefinition.status | Procedure.status | EpisodeOfCare.status | Task.status | EffectEvidenceSynthesis.status | Appointment.status | MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationStatement.status | ImmunizationEvaluation.status | RiskEvidenceSynthesis.status" + base: ["RiskEvidenceSynthesis", "ImmunizationEvaluation", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "Appointment", "EffectEvidenceSynthesis", "Task", "EpisodeOfCare", "Procedure", "ActivityDefinition", "MedicationKnowledge", "ResearchElementDefinition", "Medication", "CarePlan", "Location", "DeviceRequest", "SupplyDelivery", "QuestionnaireResponse", "Claim", "DiagnosticReport", "DocumentReference", "EventDefinition", "Endpoint", "EnrollmentResponse", "EvidenceVariable", "Library", "SupplyRequest", "ResearchSubject", "FamilyMemberHistory", "List", "Composition", "Questionnaire", "PlanDefinition", "Communication", "ExampleScenario", "ServiceRequest", "DocumentManifest", "Encounter", "MeasureReport", "TestScript", "Media", "InsurancePlan", "Contract", "Specimen", "Substance", "CoverageEligibilityRequest", "MedicinalProductAuthorization", "ImagingStudy", "Immunization", "VisionPrescription", "ImmunizationRecommendation", "CareTeam", "Measure", "Subscription", "ClaimResponse", "PaymentNotice", "EnrollmentRequest", "ExplanationOfBenefit", "RequestGroup", "NutritionOrder", "Account", "Consent", "PaymentReconciliation", "Evidence", "ResearchDefinition", "ClinicalImpression", "Observation", "ChargeItemDefinition", "ResearchStudy", "Device", "Coverage", "Invoice", "Slot", "CoverageEligibilityResponse", "CapabilityStatement", "CompartmentDefinition", "ConceptMap", "GraphDefinition", "ImplementationGuide", "MessageDefinition", "NamingSystem", "OperationDefinition", "SearchParameter", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "CommunicationRequest"], + expression: "CommunicationRequest.status | CapabilityStatement.status | CodeSystem.status | CompartmentDefinition.status | ConceptMap.status | GraphDefinition.status | ImplementationGuide.status | MessageDefinition.status | NamingSystem.status | OperationDefinition.status | SearchParameter.status | StructureDefinition.status | StructureMap.status | TerminologyCapabilities.status | ValueSet.status | CoverageEligibilityResponse.status | Slot.status | Invoice.status | Coverage.status | Device.status | ResearchStudy.status | ChargeItemDefinition.status | Observation.status | ClinicalImpression.status | ResearchDefinition.status | Evidence.status | PaymentReconciliation.status | Consent.status | Account.status | NutritionOrder.status | RequestGroup.status | ExplanationOfBenefit.status | EnrollmentRequest.status | PaymentNotice.status | ClaimResponse.status | Subscription.status | Measure.status | CareTeam.status | ImmunizationRecommendation.recommendation.forecastStatus | VisionPrescription.status | Immunization.status | ImagingStudy.status | MedicinalProductAuthorization.status | CoverageEligibilityRequest.status | Substance.status | Specimen.status | Contract.status | InsurancePlan.status | Media.status | TestScript.status | MeasureReport.status | Encounter.status | DocumentManifest.status | ServiceRequest.status | ExampleScenario.status | Communication.status | PlanDefinition.status | Questionnaire.status | Composition.status | List.status | FamilyMemberHistory.status | ResearchSubject.status | SupplyRequest.status | Library.status | EvidenceVariable.status | EnrollmentResponse.status | Endpoint.status | EventDefinition.status | DocumentReference.status | DiagnosticReport.status | Claim.status | QuestionnaireResponse.status | SupplyDelivery.status | DeviceRequest.status | Location.status | CarePlan.status | Medication.status | ResearchElementDefinition.status | MedicationKnowledge.status | ActivityDefinition.status | Procedure.status | EpisodeOfCare.status | Task.status | EffectEvidenceSynthesis.status | Appointment.status | MedicationAdministration.status | MedicationDispense.status | MedicationRequest.status | MedicationStatement.status | ImmunizationEvaluation.status | RiskEvidenceSynthesis.status" } + ], + "other": [ { name: "other", @@ -1208,7 +1534,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ConceptMap"], expression: "ConceptMap.group.unmapped.url" } + ], + "successor": [ { name: "successor", @@ -1216,7 +1544,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Library", "ResearchDefinition", "PlanDefinition", "Evidence", "EvidenceVariable", "ActivityDefinition", "ResearchElementDefinition", "Measure", "EventDefinition"], expression: "EventDefinition.relatedArtifact.where(type='successor').resource | Measure.relatedArtifact.where(type='successor').resource | ResearchElementDefinition.relatedArtifact.where(type='successor').resource | ActivityDefinition.relatedArtifact.where(type='successor').resource | EvidenceVariable.relatedArtifact.where(type='successor').resource | Evidence.relatedArtifact.where(type='successor').resource | PlanDefinition.relatedArtifact.where(type='successor').resource | ResearchDefinition.relatedArtifact.where(type='successor').resource | Library.relatedArtifact.where(type='successor').resource" } + ], + "combo-code-value-quantity": [ { name: "combo-code-value-quantity", @@ -1224,7 +1554,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation | Observation.component" } + ], + "operational-status": [ { name: "operational-status", @@ -1232,7 +1564,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Location"], expression: "Location.operationalStatus" } + ], + "part-of": [ { name: "part-of", @@ -1240,7 +1574,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CarePlan", "Procedure", "MedicationStatement", "Observation", "QuestionnaireResponse", "Task", "Encounter", "Communication"], expression: "Communication.partOf | Encounter.partOf | Task.partOf | QuestionnaireResponse.partOf | Observation.partOf | MedicationStatement.partOf | Procedure.partOf | CarePlan.partOf" } + ], + "start-date": [ { name: "start-date", @@ -1248,7 +1584,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Goal"], expression: "(Goal.start as date)" } + ], + "occurrence": [ { name: "occurrence", @@ -1256,7 +1594,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CommunicationRequest", "ServiceRequest", "ChargeItem"], expression: "ChargeItem.occurrence | ServiceRequest.occurrence | (CommunicationRequest.occurrence as dateTime)" } + ], + "fhirversion": [ { name: "fhirversion", @@ -1264,7 +1604,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CapabilityStatement"], expression: "CapabilityStatement.version" } + ], + "manufacturer": [ { name: "manufacturer", @@ -1272,13 +1614,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Device"], expression: "Device.manufacturer" }, + { name: "manufacturer", 'type: r4:REFERENCE, base: ["MedicationKnowledge", "Medication", "Immunization"], expression: "Immunization.manufacturer | Medication.manufacturer | MedicationKnowledge.manufacturer" } + ], + "base-path": [ { name: "base-path", @@ -1286,7 +1631,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["StructureDefinition"], expression: "StructureDefinition.snapshot.element.base.path | StructureDefinition.differential.element.base.path" } + ], + "member": [ { name: "member", @@ -1294,7 +1641,19 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Group"], expression: "Group.member.entity" } + + ], + + "ResearchStudySearchParameter": [ + { + name: "ResearchStudySearchParameter", + 'type: r4:REFERENCE, + base: ["Composition", "Consent", "DiagnosticReport", "Encounter", "FamilyMemberHistory", "Immunization", "DocumentReference", "MedicationAdministration", "MedicationDispense", "MedicationStatement", "Observation", "Procedure", "QuestionnaireResponse", "RiskAssessment", "ServiceRequest", "SupplyDelivery", "Task"], + expression: "DomainResource.extension('http://hl7.org/fhir/StructureDefinition/workflow-researchStudy').value" + } + ], + "authenticator": [ { name: "authenticator", @@ -1302,7 +1661,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DocumentReference"], expression: "DocumentReference.authenticator" } + ], + "outcome": [ { name: "outcome", @@ -1310,7 +1671,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["PaymentReconciliation", "AuditEvent", "CoverageEligibilityResponse", "ClaimResponse"], expression: "ClaimResponse.outcome | CoverageEligibilityResponse.outcome | AuditEvent.outcome | PaymentReconciliation.outcome" } + ], + "evidence-detail": [ { name: "evidence-detail", @@ -1318,7 +1681,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Condition"], expression: "Condition.evidence.detail" } + ], + "product": [ { name: "product", @@ -1326,7 +1691,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ConceptMap"], expression: "ConceptMap.group.element.target.product.property" } + ], + "_security": [ { name: "_security", @@ -1334,7 +1701,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Resource"], expression: "Resource.meta.security" } + ], + "url": [ { name: "url", @@ -1342,7 +1711,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ResearchElementDefinition", "CapabilityStatement", "CompartmentDefinition", "ConceptMap", "GraphDefinition", "ImplementationGuide", "MessageDefinition", "OperationDefinition", "SearchParameter", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "EventDefinition", "Subscription", "RiskEvidenceSynthesis", "ActivityDefinition", "Library", "PlanDefinition", "Contract", "ResearchDefinition", "Device", "Measure", "ExampleScenario", "EvidenceVariable", "EffectEvidenceSynthesis", "ChargeItemDefinition", "Questionnaire", "Evidence", "TestScript"], expression: "TestScript.url | Evidence.url | Questionnaire.url | ChargeItemDefinition.url | EffectEvidenceSynthesis.url | EvidenceVariable.url | ExampleScenario.url | Measure.url | Device.url | ResearchDefinition.url | Contract.url | PlanDefinition.url | Library.url | ActivityDefinition.url | RiskEvidenceSynthesis.url | Subscription.channel.endpoint | EventDefinition.url | CapabilityStatement.url | CodeSystem.url | CompartmentDefinition.url | ConceptMap.url | GraphDefinition.url | ImplementationGuide.url | MessageDefinition.url | OperationDefinition.url | SearchParameter.url | StructureDefinition.url | StructureMap.url | TerminologyCapabilities.url | ValueSet.url | ResearchElementDefinition.url" } + ], + "disposition": [ { name: "disposition", @@ -1350,7 +1721,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ClaimResponse", "PaymentReconciliation", "CoverageEligibilityResponse", "ExplanationOfBenefit"], expression: "ExplanationOfBenefit.disposition | CoverageEligibilityResponse.disposition | PaymentReconciliation.disposition | ClaimResponse.disposition" } + ], + "lifecycle-status": [ { name: "lifecycle-status", @@ -1358,7 +1731,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Goal"], expression: "Goal.lifecycleStatus" } + ], + "seriousness": [ { name: "seriousness", @@ -1366,7 +1741,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AdverseEvent"], expression: "AdverseEvent.seriousness" } + ], + "reason-reference": [ { name: "reason-reference", @@ -1374,7 +1751,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Immunization", "Procedure", "Appointment", "Encounter"], expression: "Encounter.reasonReference | Appointment.reasonReference | Procedure.reasonReference | Immunization.reasonReference" } + ], + "consentor": [ { name: "consentor", @@ -1382,7 +1761,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Consent"], expression: "Consent.performer" } + ], + "entity": [ { name: "entity", @@ -1390,7 +1771,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AuditEvent", "Provenance"], expression: "Provenance.entity.what | AuditEvent.entity.what" } + ], + "requesting-organization": [ { name: "requesting-organization", @@ -1398,7 +1781,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ChargeItem"], expression: "ChargeItem.requestingOrganization" } + ], + "evaluated-resource": [ { name: "evaluated-resource", @@ -1406,7 +1791,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MeasureReport"], expression: "MeasureReport.evaluatedResource" } + ], + "instance": [ { name: "instance", @@ -1414,7 +1801,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImagingStudy", "OperationDefinition"], expression: "OperationDefinition.instance | ImagingStudy.series.instance.uid" } + ], + "entity-role": [ { name: "entity-role", @@ -1422,7 +1811,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AuditEvent"], expression: "AuditEvent.entity.role" } + ], + "use": [ { name: "use", @@ -1430,7 +1821,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ClaimResponse", "Claim"], expression: "Claim.use | ClaimResponse.use" } + ], + "subject": [ { name: "subject", @@ -1438,7 +1831,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["RiskAssessment", "Observation", "ServiceRequest", "Contract", "List", "MedicationDispense", "QuestionnaireResponse", "DocumentReference", "CommunicationRequest", "DiagnosticReport", "CareTeam", "Communication", "Condition", "Media", "MedicinalProductIndication", "Goal", "Encounter", "Invoice", "MedicinalProductContraindication", "MedicationStatement", "ChargeItem", "DocumentManifest", "Specimen", "Procedure", "RequestGroup", "SupplyRequest", "EnrollmentRequest", "MedicinalProductInteraction", "ClinicalImpression", "MedicinalProductUndesirableEffect", "Basic", "AdverseEvent", "Task", "CarePlan", "MeasureReport", "MedicationAdministration", "MedicinalProductPackaged", "MedicinalProductAuthorization", "DeviceUseStatement", "ImagingStudy", "Composition", "DeviceRequest", "Flag", "MedicationRequest", "Account", "GuidanceResponse"], expression: "GuidanceResponse.subject | Account.subject | MedicationRequest.subject | Flag.subject | DeviceRequest.subject | Composition.subject | ImagingStudy.subject | DeviceUseStatement.subject | MedicinalProductAuthorization.subject | MedicinalProductPackaged.subject | MedicationAdministration.subject | MeasureReport.subject | CarePlan.subject | Task.for | AdverseEvent.subject | Basic.subject | MedicinalProductUndesirableEffect.subject | ClinicalImpression.subject | MedicinalProductInteraction.subject | EnrollmentRequest.candidate | SupplyRequest.deliverTo | RequestGroup.subject | Procedure.subject | Specimen.subject | DocumentManifest.subject | ChargeItem.subject | MedicationStatement.subject | MedicinalProductContraindication.subject | Invoice.subject | Encounter.subject | Goal.subject | MedicinalProductIndication.subject | Media.subject | Condition.subject | Communication.subject | CareTeam.subject | DiagnosticReport.subject | CommunicationRequest.subject | DocumentReference.subject | QuestionnaireResponse.subject | MedicationDispense.subject | List.subject | Contract.subject | ServiceRequest.subject | Observation.subject | RiskAssessment.subject" } + ], + "assessor": [ { name: "assessor", @@ -1446,7 +1841,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ClinicalImpression"], expression: "ClinicalImpression.assessor" } + ], + "value-date": [ { name: "value-date", @@ -1454,7 +1851,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "(Observation.value as dateTime) | (Observation.value as Period)" } + ], + "testscript-capability": [ { name: "testscript-capability", @@ -1462,7 +1861,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["TestScript"], expression: "TestScript.metadata.capability.description" } + ], + "mode": [ { name: "mode", @@ -1470,7 +1871,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CapabilityStatement"], expression: "CapabilityStatement.rest.mode" } + ], + "abatement-date": [ { name: "abatement-date", @@ -1478,7 +1881,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Condition"], expression: "Condition.abatement.as(dateTime) | Condition.abatement.as(Period)" } + ], + "datetime": [ { name: "datetime", @@ -1486,7 +1891,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["NutritionOrder"], expression: "NutritionOrder.dateTime" } + ], + "factor-override": [ { name: "factor-override", @@ -1494,7 +1901,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ChargeItem"], expression: "ChargeItem.factorOverride" } + ], + "abatement-age": [ { name: "abatement-age", @@ -1502,7 +1911,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Condition"], expression: "Condition.abatement.as(Age) | Condition.abatement.as(Range)" } + ], + "modified": [ { name: "modified", @@ -1510,7 +1921,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Task"], expression: "Task.lastModified" } + ], + "claim": [ { name: "claim", @@ -1518,7 +1931,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ExplanationOfBenefit"], expression: "ExplanationOfBenefit.claim" } + ], + "communication": [ { name: "communication", @@ -1526,7 +1941,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Practitioner"], expression: "Practitioner.communication" } + ], + "combo-code-value-concept": [ { name: "combo-code-value-concept", @@ -1534,7 +1951,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation | Observation.component" } + ], + "class-type": [ { name: "class-type", @@ -1542,7 +1961,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Coverage"], expression: "Coverage.class.type" } + ], + "partof": [ { name: "partof", @@ -1550,7 +1971,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ResearchStudy", "Organization", "Location"], expression: "Location.partOf | Organization.partOf | ResearchStudy.partOf" } + ], + "author": [ { name: "author", @@ -1558,7 +1981,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Composition", "RequestGroup", "DetectedIssue", "DocumentManifest", "Flag", "Basic", "QuestionnaireResponse", "DocumentReference", "Linkage", "MessageHeader"], expression: "MessageHeader.author | Linkage.author | DocumentReference.author | QuestionnaireResponse.author | Basic.author | Flag.author | DocumentManifest.author | DetectedIssue.author | RequestGroup.author | Composition.author" } + ], + "diagnosis": [ { name: "diagnosis", @@ -1566,7 +1991,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Encounter"], expression: "Encounter.diagnosis.condition" } + ], + "entry": [ { name: "entry", @@ -1574,7 +2001,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Composition"], expression: "Composition.section.entry" } + ], + "condition": [ { name: "condition", @@ -1582,7 +2011,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CarePlan", "EpisodeOfCare", "RiskAssessment"], expression: "RiskAssessment.condition | EpisodeOfCare.diagnosis.condition | CarePlan.addresses" } + ], + "related-ref": [ { name: "related-ref", @@ -1590,7 +2021,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DocumentManifest", "Composition"], expression: "(Composition.relatesTo.target as Reference) | DocumentManifest.related.ref" } + ], + "monograph": [ { name: "monograph", @@ -1598,7 +2031,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationKnowledge"], expression: "MedicationKnowledge.monograph.source" } + ], + "service-provider": [ { name: "service-provider", @@ -1606,7 +2041,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Encounter"], expression: "Encounter.serviceProvider" } + ], + "_id": [ { name: "_id", @@ -1614,7 +2051,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Resource"], expression: "Resource.id" } + ], + "last-date": [ { name: "last-date", @@ -1622,7 +2061,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AllergyIntolerance"], expression: "AllergyIntolerance.lastOccurrence" } + ], + "combo-data-absent-reason": [ { name: "combo-data-absent-reason", @@ -1630,7 +2071,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation.dataAbsentReason | Observation.component.dataAbsentReason" } + ], + "code": [ { name: "code", @@ -1638,7 +2081,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["OperationDefinition", "Substance", "MedicationKnowledge", "ChargeItem", "SearchParameter", "CompartmentDefinition", "RequestGroup", "Task", "SubstanceSpecification", "DetectedIssue", "MessageHeader", "Basic", "AllergyIntolerance", "Condition", "DeviceRequest", "DiagnosticReport", "FamilyMemberHistory", "List", "Medication", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "Observation", "Procedure", "ServiceRequest", "Group", "Questionnaire"], expression: "Questionnaire.item.code | Group.code | AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | (DeviceRequest.code as CodeableConcept) | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | (MedicationAdministration.medication as CodeableConcept) | (MedicationDispense.medication as CodeableConcept) | (MedicationRequest.medication as CodeableConcept) | (MedicationStatement.medication as CodeableConcept) | Observation.code | Procedure.code | ServiceRequest.code | Basic.code | MessageHeader.response.code | DetectedIssue.code | SubstanceSpecification.code.code | Task.code | RequestGroup.code | CompartmentDefinition.code | SearchParameter.code | ChargeItem.code | MedicationKnowledge.code | Substance.code | (Substance.ingredient.substance as CodeableConcept) | OperationDefinition.code" } + ], + "participant-type": [ { name: "participant-type", @@ -1646,7 +2091,13 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Encounter"], expression: "Encounter.participant.type" } - ], + + ] + +}; + +//Number of search params in INTERNATIONAL_IG_SEARCH_PARAMS_3 = 100 +final readonly & map INTERNATIONAL_IG_SEARCH_PARAMS_3 = { "slot": [ { name: "slot", @@ -1654,7 +2105,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Appointment"], expression: "Appointment.slot" } + ], + "accession": [ { name: "accession", @@ -1662,7 +2115,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Specimen"], expression: "Specimen.accessionIdentifier" } + ], + "media": [ { name: "media", @@ -1670,7 +2125,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DiagnosticReport"], expression: "DiagnosticReport.media.link" } + ], + "composed-of": [ { name: "composed-of", @@ -1678,10 +2135,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["EvidenceVariable", "PlanDefinition", "ResearchElementDefinition", "EventDefinition", "Library", "Measure", "Evidence", "ResearchDefinition", "ActivityDefinition"], expression: "ActivityDefinition.relatedArtifact.where(type='composed-of').resource | ResearchDefinition.relatedArtifact.where(type='composed-of').resource | Evidence.relatedArtifact.where(type='composed-of').resource | Measure.relatedArtifact.where(type='composed-of').resource | Library.relatedArtifact.where(type='composed-of').resource | EventDefinition.relatedArtifact.where(type='composed-of').resource | ResearchElementDefinition.relatedArtifact.where(type='composed-of').resource | PlanDefinition.relatedArtifact.where(type='composed-of').resource | EvidenceVariable.relatedArtifact.where(type='composed-of').resource" } - ] -}; -//Number of search params in INTERNATIONAL_IG_SEARCH_PARAMS_3 = 100 -final readonly & map INTERNATIONAL_IG_SEARCH_PARAMS_3 = { + + ], + "context-quantity": [ { name: "context-quantity", @@ -1689,7 +2145,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["RiskEvidenceSynthesis", "TestScript", "Questionnaire", "Evidence", "EventDefinition", "EvidenceVariable", "Measure", "PlanDefinition", "CapabilityStatement", "CompartmentDefinition", "ConceptMap", "GraphDefinition", "ImplementationGuide", "MessageDefinition", "NamingSystem", "OperationDefinition", "SearchParameter", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "Library", "ActivityDefinition", "ResearchElementDefinition", "ChargeItemDefinition", "ResearchDefinition", "EffectEvidenceSynthesis", "ExampleScenario"], expression: "(ExampleScenario.useContext.value as Quantity) | (ExampleScenario.useContext.value as Range) | (EffectEvidenceSynthesis.useContext.value as Quantity) | (EffectEvidenceSynthesis.useContext.value as Range) | (ResearchDefinition.useContext.value as Quantity) | (ResearchDefinition.useContext.value as Range) | (ChargeItemDefinition.useContext.value as Quantity) | (ChargeItemDefinition.useContext.value as Range) | (ResearchElementDefinition.useContext.value as Quantity) | (ResearchElementDefinition.useContext.value as Range) | (ActivityDefinition.useContext.value as Quantity) | (ActivityDefinition.useContext.value as Range) | (Library.useContext.value as Quantity) | (Library.useContext.value as Range) | (CapabilityStatement.useContext.value as Quantity) | (CapabilityStatement.useContext.value as Range) | (CodeSystem.useContext.value as Quantity) | (CodeSystem.useContext.value as Range) | (CompartmentDefinition.useContext.value as Quantity) | (CompartmentDefinition.useContext.value as Range) | (ConceptMap.useContext.value as Quantity) | (ConceptMap.useContext.value as Range) | (GraphDefinition.useContext.value as Quantity) | (GraphDefinition.useContext.value as Range) | (ImplementationGuide.useContext.value as Quantity) | (ImplementationGuide.useContext.value as Range) | (MessageDefinition.useContext.value as Quantity) | (MessageDefinition.useContext.value as Range) | (NamingSystem.useContext.value as Quantity) | (NamingSystem.useContext.value as Range) | (OperationDefinition.useContext.value as Quantity) | (OperationDefinition.useContext.value as Range) | (SearchParameter.useContext.value as Quantity) | (SearchParameter.useContext.value as Range) | (StructureDefinition.useContext.value as Quantity) | (StructureDefinition.useContext.value as Range) | (StructureMap.useContext.value as Quantity) | (StructureMap.useContext.value as Range) | (TerminologyCapabilities.useContext.value as Quantity) | (TerminologyCapabilities.useContext.value as Range) | (ValueSet.useContext.value as Quantity) | (ValueSet.useContext.value as Range) | (PlanDefinition.useContext.value as Quantity) | (PlanDefinition.useContext.value as Range) | (Measure.useContext.value as Quantity) | (Measure.useContext.value as Range) | (EvidenceVariable.useContext.value as Quantity) | (EvidenceVariable.useContext.value as Range) | (EventDefinition.useContext.value as Quantity) | (EventDefinition.useContext.value as Range) | (Evidence.useContext.value as Quantity) | (Evidence.useContext.value as Range) | (Questionnaire.useContext.value as Quantity) | (Questionnaire.useContext.value as Range) | (TestScript.useContext.value as Quantity) | (TestScript.useContext.value as Range) | (RiskEvidenceSynthesis.useContext.value as Quantity) | (RiskEvidenceSynthesis.useContext.value as Range)" } + ], + "effective": [ { name: "effective", @@ -1697,7 +2155,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ResearchElementDefinition", "Library", "EffectEvidenceSynthesis", "MedicationStatement", "ResearchDefinition", "Evidence", "Measure", "EventDefinition", "RiskEvidenceSynthesis", "ActivityDefinition", "Questionnaire", "ChargeItemDefinition", "PlanDefinition", "EvidenceVariable"], expression: "EvidenceVariable.effectivePeriod | PlanDefinition.effectivePeriod | ChargeItemDefinition.effectivePeriod | Questionnaire.effectivePeriod | ActivityDefinition.effectivePeriod | RiskEvidenceSynthesis.effectivePeriod | EventDefinition.effectivePeriod | Measure.effectivePeriod | Evidence.effectivePeriod | ResearchDefinition.effectivePeriod | MedicationStatement.effective | EffectEvidenceSynthesis.effectivePeriod | Library.effectivePeriod | ResearchElementDefinition.effectivePeriod" } + ], + "subtype": [ { name: "subtype", @@ -1705,7 +2165,19 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AuditEvent"], expression: "AuditEvent.subtype" } + + ], + + "ProtectiveFactorCodeSearchParameter": [ + { + name: "ProtectiveFactorCodeSearchParameter", + 'type: r4:TOKEN, + base: ["CarePlan", "CommunicationRequest", "Goal"], + expression: "CarePlan.activity.extension('http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor').value.concept | CommunicationRequest.extension('http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor').value.concept | Goal.extension('http://hl7.org/fhir/StructureDefinition/workflow-protectiveFactor').value.concept" + } + ], + "source-system": [ { name: "source-system", @@ -1713,7 +2185,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ConceptMap"], expression: "ConceptMap.group.source" } + ], + "custodian": [ { name: "custodian", @@ -1721,7 +2195,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DocumentReference"], expression: "DocumentReference.custodian" } + ], + "service-type": [ { name: "service-type", @@ -1729,7 +2205,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Slot", "HealthcareService", "Schedule", "Appointment"], expression: "Appointment.serviceType | Schedule.serviceType | HealthcareService.type | Slot.serviceType" } + ], + "medication": [ { name: "medication", @@ -1737,7 +2215,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement"], expression: "(MedicationAdministration.medication as Reference) | (MedicationDispense.medication as Reference) | (MedicationRequest.medication as Reference) | (MedicationStatement.medication as Reference)" } + ], + "authored-on": [ { name: "authored-on", @@ -1745,7 +2225,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DeviceRequest", "Task"], expression: "Task.authoredOn | DeviceRequest.authoredOn" } + ], + "performer-type": [ { name: "performer-type", @@ -1753,7 +2235,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ServiceRequest"], expression: "ServiceRequest.performerType" } + ], + "requestor": [ { name: "requestor", @@ -1761,7 +2245,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CoverageEligibilityResponse", "ClaimResponse", "PaymentReconciliation"], expression: "PaymentReconciliation.requestor | ClaimResponse.requestor | CoverageEligibilityResponse.requestor" } + ], + "destination-uri": [ { name: "destination-uri", @@ -1769,7 +2255,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MessageHeader"], expression: "MessageHeader.destination.endpoint" } + ], + "address-use": [ { name: "address-use", @@ -1777,7 +2265,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Location", "InsurancePlan", "Patient", "Person", "Practitioner", "RelatedPerson", "Organization"], expression: "Organization.address.use | Patient.address.use | Person.address.use | Practitioner.address.use | RelatedPerson.address.use | InsurancePlan.contact.address.use | Location.address.use" } + ], + "implicated": [ { name: "implicated", @@ -1785,7 +2275,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DetectedIssue"], expression: "DetectedIssue.implicated" } + ], + "assessed-condition": [ { name: "assessed-condition", @@ -1793,7 +2285,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DiagnosticReport"], expression: "DiagnosticReport.extension('http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition')" } + ], + "participating-organization": [ { name: "participating-organization", @@ -1801,7 +2295,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["OrganizationAffiliation"], expression: "OrganizationAffiliation.participatingOrganization" } + ], + "authored": [ { name: "authored", @@ -1809,7 +2305,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CommunicationRequest", "ServiceRequest", "QuestionnaireResponse", "RequestGroup"], expression: "RequestGroup.authoredOn | QuestionnaireResponse.authored | ServiceRequest.authoredOn | CommunicationRequest.authoredOn" } + ], + "reason": [ { name: "reason", @@ -1817,7 +2315,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImagingStudy"], expression: "ImagingStudy.reasonCode" } + ], + "specialty": [ { name: "specialty", @@ -1825,7 +2325,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Slot", "HealthcareService", "OrganizationAffiliation", "PractitionerRole", "Schedule", "Appointment"], expression: "Appointment.specialty | Schedule.specialty | PractitionerRole.specialty | OrganizationAffiliation.specialty | HealthcareService.specialty | Slot.specialty" } + ], + "deceased": [ { name: "deceased", @@ -1833,7 +2335,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Patient"], expression: "Patient.deceased.exists() and Patient.deceased != false" } + ], + "clinical-status": [ { name: "clinical-status", @@ -1841,15 +2345,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AllergyIntolerance", "Condition"], expression: "Condition.clinicalStatus | AllergyIntolerance.clinicalStatus" } + ], - "mothersMaidenName": [ - { - name: "mothersMaidenName", - 'type: r4:STRING, - base: ["Patient"], - expression: "Patient.extension('http://hl7.org/fhir/StructureDefinition/patient-extensions-Patient-mothersMaidenName')" - } - ], + "address-country": [ { name: "address-country", @@ -1857,7 +2355,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Organization", "InsurancePlan", "Patient", "Person", "Practitioner", "RelatedPerson", "Location"], expression: "Location.address.country | Patient.address.country | Person.address.country | Practitioner.address.country | RelatedPerson.address.country | InsurancePlan.contact.address.country | Organization.address.country" } + ], + "ingredient-code": [ { name: "ingredient-code", @@ -1865,7 +2365,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Medication", "MedicationKnowledge"], expression: "(MedicationKnowledge.ingredient.item as CodeableConcept) | (Medication.ingredient.item as CodeableConcept)" } + ], + "source-cost": [ { name: "source-cost", @@ -1873,7 +2375,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationKnowledge"], expression: "MedicationKnowledge.cost.source" } + ], + "achievement-status": [ { name: "achievement-status", @@ -1881,7 +2385,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Goal"], expression: "Goal.achievementStatus" } + ], + "detail-udi": [ { name: "detail-udi", @@ -1889,7 +2395,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ExplanationOfBenefit", "Claim"], expression: "Claim.item.detail.udi | ExplanationOfBenefit.item.detail.udi" } + ], + "supporting-info": [ { name: "supporting-info", @@ -1897,7 +2405,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Appointment", "ClinicalImpression"], expression: "ClinicalImpression.supportingInfo | Appointment.supportingInformation" } + ], + "variant-start": [ { name: "variant-start", @@ -1905,7 +2415,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MolecularSequence"], expression: "MolecularSequence.variant.start" } + ], + "expiry": [ { name: "expiry", @@ -1913,7 +2425,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Substance"], expression: "Substance.instance.expiry" } + ], + "special-arrangement": [ { name: "special-arrangement", @@ -1921,7 +2435,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Encounter"], expression: "Encounter.hospitalization.specialArrangement" } + ], + "requester": [ { name: "requester", @@ -1929,7 +2445,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CommunicationRequest", "Task", "MedicationRequest", "ServiceRequest", "SupplyRequest", "DeviceRequest"], expression: "DeviceRequest.requester | SupplyRequest.requester | ServiceRequest.requester | MedicationRequest.requester | Task.requester | CommunicationRequest.requester" } + ], + "udi-di": [ { name: "udi-di", @@ -1937,7 +2455,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Device"], expression: "Device.udiCarrier.deviceIdentifier" } + ], + "receiver": [ { name: "receiver", @@ -1945,7 +2465,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MessageHeader", "MedicationDispense", "SupplyDelivery"], expression: "SupplyDelivery.receiver | MedicationDispense.receiver | MessageHeader.destination.receiver" } + ], + "datewritten": [ { name: "datewritten", @@ -1953,7 +2475,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["VisionPrescription"], expression: "VisionPrescription.dateWritten" } + ], + "received": [ { name: "received", @@ -1961,7 +2485,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Communication"], expression: "Communication.received" } + ], + "relatedperson": [ { name: "relatedperson", @@ -1969,7 +2495,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Person"], expression: "Person.link.target.where(resolve() is RelatedPerson)" } + ], + "interpreter": [ { name: "interpreter", @@ -1977,7 +2505,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImagingStudy"], expression: "ImagingStudy.interpreter" } + ], + "target-disease": [ { name: "target-disease", @@ -1985,7 +2515,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Immunization", "ImmunizationRecommendation", "ImmunizationEvaluation"], expression: "ImmunizationEvaluation.targetDisease | ImmunizationRecommendation.recommendation.targetDisease | Immunization.protocolApplied.targetDisease" } + ], + "gene-amino-acid-change": [ { name: "gene-amino-acid-change", @@ -1993,7 +2525,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation.extension('http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChangeName')" } + ], + "device": [ { name: "device", @@ -2001,7 +2535,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Media", "DeviceUseStatement", "MedicationAdministration", "Observation", "DeviceRequest"], expression: "(DeviceRequest.code as Reference) | Observation.device | MedicationAdministration.device | DeviceUseStatement.device | Media.device" } + ], + "container-id": [ { name: "container-id", @@ -2009,7 +2545,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Specimen"], expression: "Specimen.container.identifier" } + ], + "dicom-class": [ { name: "dicom-class", @@ -2017,7 +2555,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImagingStudy"], expression: "ImagingStudy.series.instance.sopClass" } + ], + "container-identifier": [ { name: "container-identifier", @@ -2025,7 +2565,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Substance"], expression: "Substance.instance.identifier" } + ], + "dependson": [ { name: "dependson", @@ -2033,7 +2575,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ConceptMap"], expression: "ConceptMap.group.element.target.dependsOn.property" } + ], + "jurisdiction": [ { name: "jurisdiction", @@ -2041,7 +2585,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["RiskEvidenceSynthesis", "EffectEvidenceSynthesis", "EvidenceVariable", "Library", "ResearchElementDefinition", "EventDefinition", "ActivityDefinition", "Evidence", "PlanDefinition", "TestScript", "CapabilityStatement", "ConceptMap", "GraphDefinition", "ImplementationGuide", "MessageDefinition", "NamingSystem", "OperationDefinition", "SearchParameter", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "ChargeItemDefinition", "Questionnaire", "ResearchDefinition", "Measure", "ExampleScenario"], expression: "ExampleScenario.jurisdiction | Measure.jurisdiction | ResearchDefinition.jurisdiction | Questionnaire.jurisdiction | ChargeItemDefinition.jurisdiction | CapabilityStatement.jurisdiction | CodeSystem.jurisdiction | ConceptMap.jurisdiction | GraphDefinition.jurisdiction | ImplementationGuide.jurisdiction | MessageDefinition.jurisdiction | NamingSystem.jurisdiction | OperationDefinition.jurisdiction | SearchParameter.jurisdiction | StructureDefinition.jurisdiction | StructureMap.jurisdiction | TerminologyCapabilities.jurisdiction | ValueSet.jurisdiction | TestScript.jurisdiction | PlanDefinition.jurisdiction | Evidence.jurisdiction | ActivityDefinition.jurisdiction | EventDefinition.jurisdiction | ResearchElementDefinition.jurisdiction | Library.jurisdiction | EvidenceVariable.jurisdiction | EffectEvidenceSynthesis.jurisdiction | RiskEvidenceSynthesis.jurisdiction" } + ], + "global": [ { name: "global", @@ -2049,7 +2595,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImplementationGuide"], expression: "ImplementationGuide.global.profile" } + ], + "predecessor": [ { name: "predecessor", @@ -2057,7 +2605,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ResearchDefinition", "PlanDefinition", "EventDefinition", "Measure", "Evidence", "ActivityDefinition", "EvidenceVariable", "Library", "ResearchElementDefinition"], expression: "ResearchElementDefinition.relatedArtifact.where(type='predecessor').resource | Library.relatedArtifact.where(type='predecessor').resource | EvidenceVariable.relatedArtifact.where(type='predecessor').resource | ActivityDefinition.relatedArtifact.where(type='predecessor').resource | Evidence.relatedArtifact.where(type='predecessor').resource | Measure.relatedArtifact.where(type='predecessor').resource | EventDefinition.relatedArtifact.where(type='predecessor').resource | PlanDefinition.relatedArtifact.where(type='predecessor').resource | ResearchDefinition.relatedArtifact.where(type='predecessor').resource" } + ], + "dna-variant": [ { name: "dna-variant", @@ -2065,7 +2615,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation.extension('http://hl7.org/fhir/StructureDefinition/observation-geneticsDnaVariant')" } + ], + "endpoint": [ { name: "endpoint", @@ -2073,7 +2625,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["PractitionerRole", "Location", "OrganizationAffiliation", "ImagingStudy", "Organization", "HealthcareService", "InsurancePlan"], expression: "InsurancePlan.endpoint | HealthcareService.endpoint | Organization.endpoint | ImagingStudy.endpoint | ImagingStudy.series.endpoint | OrganizationAffiliation.endpoint | Location.endpoint | PractitionerRole.endpoint" } + ], + "performer-function": [ { name: "performer-function", @@ -2081,7 +2635,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ChargeItem"], expression: "ChargeItem.performer.function" } + ], + "intended-performer": [ { name: "intended-performer", @@ -2089,7 +2645,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationRequest"], expression: "MedicationRequest.performer" } + ], + "component-code": [ { name: "component-code", @@ -2097,7 +2655,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation.component.code" } + ], + "intended-performertype": [ { name: "intended-performertype", @@ -2105,7 +2665,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationRequest"], expression: "MedicationRequest.performerType" } + ], + "relationship": [ { name: "relationship", @@ -2113,13 +2675,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DocumentReference"], expression: "DocumentReference.relatesTo" }, + { name: "relationship", 'type: r4:TOKEN, base: ["RelatedPerson", "FamilyMemberHistory"], expression: "FamilyMemberHistory.relationship | RelatedPerson.relationship" } + ], + "email": [ { name: "email", @@ -2127,7 +2692,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Patient", "Person", "Practitioner", "PractitionerRole", "RelatedPerson", "OrganizationAffiliation"], expression: "OrganizationAffiliation.telecom.where(system='email') | Patient.telecom.where(system='email') | Person.telecom.where(system='email') | Practitioner.telecom.where(system='email') | PractitionerRole.telecom.where(system='email') | RelatedPerson.telecom.where(system='email')" } + ], + "bodysite": [ { name: "bodysite", @@ -2135,7 +2702,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImagingStudy", "Specimen"], expression: "Specimen.collection.bodySite | ImagingStudy.series.bodySite" } + ], + "ingredient": [ { name: "ingredient", @@ -2143,7 +2712,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Medication", "MedicationKnowledge"], expression: "(MedicationKnowledge.ingredient.item as Reference) | (Medication.ingredient.item as Reference)" } + ], + "reaction": [ { name: "reaction", @@ -2151,7 +2722,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Immunization"], expression: "Immunization.reaction.detail" } + ], + "replaces": [ { name: "replaces", @@ -2159,7 +2732,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ServiceRequest", "CommunicationRequest", "CarePlan"], expression: "CarePlan.replaces | CommunicationRequest.replaces | ServiceRequest.replaces" } + ], + "responsibleparty": [ { name: "responsibleparty", @@ -2167,7 +2742,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationDispense"], expression: "MedicationDispense.substitution.responsibleParty" } + ], + "reporter": [ { name: "reporter", @@ -2175,7 +2752,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MeasureReport"], expression: "MeasureReport.reporter" } + ], + "holder": [ { name: "holder", @@ -2183,7 +2762,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicinalProductAuthorization"], expression: "MedicinalProductAuthorization.holder" } + ], + "started": [ { name: "started", @@ -2191,7 +2772,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImagingStudy"], expression: "ImagingStudy.started" } + ], + "activity-reference": [ { name: "activity-reference", @@ -2199,7 +2782,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CarePlan"], expression: "CarePlan.activity.reference" } + ], + "characteristic-value": [ { name: "characteristic-value", @@ -2207,7 +2792,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Group"], expression: "Group.characteristic" } + ], + "_profile": [ { name: "_profile", @@ -2215,7 +2802,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Resource"], expression: "Resource.meta.profile" } + ], + "performer-actor": [ { name: "performer-actor", @@ -2223,7 +2812,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ChargeItem"], expression: "ChargeItem.performer.actor" } + ], + "_content": [ { name: "_content", @@ -2231,7 +2822,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Resource"], expression: "$searchParam.getExpression()" } + ], + "insurance": [ { name: "insurance", @@ -2239,7 +2832,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DeviceRequest"], expression: "DeviceRequest.insurance" } + ], + "country": [ { name: "country", @@ -2247,7 +2842,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicinalProductAuthorization"], expression: "MedicinalProductAuthorization.country" } + ], + "agent": [ { name: "agent", @@ -2255,7 +2852,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Provenance", "AuditEvent"], expression: "AuditEvent.agent.who | Provenance.agent.who" } + ], + "gene-identifier": [ { name: "gene-identifier", @@ -2263,7 +2862,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation.extension('http://hl7.org/fhir/StructureDefinition/observation-geneticsGene')" } + ], + "participant-role": [ { name: "participant-role", @@ -2271,7 +2872,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Invoice"], expression: "Invoice.participant.role" } + ], + "source": [ { name: "source", @@ -2279,19 +2882,23 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DocumentManifest"], expression: "DocumentManifest.source" }, + { name: "source", 'type: r4:REFERENCE, base: ["AuditEvent", "QuestionnaireResponse", "List", "DeviceMetric", "ConceptMap", "Linkage", "MedicationStatement"], expression: "MedicationStatement.informationSource | Linkage.item.resource | (ConceptMap.source as canonical) | DeviceMetric.source | List.source | QuestionnaireResponse.source | AuditEvent.source.observer" }, + { name: "source", 'type: r4:STRING, base: ["MessageHeader"], expression: "MessageHeader.source.name" } + ], + "oraldiet": [ { name: "oraldiet", @@ -2299,7 +2906,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["NutritionOrder"], expression: "NutritionOrder.oralDiet.type" } + ], + "totalnet": [ { name: "totalnet", @@ -2307,7 +2916,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Invoice"], expression: "Invoice.totalNet" } + ], + "operator": [ { name: "operator", @@ -2315,7 +2926,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Media"], expression: "Media.operator" } + ], + "participant": [ { name: "participant", @@ -2323,13 +2936,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["TestReport"], expression: "TestReport.participant.uri" }, + { name: "participant", 'type: r4:REFERENCE, base: ["CareTeam", "Encounter", "RequestGroup", "Invoice"], expression: "Invoice.participant.actor | RequestGroup.action.participant | Encounter.participant.individual | CareTeam.participant.member" } + ], + "view": [ { name: "view", @@ -2337,7 +2953,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Media"], expression: "Media.view" } + ], + "output-profile": [ { name: "output-profile", @@ -2345,7 +2963,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["OperationDefinition"], expression: "OperationDefinition.outputProfile" } + ], + "agent-name": [ { name: "agent-name", @@ -2353,7 +2973,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AuditEvent"], expression: "AuditEvent.agent.name" } + ], + "chromosome-window-coordinate": [ { name: "chromosome-window-coordinate", @@ -2361,7 +2983,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MolecularSequence"], expression: "MolecularSequence.referenceSeq" } + ], + "referenceseqid": [ { name: "referenceseqid", @@ -2369,7 +2993,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MolecularSequence"], expression: "MolecularSequence.referenceSeq.referenceSeqId" } + ], + "keyword": [ { name: "keyword", @@ -2377,7 +3003,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["StructureDefinition", "ResearchStudy"], expression: "ResearchStudy.keyword | StructureDefinition.keyword" } + ], + "target-date": [ { name: "target-date", @@ -2385,7 +3013,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Goal"], expression: "(Goal.target.due as date)" } + ], + "activity-code": [ { name: "activity-code", @@ -2393,7 +3023,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CarePlan"], expression: "CarePlan.activity.detail.code" } + ], + "actual": [ { name: "actual", @@ -2401,7 +3033,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Group"], expression: "Group.actual" } + ], + "given": [ { name: "given", @@ -2409,7 +3043,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Patient", "Practitioner"], expression: "Patient.name.given | Practitioner.name.given" } + ], + "valueset": [ { name: "valueset", @@ -2417,15 +3053,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["StructureDefinition"], expression: "StructureDefinition.snapshot.element.binding.valueSet" } + ], - "birthOrderBoolean": [ - { - name: "birthOrderBoolean", - 'type: r4:TOKEN, - base: ["Patient"], - expression: "$searchParam.getExpression()" - } - ], + "value-quantity": [ { name: "value-quantity", @@ -2433,7 +3063,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "(Observation.value as Quantity) | (Observation.value as SampledData)" } + ], + "combo-value-quantity": [ { name: "combo-value-quantity", @@ -2441,7 +3073,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "(Observation.value as Quantity) | (Observation.value as SampledData) | (Observation.component.value as Quantity) | (Observation.component.value as SampledData)" } + ], + "incoming-referral": [ { name: "incoming-referral", @@ -2449,7 +3083,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["EpisodeOfCare"], expression: "EpisodeOfCare.referralRequest" } + ], + "measure": [ { name: "measure", @@ -2457,7 +3093,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MeasureReport"], expression: "MeasureReport.measure" } + ], + "name": [ { name: "name", @@ -2465,7 +3103,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["EventDefinition", "PlanDefinition", "Organization", "InsurancePlan", "Location", "Measure", "RelatedPerson", "ResearchDefinition", "Questionnaire", "Patient", "Evidence", "Library", "MedicinalProduct", "TestScript", "Endpoint", "CapabilityStatement", "CompartmentDefinition", "ConceptMap", "GraphDefinition", "ImplementationGuide", "MessageDefinition", "NamingSystem", "OperationDefinition", "SearchParameter", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "RiskEvidenceSynthesis", "ResearchElementDefinition", "EffectEvidenceSynthesis", "HealthcareService", "Account", "ExampleScenario", "ActivityDefinition", "EvidenceVariable", "Practitioner", "Person"], expression: "Person.name | Practitioner.name | EvidenceVariable.name | ActivityDefinition.name | ExampleScenario.name | Account.name | HealthcareService.name | EffectEvidenceSynthesis.name | ResearchElementDefinition.name | RiskEvidenceSynthesis.name | CapabilityStatement.name | CodeSystem.name | CompartmentDefinition.name | ConceptMap.name | GraphDefinition.name | ImplementationGuide.name | MessageDefinition.name | NamingSystem.name | OperationDefinition.name | SearchParameter.name | StructureDefinition.name | StructureMap.name | TerminologyCapabilities.name | ValueSet.name | Endpoint.name | TestScript.name | MedicinalProduct.name.productName | Library.name | Evidence.name | Patient.name | Questionnaire.name | ResearchDefinition.name | RelatedPerson.name | Measure.name | Location.name | Location.alias | name | alias | Organization.name | Organization.alias | PlanDefinition.name | EventDefinition.name" } + ], + "class-value": [ { name: "class-value", @@ -2473,7 +3113,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Coverage"], expression: "Coverage.class.value" } + ], + "support": [ { name: "support", @@ -2481,7 +3123,13 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImmunizationRecommendation"], expression: "ImmunizationRecommendation.recommendation.supportingImmunization" } - ], + + ] + +}; + +//Number of search params in INTERNATIONAL_IG_SEARCH_PARAMS_4 = 100 +final readonly & map INTERNATIONAL_IG_SEARCH_PARAMS_4 = { "questionnaire": [ { name: "questionnaire", @@ -2489,7 +3137,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["QuestionnaireResponse"], expression: "QuestionnaireResponse.questionnaire" } + ], + "_lastUpdated": [ { name: "_lastUpdated", @@ -2497,7 +3147,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Resource"], expression: "Resource.meta.lastUpdated" } + ], + "destination": [ { name: "destination", @@ -2505,16 +3157,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationDispense"], expression: "MedicationDispense.destination" }, + { name: "destination", 'type: r4:STRING, base: ["MessageHeader"], expression: "MessageHeader.destination.name" } - ] -}; -//Number of search params in INTERNATIONAL_IG_SEARCH_PARAMS_4 = 100 -final readonly & map INTERNATIONAL_IG_SEARCH_PARAMS_4 = { + + ], + "description": [ { name: "description", @@ -2522,7 +3174,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["EventDefinition", "Evidence", "Measure", "ChargeItemDefinition", "ActivityDefinition", "PlanDefinition", "ResearchDefinition", "Library", "DocumentReference", "CapabilityStatement", "CompartmentDefinition", "ConceptMap", "GraphDefinition", "ImplementationGuide", "MessageDefinition", "NamingSystem", "OperationDefinition", "SearchParameter", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "Questionnaire", "ResearchElementDefinition", "DocumentManifest", "EffectEvidenceSynthesis", "EvidenceVariable", "TestScript", "RiskEvidenceSynthesis"], expression: "RiskEvidenceSynthesis.description | TestScript.description | EvidenceVariable.description | EffectEvidenceSynthesis.description | DocumentManifest.description | ResearchElementDefinition.description | Questionnaire.description | CapabilityStatement.description | CodeSystem.description | CompartmentDefinition.description | ConceptMap.description | GraphDefinition.description | ImplementationGuide.description | MessageDefinition.description | NamingSystem.description | OperationDefinition.description | SearchParameter.description | StructureDefinition.description | StructureMap.description | TerminologyCapabilities.description | ValueSet.description | DocumentReference.description | Library.description | ResearchDefinition.description | PlanDefinition.description | ActivityDefinition.description | ChargeItemDefinition.description | Measure.description | Evidence.description | EventDefinition.description" } + ], + "reason-code": [ { name: "reason-code", @@ -2530,7 +3184,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Appointment", "Immunization", "Encounter", "Procedure"], expression: "Procedure.reasonCode | Encounter.reasonCode | Immunization.reasonCode | Appointment.reasonCode" } + ], + "finding-ref": [ { name: "finding-ref", @@ -2538,7 +3194,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ClinicalImpression"], expression: "ClinicalImpression.finding.itemReference" } + ], + "conclusion": [ { name: "conclusion", @@ -2546,7 +3204,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DiagnosticReport"], expression: "DiagnosticReport.conclusionCode" } + ], + "payor": [ { name: "payor", @@ -2554,7 +3214,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Coverage"], expression: "Coverage.payor" } + ], + "coverage-area": [ { name: "coverage-area", @@ -2562,7 +3224,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["HealthcareService"], expression: "HealthcareService.coverageArea" } + ], + "definition": [ { name: "definition", @@ -2570,13 +3234,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Questionnaire"], expression: "Questionnaire.item.definition" }, + { name: "definition", 'type: r4:REFERENCE, base: ["PlanDefinition"], expression: "PlanDefinition.action.definition" } + ], + "content-type": [ { name: "content-type", @@ -2584,7 +3251,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Library"], expression: "Library.content.contentType" } + ], + "referenceseqid-window-coordinate": [ { name: "referenceseqid-window-coordinate", @@ -2592,7 +3261,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MolecularSequence"], expression: "MolecularSequence.referenceSeq" } + ], + "severity": [ { name: "severity", @@ -2600,7 +3271,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Condition", "AllergyIntolerance", "AdverseEvent"], expression: "AdverseEvent.severity | AllergyIntolerance.reaction.severity | Condition.severity" } + ], + "coverage": [ { name: "coverage", @@ -2608,7 +3281,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ExplanationOfBenefit"], expression: "ExplanationOfBenefit.insurance.coverage" } + ], + "business-status": [ { name: "business-status", @@ -2616,7 +3291,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Task"], expression: "Task.businessStatus" } + ], + "previous": [ { name: "previous", @@ -2624,7 +3301,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ClinicalImpression"], expression: "ClinicalImpression.previous" } + ], + "device-name": [ { name: "device-name", @@ -2632,7 +3311,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Device"], expression: "Device.deviceName.name | Device.type.coding.display | Device.type.text" } + ], + "substance": [ { name: "substance", @@ -2640,7 +3321,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AdverseEvent"], expression: "AdverseEvent.suspectEntity.instance" } + ], + "start": [ { name: "start", @@ -2648,13 +3331,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["GraphDefinition"], expression: "GraphDefinition.start" }, + { name: "start", 'type: r4:DATE, base: ["Slot"], expression: "Slot.start" } + ], + "primary-organization": [ { name: "primary-organization", @@ -2662,7 +3348,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["OrganizationAffiliation"], expression: "OrganizationAffiliation.organization" } + ], + "attester": [ { name: "attester", @@ -2670,7 +3358,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Composition"], expression: "Composition.attester.party" } + ], + "target": [ { name: "target", @@ -2678,13 +3368,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MessageHeader", "VerificationResult", "ConceptMap", "Provenance"], expression: "Provenance.target | (ConceptMap.target as canonical) | VerificationResult.target | MessageHeader.destination.target" }, + { name: "target", 'type: r4:TOKEN, base: ["SearchParameter"], expression: "SearchParameter.target" } + ], + "_tag": [ { name: "_tag", @@ -2692,7 +3385,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Resource"], expression: "Resource.meta.tag" } + ], + "recipient": [ { name: "recipient", @@ -2700,7 +3395,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DocumentManifest", "Communication", "CommunicationRequest", "Invoice"], expression: "Invoice.recipient | CommunicationRequest.recipient | Communication.recipient | DocumentManifest.recipient" } + ], + "formula": [ { name: "formula", @@ -2708,7 +3405,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["NutritionOrder"], expression: "NutritionOrder.enteralFormula.baseFormulaType" } + ], + "location": [ { name: "location", @@ -2716,19 +3415,23 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Procedure", "Immunization", "Device", "Provenance", "Encounter", "AdverseEvent", "PractitionerRole", "OrganizationAffiliation", "Appointment", "HealthcareService", "AppointmentResponse"], expression: "AppointmentResponse.actor.where(resolve() is Location) | HealthcareService.location | Appointment.participant.actor.where(resolve() is Location) | OrganizationAffiliation.location | PractitionerRole.location | AdverseEvent.location | Encounter.location.location | Provenance.location | Device.location | Immunization.location | Procedure.location" }, + { name: "location", 'type: r4:TOKEN, base: ["BodyStructure", "ResearchStudy"], expression: "ResearchStudy.location | BodyStructure.location" }, + { name: "location", 'type: r4:URI, base: ["DocumentReference"], expression: "DocumentReference.content.attachment.url" } + ], + "component-code-value-concept": [ { name: "component-code-value-concept", @@ -2736,7 +3439,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation.component" } + ], + "risk": [ { name: "risk", @@ -2744,7 +3449,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["RiskAssessment"], expression: "RiskAssessment.prediction.qualitativeRisk" } + ], + "expiration-date": [ { name: "expiration-date", @@ -2752,7 +3459,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Medication"], expression: "Medication.batch.expirationDate" } + ], + "base": [ { name: "base", @@ -2760,13 +3469,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["SearchParameter"], expression: "SearchParameter.base" }, + { name: "base", 'type: r4:REFERENCE, base: ["OperationDefinition", "StructureDefinition"], expression: "StructureDefinition.baseDefinition | OperationDefinition.base" } + ], + "container": [ { name: "container", @@ -2774,7 +3486,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Specimen", "SpecimenDefinition"], expression: "SpecimenDefinition.typeTested.container.type | Specimen.container.type" } + ], + "udi-carrier": [ { name: "udi-carrier", @@ -2782,7 +3496,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Device"], expression: "Device.udiCarrier.carrierHRF" } + ], + "birthdate": [ { name: "birthdate", @@ -2790,7 +3506,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Patient", "Person", "RelatedPerson"], expression: "Patient.birthDate | Person.birthDate | RelatedPerson.birthDate" } + ], + "software": [ { name: "software", @@ -2798,7 +3516,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CapabilityStatement"], expression: "CapabilityStatement.software.name" } + ], + "requisition": [ { name: "requisition", @@ -2806,7 +3526,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ServiceRequest"], expression: "ServiceRequest.requisition" } + ], + "criteria": [ { name: "criteria", @@ -2814,7 +3536,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Subscription"], expression: "Subscription.criteria" } + ], + "resultingcondition": [ { name: "resultingcondition", @@ -2822,7 +3546,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AdverseEvent"], expression: "AdverseEvent.resultingCondition" } + ], + "tester": [ { name: "tester", @@ -2830,7 +3556,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["TestReport"], expression: "TestReport.tester" } + ], + "derived-from": [ { name: "derived-from", @@ -2838,7 +3566,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["EvidenceVariable", "Measure", "Library", "ResearchDefinition", "Observation", "ActivityDefinition", "Evidence", "EventDefinition", "PlanDefinition", "ResearchElementDefinition", "SearchParameter"], expression: "SearchParameter.derivedFrom | ResearchElementDefinition.relatedArtifact.where(type='derived-from').resource | PlanDefinition.relatedArtifact.where(type='derived-from').resource | EventDefinition.relatedArtifact.where(type='derived-from').resource | Evidence.relatedArtifact.where(type='derived-from').resource | ActivityDefinition.relatedArtifact.where(type='derived-from').resource | Observation.derivedFrom | ResearchDefinition.relatedArtifact.where(type='derived-from').resource | Library.relatedArtifact.where(type='derived-from').resource | Measure.relatedArtifact.where(type='derived-from').resource | EvidenceVariable.relatedArtifact.where(type='derived-from').resource" } + ], + "experimental": [ { name: "experimental", @@ -2846,7 +3576,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImplementationGuide", "StructureDefinition"], expression: "StructureDefinition.experimental | ImplementationGuide.experimental" } + ], + "status-reason": [ { name: "status-reason", @@ -2854,7 +3586,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Immunization"], expression: "Immunization.statusReason" } + ], + "collected": [ { name: "collected", @@ -2862,7 +3596,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Specimen"], expression: "Specimen.collection.collected" } + ], + "program": [ { name: "program", @@ -2870,7 +3606,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["HealthcareService"], expression: "HealthcareService.program" } + ], + "has-member": [ { name: "has-member", @@ -2878,7 +3616,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation.hasMember" } + ], + "type": [ { name: "type", @@ -2886,13 +3626,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["StructureDefinition"], expression: "StructureDefinition.type" }, + { name: "type", 'type: r4:TOKEN, base: ["Device", "SearchParameter", "NamingSystem", "DeviceDefinition", "SpecimenDefinition", "Account", "OperationDefinition", "Specimen", "Group", "Invoice", "AllergyIntolerance", "Composition", "DocumentManifest", "DocumentReference", "Encounter", "EpisodeOfCare", "MedicationDispense", "Organization", "PlanDefinition", "Subscription", "Location", "InsurancePlan", "AuditEvent", "MolecularSequence", "Library", "Coverage", "Media", "DeviceMetric"], expression: "DeviceMetric.type | Media.type | Coverage.type | Library.type | MolecularSequence.type | AuditEvent.type | InsurancePlan.type | Location.type | Subscription.channel.type | PlanDefinition.type | Organization.type | MedicationDispense.type | AllergyIntolerance.type | Composition.type | DocumentManifest.type | DocumentReference.type | Encounter.type | EpisodeOfCare.type | Invoice.type | Group.type | Specimen.type | OperationDefinition.type | Account.type | SpecimenDefinition.typeCollected | DeviceDefinition.type | NamingSystem.type | SearchParameter.type | Device.type" } + ], + "when": [ { name: "when", @@ -2900,7 +3643,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Provenance"], expression: "(Provenance.occurred as dateTime)" } + ], + "issuer": [ { name: "issuer", @@ -2908,15 +3653,29 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Invoice"], expression: "Invoice.issuer" } + ], + "relation": [ { - name: "relation", - 'type: r4:TOKEN, - base: ["DocumentReference"], - expression: "DocumentReference.relatesTo.code" + name: "relation", + 'type: r4:TOKEN, + base: ["DocumentReference"], + expression: "DocumentReference.relatesTo.code" + } + + ], + + "MothersMaidenName": [ + { + name: "MothersMaidenName", + 'type: r4:STRING, + base: ["Patient"], + expression: "Patient.extension('http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName').value" } + ], + "death-date": [ { name: "death-date", @@ -2924,7 +3683,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Patient"], expression: "(Patient.deceased as dateTime)" } + ], + "problem": [ { name: "problem", @@ -2932,7 +3693,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ClinicalImpression"], expression: "ClinicalImpression.problem" } + ], + "identified": [ { name: "identified", @@ -2940,7 +3703,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DetectedIssue"], expression: "DetectedIssue.identified" } + ], + "reason-not-given": [ { name: "reason-not-given", @@ -2948,7 +3713,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationAdministration"], expression: "MedicationAdministration.statusReason" } + ], + "issued": [ { name: "issued", @@ -2956,7 +3723,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["TestReport", "DiagnosticReport", "Contract"], expression: "Contract.issued | DiagnosticReport.issued | TestReport.issued" } + ], + "dependent": [ { name: "dependent", @@ -2964,7 +3733,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Coverage"], expression: "Coverage.dependent" } + ], + "context-type-quantity": [ { name: "context-type-quantity", @@ -2972,7 +3743,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["EffectEvidenceSynthesis", "PlanDefinition", "ActivityDefinition", "ChargeItemDefinition", "ExampleScenario", "TestScript", "Evidence", "RiskEvidenceSynthesis", "Library", "CapabilityStatement", "CompartmentDefinition", "ConceptMap", "GraphDefinition", "ImplementationGuide", "MessageDefinition", "NamingSystem", "OperationDefinition", "SearchParameter", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "ResearchElementDefinition", "Measure", "EventDefinition", "Questionnaire", "ResearchDefinition", "EvidenceVariable"], expression: "EvidenceVariable.useContext | ResearchDefinition.useContext | Questionnaire.useContext | EventDefinition.useContext | Measure.useContext | ResearchElementDefinition.useContext | CapabilityStatement.useContext | CodeSystem.useContext | CompartmentDefinition.useContext | ConceptMap.useContext | GraphDefinition.useContext | ImplementationGuide.useContext | MessageDefinition.useContext | NamingSystem.useContext | OperationDefinition.useContext | SearchParameter.useContext | StructureDefinition.useContext | StructureMap.useContext | TerminologyCapabilities.useContext | ValueSet.useContext | Library.useContext | RiskEvidenceSynthesis.useContext | Evidence.useContext | TestScript.useContext | ExampleScenario.useContext | ChargeItemDefinition.useContext | ActivityDefinition.useContext | PlanDefinition.useContext | EffectEvidenceSynthesis.useContext" } + ], + "guide": [ { name: "guide", @@ -2980,15 +3753,19 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CapabilityStatement"], expression: "CapabilityStatement.implementationGuide" } + ], + "identifier": [ { name: "identifier", 'type: r4:TOKEN, - base: ["PractitionerRole", "ExplanationOfBenefit", "ActivityDefinition", "Patient", "ResearchDefinition", "Group", "Task", "TestScript", "Device", "Location", "ConceptMap", "MessageDefinition", "StructureDefinition", "StructureMap", "Coverage", "MedicinalProductPackaged", "ResearchStudy", "Media", "ResearchSubject", "Medication", "Appointment", "MedicinalProductAuthorization", "OrganizationAffiliation", "Communication", "SpecimenDefinition", "Questionnaire", "Invoice", "ResearchElementDefinition", "Measure", "Specimen", "Organization", "Claim", "InsurancePlan", "HealthcareService", "ClinicalImpression", "ClaimResponse", "CoverageEligibilityResponse", "RelatedPerson", "Schedule", "DeviceUseStatement", "EffectEvidenceSynthesis", "EnrollmentRequest", "PlanDefinition", "Flag", "Account", "PaymentNotice", "CommunicationRequest", "Evidence", "Person", "ImmunizationEvaluation", "CoverageEligibilityRequest", "EventDefinition", "EnrollmentResponse", "Practitioner", "DeviceMetric", "ImmunizationRecommendation", "Basic", "Slot", "AppointmentResponse", "RiskEvidenceSynthesis", "EvidenceVariable", "AllergyIntolerance", "CarePlan", "CareTeam", "Composition", "Condition", "Consent", "DetectedIssue", "DeviceRequest", "DiagnosticReport", "DocumentManifest", "DocumentReference", "Encounter", "EpisodeOfCare", "FamilyMemberHistory", "Goal", "ImagingStudy", "Immunization", "List", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "NutritionOrder", "Observation", "Procedure", "RiskAssessment", "ServiceRequest", "SupplyDelivery", "SupplyRequest", "VisionPrescription", "ExampleScenario", "Contract", "BodyStructure", "MedicinalProduct", "RequestGroup", "QuestionnaireResponse", "ChargeItem", "MedicinalProductPharmaceutical", "MolecularSequence", "Substance", "Endpoint", "DeviceDefinition", "GuidanceResponse", "ChargeItemDefinition", "Library", "MeasureReport", "TestReport", "PaymentReconciliation"], - expression: "PaymentReconciliation.identifier | TestReport.identifier | MeasureReport.identifier | Library.identifier | ChargeItemDefinition.identifier | GuidanceResponse.identifier | DeviceDefinition.identifier | Endpoint.identifier | Substance.identifier | MolecularSequence.identifier | MedicinalProductPharmaceutical.identifier | ChargeItem.identifier | QuestionnaireResponse.identifier | RequestGroup.identifier | MedicinalProduct.identifier | BodyStructure.identifier | Contract.identifier | ExampleScenario.identifier | AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.masterIdentifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationStatement.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier | EvidenceVariable.identifier | RiskEvidenceSynthesis.identifier | AppointmentResponse.identifier | Slot.identifier | Basic.identifier | ImmunizationRecommendation.identifier | DeviceMetric.identifier | Practitioner.identifier | EnrollmentResponse.identifier | EventDefinition.identifier | CoverageEligibilityRequest.identifier | ImmunizationEvaluation.identifier | Person.identifier | Evidence.identifier | CommunicationRequest.identifier | PaymentNotice.identifier | Account.identifier | Flag.identifier | PlanDefinition.identifier | EnrollmentRequest.identifier | EffectEvidenceSynthesis.identifier | DeviceUseStatement.identifier | Schedule.identifier | RelatedPerson.identifier | CoverageEligibilityResponse.identifier | ClaimResponse.identifier | ClinicalImpression.identifier | HealthcareService.identifier | InsurancePlan.identifier | Claim.identifier | Organization.identifier | Specimen.identifier | Measure.identifier | ResearchElementDefinition.identifier | Invoice.identifier | Questionnaire.identifier | SpecimenDefinition.identifier | Communication.identifier | OrganizationAffiliation.identifier | MedicinalProductAuthorization.identifier | Appointment.identifier | Medication.identifier | ResearchSubject.identifier | Media.identifier | ResearchStudy.identifier | MedicinalProductPackaged.identifier | Coverage.identifier | CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | ValueSet.identifier | Location.identifier | Device.identifier | TestScript.identifier | Task.identifier | Group.identifier | ResearchDefinition.identifier | Patient.identifier | ActivityDefinition.identifier | ExplanationOfBenefit.identifier | PractitionerRole.identifier" + base: ["PractitionerRole", "ExplanationOfBenefit", "ActivityDefinition", "Patient", "ResearchDefinition", "Group", "Task", "TestScript", "Device", "Location", "ConceptMap", "MessageDefinition", "StructureDefinition", "StructureMap", "Coverage", "MedicinalProductPackaged", "ResearchStudy", "Media", "ResearchSubject", "Medication", "Appointment", "MedicinalProductAuthorization", "OrganizationAffiliation", "Communication", "SpecimenDefinition", "Questionnaire", "Invoice", "ResearchElementDefinition", "Specimen", "Measure", "Organization", "Claim", "InsurancePlan", "HealthcareService", "ClinicalImpression", "ClaimResponse", "CoverageEligibilityResponse", "RelatedPerson", "Schedule", "DeviceUseStatement", "EffectEvidenceSynthesis", "EnrollmentRequest", "PlanDefinition", "Flag", "Account", "PaymentNotice", "CommunicationRequest", "Evidence", "Person", "ImmunizationEvaluation", "CoverageEligibilityRequest", "EventDefinition", "EnrollmentResponse", "Practitioner", "DeviceMetric", "ImmunizationRecommendation", "Basic", "Slot", "AppointmentResponse", "RiskEvidenceSynthesis", "EvidenceVariable", "AllergyIntolerance", "CarePlan", "CareTeam", "Composition", "Condition", "Consent", "DetectedIssue", "DeviceRequest", "DiagnosticReport", "DocumentManifest", "DocumentReference", "Encounter", "EpisodeOfCare", "FamilyMemberHistory", "Goal", "ImagingStudy", "Immunization", "List", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "NutritionOrder", "Observation", "Procedure", "RiskAssessment", "ServiceRequest", "SupplyDelivery", "SupplyRequest", "VisionPrescription", "ExampleScenario", "Contract", "BodyStructure", "MedicinalProduct", "RequestGroup", "QuestionnaireResponse", "ChargeItem", "MedicinalProductPharmaceutical", "MolecularSequence", "Substance", "Endpoint", "DeviceDefinition", "GuidanceResponse", "ChargeItemDefinition", "Library", "MeasureReport", "TestReport", "PaymentReconciliation"], + expression: "PaymentReconciliation.identifier | TestReport.identifier | MeasureReport.identifier | Library.identifier | ChargeItemDefinition.identifier | GuidanceResponse.identifier | DeviceDefinition.identifier | Endpoint.identifier | Substance.identifier | MolecularSequence.identifier | MedicinalProductPharmaceutical.identifier | ChargeItem.identifier | QuestionnaireResponse.identifier | RequestGroup.identifier | MedicinalProduct.identifier | BodyStructure.identifier | Contract.identifier | ExampleScenario.identifier | AllergyIntolerance.identifier | CarePlan.identifier | CareTeam.identifier | Composition.identifier | Condition.identifier | Consent.identifier | DetectedIssue.identifier | DeviceRequest.identifier | DiagnosticReport.identifier | DocumentManifest.masterIdentifier | DocumentManifest.identifier | DocumentReference.masterIdentifier | DocumentReference.identifier | Encounter.identifier | EpisodeOfCare.identifier | FamilyMemberHistory.identifier | Goal.identifier | ImagingStudy.identifier | Immunization.identifier | List.identifier | MedicationAdministration.identifier | MedicationDispense.identifier | MedicationRequest.identifier | MedicationStatement.identifier | NutritionOrder.identifier | Observation.identifier | Procedure.identifier | RiskAssessment.identifier | ServiceRequest.identifier | SupplyDelivery.identifier | SupplyRequest.identifier | VisionPrescription.identifier | EvidenceVariable.identifier | RiskEvidenceSynthesis.identifier | AppointmentResponse.identifier | Slot.identifier | Basic.identifier | ImmunizationRecommendation.identifier | DeviceMetric.identifier | Practitioner.identifier | EnrollmentResponse.identifier | EventDefinition.identifier | CoverageEligibilityRequest.identifier | ImmunizationEvaluation.identifier | Person.identifier | Evidence.identifier | CommunicationRequest.identifier | PaymentNotice.identifier | Account.identifier | Flag.identifier | PlanDefinition.identifier | EnrollmentRequest.identifier | EffectEvidenceSynthesis.identifier | DeviceUseStatement.identifier | Schedule.identifier | RelatedPerson.identifier | CoverageEligibilityResponse.identifier | ClaimResponse.identifier | ClinicalImpression.identifier | HealthcareService.identifier | InsurancePlan.identifier | Claim.identifier | Organization.identifier | Measure.identifier | Specimen.identifier | ResearchElementDefinition.identifier | Invoice.identifier | Questionnaire.identifier | SpecimenDefinition.identifier | Communication.identifier | OrganizationAffiliation.identifier | MedicinalProductAuthorization.identifier | Appointment.identifier | Medication.identifier | ResearchSubject.identifier | Media.identifier | ResearchStudy.identifier | MedicinalProductPackaged.identifier | Coverage.identifier | CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | ValueSet.identifier | Location.identifier | Device.identifier | TestScript.identifier | Task.identifier | Group.identifier | ResearchDefinition.identifier | Patient.identifier | ActivityDefinition.identifier | ExplanationOfBenefit.identifier | PractitionerRole.identifier" } + ], + "item": [ { name: "item", @@ -2996,7 +3773,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DocumentManifest", "Linkage", "List"], expression: "List.entry.item | Linkage.item.resource | DocumentManifest.content" } + ], + "intended-dispenser": [ { name: "intended-dispenser", @@ -3004,7 +3783,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationRequest"], expression: "MedicationRequest.dispenseRequest.performer" } + ], + "goal": [ { name: "goal", @@ -3012,7 +3793,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CarePlan"], expression: "CarePlan.goal" } + ], + "subscriber": [ { name: "subscriber", @@ -3020,7 +3803,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Coverage"], expression: "Coverage.subscriber" } + ], + "method": [ { name: "method", @@ -3028,7 +3813,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation", "RiskAssessment"], expression: "RiskAssessment.method | Observation.method" } + ], + "probability": [ { name: "probability", @@ -3036,7 +3823,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["RiskAssessment"], expression: "RiskAssessment.prediction.probability" } + ], + "priority": [ { name: "priority", @@ -3044,7 +3833,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CommunicationRequest", "Task", "Claim", "MedicationRequest", "RequestGroup", "ServiceRequest"], expression: "ServiceRequest.priority | RequestGroup.priority | MedicationRequest.priority | Claim.priority | Task.priority | CommunicationRequest.priority" } + ], + "ID-SEARCH-PARAMETER": [ { name: "ID-SEARCH-PARAMETER", @@ -3052,7 +3843,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Resource"], expression: "id" } + ], + "payload-type": [ { name: "payload-type", @@ -3060,7 +3853,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Endpoint"], expression: "Endpoint.payloadType" } + ], + "security-label": [ { name: "security-label", @@ -3068,7 +3863,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Consent", "DocumentReference"], expression: "DocumentReference.securityLabel | Consent.provision.securityLabel" } + ], + "phone": [ { name: "phone", @@ -3076,7 +3873,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["OrganizationAffiliation", "Patient", "Person", "Practitioner", "PractitionerRole", "RelatedPerson"], expression: "Patient.telecom.where(system='phone') | Person.telecom.where(system='phone') | Practitioner.telecom.where(system='phone') | PractitionerRole.telecom.where(system='phone') | RelatedPerson.telecom.where(system='phone') | OrganizationAffiliation.telecom.where(system='phone')" } + ], + "abatement-string": [ { name: "abatement-string", @@ -3084,7 +3883,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Condition"], expression: "Condition.abatement.as(string)" } + ], + "entity-type": [ { name: "entity-type", @@ -3092,7 +3893,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AuditEvent"], expression: "AuditEvent.entity.type" } + ], + "study": [ { name: "study", @@ -3100,7 +3903,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ResearchSubject", "AdverseEvent"], expression: "AdverseEvent.study | ResearchSubject.study" } + ], + "_query": [ { name: "_query", @@ -3108,7 +3913,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Resource"], expression: "$searchParam.getExpression()" } + ], + "performing-organization": [ { name: "performing-organization", @@ -3116,7 +3923,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ChargeItem"], expression: "ChargeItem.performingOrganization" } + ], + "gender": [ { name: "gender", @@ -3124,7 +3933,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Patient", "Person", "Practitioner", "RelatedPerson"], expression: "Patient.gender | Person.gender | Practitioner.gender | RelatedPerson.gender" } + ], + "confidentiality": [ { name: "confidentiality", @@ -3132,7 +3943,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Composition"], expression: "Composition.confidentiality" } + ], + "context-type": [ { name: "context-type", @@ -3140,7 +3953,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["EventDefinition", "Evidence", "RiskEvidenceSynthesis", "EffectEvidenceSynthesis", "ResearchElementDefinition", "Library", "TestScript", "ActivityDefinition", "EvidenceVariable", "Questionnaire", "ResearchDefinition", "Measure", "CapabilityStatement", "CompartmentDefinition", "ConceptMap", "GraphDefinition", "ImplementationGuide", "MessageDefinition", "NamingSystem", "OperationDefinition", "SearchParameter", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "ExampleScenario", "PlanDefinition", "ChargeItemDefinition"], expression: "ChargeItemDefinition.useContext.code | PlanDefinition.useContext.code | ExampleScenario.useContext.code | CapabilityStatement.useContext.code | CodeSystem.useContext.code | CompartmentDefinition.useContext.code | ConceptMap.useContext.code | GraphDefinition.useContext.code | ImplementationGuide.useContext.code | MessageDefinition.useContext.code | NamingSystem.useContext.code | OperationDefinition.useContext.code | SearchParameter.useContext.code | StructureDefinition.useContext.code | StructureMap.useContext.code | TerminologyCapabilities.useContext.code | ValueSet.useContext.code | Measure.useContext.code | ResearchDefinition.useContext.code | Questionnaire.useContext.code | EvidenceVariable.useContext.code | ActivityDefinition.useContext.code | TestScript.useContext.code | Library.useContext.code | ResearchElementDefinition.useContext.code | EffectEvidenceSynthesis.useContext.code | RiskEvidenceSynthesis.useContext.code | Evidence.useContext.code | EventDefinition.useContext.code" } + ], + "group-identifier": [ { name: "group-identifier", @@ -3148,7 +3963,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DeviceRequest", "RequestGroup", "CommunicationRequest", "Task"], expression: "Task.groupIdentifier | CommunicationRequest.groupIdentifier | RequestGroup.groupIdentifier | DeviceRequest.groupIdentifier" } + ], + "based-on": [ { name: "based-on", @@ -3156,7 +3973,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CommunicationRequest", "ServiceRequest", "Appointment", "Encounter", "Task", "Procedure", "Communication", "QuestionnaireResponse", "CarePlan", "Media", "Observation", "DiagnosticReport", "DeviceRequest"], expression: "DeviceRequest.basedOn | DiagnosticReport.basedOn | Observation.basedOn | Media.basedOn | CarePlan.basedOn | QuestionnaireResponse.basedOn | Communication.basedOn | Procedure.basedOn | Task.basedOn | Encounter.basedOn | Appointment.basedOn | ServiceRequest.basedOn | CommunicationRequest.basedOn" } + ], + "telecom": [ { name: "telecom", @@ -3164,7 +3983,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Patient", "Person", "Practitioner", "PractitionerRole", "RelatedPerson", "NamingSystem", "OrganizationAffiliation"], expression: "OrganizationAffiliation.telecom | NamingSystem.contact.telecom | Patient.telecom | Person.telecom | Practitioner.telecom | PractitionerRole.telecom | RelatedPerson.telecom" } + ], + "event": [ { name: "event", @@ -3172,7 +3993,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AdverseEvent", "MessageDefinition", "DocumentReference", "MessageHeader"], expression: "MessageHeader.event | DocumentReference.context.event | MessageDefinition.event | AdverseEvent.event" } + ], + "address-city": [ { name: "address-city", @@ -3180,7 +4003,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["InsurancePlan", "Organization", "Patient", "Person", "Practitioner", "RelatedPerson", "Location"], expression: "Location.address.city | Patient.address.city | Person.address.city | Practitioner.address.city | RelatedPerson.address.city | Organization.address.city | InsurancePlan.contact.address.city" } + ], + "managing-entity": [ { name: "managing-entity", @@ -3188,7 +4013,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Group"], expression: "Group.managingEntity" } + ], + "performer": [ { name: "performer", @@ -3196,13 +4023,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Task"], expression: "Task.performerType" }, + { name: "performer", 'type: r4:REFERENCE, base: ["MedicationDispense", "DiagnosticReport", "Immunization", "DeviceRequest", "CarePlan", "ServiceRequest", "MedicationAdministration", "Observation", "Procedure", "ImagingStudy", "RiskAssessment"], expression: "RiskAssessment.performer | ImagingStudy.series.performer.actor | Procedure.performer.actor | Observation.performer | MedicationAdministration.performer.actor | ServiceRequest.performer | CarePlan.activity.detail.performer | DeviceRequest.performer | Immunization.performer.actor | DiagnosticReport.performer | MedicationDispense.performer.actor" } + ], + "resource-profile": [ { name: "resource-profile", @@ -3210,7 +4040,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CapabilityStatement"], expression: "CapabilityStatement.rest.resource.profile" } + ], + "owned-by": [ { name: "owned-by", @@ -3218,7 +4050,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["InsurancePlan"], expression: "InsurancePlan.ownedBy" } + ], + "data-absent-reason": [ { name: "data-absent-reason", @@ -3226,7 +4060,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation.dataAbsentReason" } + ], + "abstract": [ { name: "abstract", @@ -3234,7 +4070,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["StructureDefinition"], expression: "StructureDefinition.abstract" } + ], + "id-type": [ { name: "id-type", @@ -3242,7 +4080,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["NamingSystem"], expression: "NamingSystem.uniqueId.type" } + ], + "immunization-event": [ { name: "immunization-event", @@ -3250,7 +4090,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImmunizationEvaluation"], expression: "ImmunizationEvaluation.immunizationEvent" } + ], + "site": [ { name: "site", @@ -3258,13 +4100,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ResearchStudy"], expression: "ResearchStudy.site" }, + { name: "site", 'type: r4:TOKEN, base: ["AuditEvent", "Media"], expression: "Media.bodySite | AuditEvent.source.site" } + ], + "prescription": [ { name: "prescription", @@ -3272,7 +4117,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationDispense"], expression: "MedicationDispense.authorizingPrescription" } + ], + "organization": [ { name: "organization", @@ -3280,7 +4127,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Device", "EpisodeOfCare", "PractitionerRole", "Endpoint", "Patient", "Location", "HealthcareService", "Person", "Consent"], expression: "Consent.organization | Person.managingOrganization | HealthcareService.providedBy | Location.managingOrganization | Patient.managingOrganization | Endpoint.managingOrganization | PractitionerRole.organization | EpisodeOfCare.managingOrganization | Device.owner" } + ], + "testscript": [ { name: "testscript", @@ -3288,7 +4137,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["TestReport"], expression: "TestReport.testScript" } + ], + "body-site": [ { name: "body-site", @@ -3296,7 +4147,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Condition", "ServiceRequest"], expression: "ServiceRequest.bodySite | Condition.bodySite" } + ], + "facility": [ { name: "facility", @@ -3304,13 +4157,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DocumentReference"], expression: "DocumentReference.context.facilityType" }, + { name: "facility", 'type: r4:REFERENCE, base: ["CoverageEligibilityRequest", "Claim", "ExplanationOfBenefit"], expression: "ExplanationOfBenefit.facility | Claim.facility | CoverageEligibilityRequest.facility" } + ], + "combo-value-concept": [ { name: "combo-value-concept", @@ -3318,7 +4174,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "(Observation.value as CodeableConcept) | (Observation.component.value as CodeableConcept)" } + ], + "date": [ { name: "date", @@ -3326,7 +4184,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ExampleScenario", "CapabilityStatement", "CompartmentDefinition", "ConceptMap", "GraphDefinition", "ImplementationGuide", "MessageDefinition", "NamingSystem", "OperationDefinition", "SearchParameter", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "ImmunizationRecommendation", "RiskEvidenceSynthesis", "AuditEvent", "Questionnaire", "Library", "EvidenceVariable", "DocumentReference", "EffectEvidenceSynthesis", "ActivityDefinition", "ResearchStudy", "PlanDefinition", "TestScript", "Appointment", "Invoice", "ChargeItemDefinition", "AllergyIntolerance", "CarePlan", "CareTeam", "ClinicalImpression", "Composition", "Consent", "DiagnosticReport", "Encounter", "EpisodeOfCare", "FamilyMemberHistory", "Flag", "Immunization", "List", "Observation", "Procedure", "RiskAssessment", "SupplyRequest", "MeasureReport", "MedicationRequest", "Schedule", "Evidence", "ImmunizationEvaluation", "ResearchSubject", "Measure", "PractitionerRole", "ResearchDefinition", "ResearchElementDefinition", "OrganizationAffiliation", "AdverseEvent", "EventDefinition"], expression: "EventDefinition.date | AdverseEvent.date | OrganizationAffiliation.period | ResearchElementDefinition.date | ResearchDefinition.date | PractitionerRole.period | Measure.date | ResearchSubject.period | ImmunizationEvaluation.date | Evidence.date | Schedule.planningHorizon | MedicationRequest.dosageInstruction.timing.event | MeasureReport.date | AllergyIntolerance.recordedDate | CarePlan.period | CareTeam.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.performed | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn | ChargeItemDefinition.date | Invoice.date | Appointment.start | TestScript.date | PlanDefinition.date | ResearchStudy.period | ActivityDefinition.date | EffectEvidenceSynthesis.date | DocumentReference.date | EvidenceVariable.date | Library.date | Questionnaire.date | AuditEvent.recorded | RiskEvidenceSynthesis.date | ImmunizationRecommendation.date | CapabilityStatement.date | CodeSystem.date | CompartmentDefinition.date | ConceptMap.date | GraphDefinition.date | ImplementationGuide.date | MessageDefinition.date | NamingSystem.date | OperationDefinition.date | SearchParameter.date | StructureDefinition.date | StructureMap.date | TerminologyCapabilities.date | ValueSet.date | ExampleScenario.date" } + ], + "instantiates": [ { name: "instantiates", @@ -3334,7 +4194,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Contract"], expression: "Contract.instantiatesUri" } + ], + "address-state": [ { name: "address-state", @@ -3342,7 +4204,13 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["InsurancePlan", "Patient", "Person", "Practitioner", "RelatedPerson", "Location", "Organization"], expression: "Organization.address.state | Location.address.state | Patient.address.state | Person.address.state | Practitioner.address.state | RelatedPerson.address.state | InsurancePlan.contact.address.state" } - ], + + ] + +}; + +//Number of search params in INTERNATIONAL_IG_SEARCH_PARAMS_5 = 61 +final readonly & map INTERNATIONAL_IG_SEARCH_PARAMS_5 = { "data": [ { name: "data", @@ -3350,7 +4218,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Consent"], expression: "Consent.provision.data.reference" } + ], + "verification-status": [ { name: "verification-status", @@ -3358,7 +4228,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Condition", "AllergyIntolerance"], expression: "AllergyIntolerance.verificationStatus | Condition.verificationStatus" } + ], + "appointment": [ { name: "appointment", @@ -3366,7 +4238,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Encounter", "AppointmentResponse"], expression: "AppointmentResponse.appointment | Encounter.appointment" } + ], + "section": [ { name: "section", @@ -3374,10 +4248,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Composition"], expression: "Composition.section.code" } - ] -}; -//Number of search params in INTERNATIONAL_IG_SEARCH_PARAMS_5 = 55 -final readonly & map INTERNATIONAL_IG_SEARCH_PARAMS_5 = { + + ], + "monograph-type": [ { name: "monograph-type", @@ -3385,7 +4258,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationKnowledge"], expression: "MedicationKnowledge.monograph.type" } + ], + "window-end": [ { name: "window-end", @@ -3393,7 +4268,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MolecularSequence"], expression: "MolecularSequence.referenceSeq.windowEnd" } + ], + "depends-on": [ { name: "depends-on", @@ -3401,7 +4278,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ActivityDefinition", "ResearchDefinition", "ImplementationGuide", "Library", "PlanDefinition", "Evidence", "EvidenceVariable", "EventDefinition", "ResearchElementDefinition", "Measure"], expression: "Measure.relatedArtifact.where(type='depends-on').resource | Measure.library | ResearchElementDefinition.relatedArtifact.where(type='depends-on').resource | ResearchElementDefinition.library | EventDefinition.relatedArtifact.where(type='depends-on').resource | EvidenceVariable.relatedArtifact.where(type='depends-on').resource | Evidence.relatedArtifact.where(type='depends-on').resource | PlanDefinition.relatedArtifact.where(type='depends-on').resource | PlanDefinition.library | Library.relatedArtifact.where(type='depends-on').resource | ImplementationGuide.dependsOn.uri | ResearchDefinition.relatedArtifact.where(type='depends-on').resource | ResearchDefinition.library | ActivityDefinition.relatedArtifact.where(type='depends-on').resource | ActivityDefinition.library" } + ], + "protocol": [ { name: "protocol", @@ -3409,7 +4288,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ResearchStudy"], expression: "ResearchStudy.protocol" } + ], + "entity-name": [ { name: "entity-name", @@ -3417,7 +4298,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AuditEvent"], expression: "AuditEvent.entity.name" } + ], + "price-override": [ { name: "price-override", @@ -3425,7 +4308,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ChargeItem"], expression: "ChargeItem.priceOverride" } + ], + "monitoring-program-type": [ { name: "monitoring-program-type", @@ -3433,7 +4318,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationKnowledge"], expression: "MedicationKnowledge.monitoringProgram.type" } + ], + "procedure-udi": [ { name: "procedure-udi", @@ -3441,7 +4328,19 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Claim", "ExplanationOfBenefit"], expression: "ExplanationOfBenefit.procedure.udi | Claim.procedure.udi" } + + ], + + "BarrierCodeSearchParameter": [ + { + name: "BarrierCodeSearchParameter", + 'type: r4:TOKEN, + base: ["CarePlan", "CommunicationRequest", "Goal"], + expression: "CarePlan.activity.extension('http://hl7.org/fhir/StructureDefinition/workflow-barrier').value.concept | CommunicationRequest.extension('http://hl7.org/fhir/StructureDefinition/workflow-barrier').value.concept | Goal.extension('http://hl7.org/fhir/StructureDefinition/workflow-barrier').value.concept" + } + ], + "doseform": [ { name: "doseform", @@ -3449,7 +4348,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationKnowledge"], expression: "MedicationKnowledge.doseForm" } + ], + "individual": [ { name: "individual", @@ -3457,7 +4358,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ResearchSubject"], expression: "ResearchSubject.individual" } + ], + "resource": [ { name: "resource", @@ -3465,13 +4368,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ImplementationGuide"], expression: "ImplementationGuide.definition.resource.reference" }, + { name: "resource", 'type: r4:TOKEN, base: ["CapabilityStatement", "CompartmentDefinition"], expression: "CompartmentDefinition.resource.code | CapabilityStatement.rest.resource.type" } + ], + "created": [ { name: "created", @@ -3479,7 +4385,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["PaymentReconciliation", "CoverageEligibilityRequest", "DocumentManifest", "CoverageEligibilityResponse", "PaymentNotice", "Claim", "Basic", "Media", "ExplanationOfBenefit", "ClaimResponse"], expression: "ClaimResponse.created | ExplanationOfBenefit.created | Media.created | Basic.created | Claim.created | PaymentNotice.created | CoverageEligibilityResponse.created | DocumentManifest.created | CoverageEligibilityRequest.created | PaymentReconciliation.created" } + ], + "kind": [ { name: "kind", @@ -3487,7 +4395,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["OperationDefinition", "StructureDefinition", "NamingSystem"], expression: "NamingSystem.kind | StructureDefinition.kind | OperationDefinition.kind" } + ], + "format": [ { name: "format", @@ -3495,7 +4405,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CapabilityStatement", "DocumentReference"], expression: "DocumentReference.content.format | CapabilityStatement.format" } + ], + "instantiates-canonical": [ { name: "instantiates-canonical", @@ -3503,7 +4415,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CarePlan", "Communication", "DeviceRequest", "NutritionOrder", "Procedure", "ServiceRequest", "FamilyMemberHistory", "RequestGroup"], expression: "RequestGroup.instantiatesCanonical | FamilyMemberHistory.instantiatesCanonical | ServiceRequest.instantiatesCanonical | Procedure.instantiatesCanonical | NutritionOrder.instantiatesCanonical | DeviceRequest.instantiatesCanonical | Communication.instantiatesCanonical | CarePlan.instantiatesCanonical" } + ], + "sent": [ { name: "sent", @@ -3511,7 +4425,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Communication"], expression: "Communication.sent" } + ], + "code-value-concept": [ { name: "code-value-concept", @@ -3519,7 +4435,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation" } + ], + "asserter": [ { name: "asserter", @@ -3527,7 +4445,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AllergyIntolerance", "Condition"], expression: "Condition.asserter | AllergyIntolerance.asserter" } + ], + "vaccine-code": [ { name: "vaccine-code", @@ -3535,7 +4455,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Immunization"], expression: "Immunization.vaccineCode" } + ], + "topic": [ { name: "topic", @@ -3543,7 +4465,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["EventDefinition", "Library", "PlanDefinition", "ResearchElementDefinition", "Evidence", "Measure", "ActivityDefinition", "ResearchDefinition", "EvidenceVariable"], expression: "EvidenceVariable.topic | ResearchDefinition.topic | ActivityDefinition.topic | Measure.topic | Evidence.topic | ResearchElementDefinition.topic | PlanDefinition.topic | Library.topic | EventDefinition.topic" } + ], + "publisher": [ { name: "publisher", @@ -3551,7 +4475,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ChargeItemDefinition", "TestScript", "CapabilityStatement", "CompartmentDefinition", "ConceptMap", "GraphDefinition", "ImplementationGuide", "MessageDefinition", "NamingSystem", "OperationDefinition", "SearchParameter", "StructureDefinition", "StructureMap", "TerminologyCapabilities", "ResearchDefinition", "ExampleScenario", "RiskEvidenceSynthesis", "ActivityDefinition", "Measure", "ResearchElementDefinition", "EvidenceVariable", "EventDefinition", "Questionnaire", "PlanDefinition", "EffectEvidenceSynthesis", "Library", "Evidence"], expression: "Evidence.publisher | Library.publisher | EffectEvidenceSynthesis.publisher | PlanDefinition.publisher | Questionnaire.publisher | EventDefinition.publisher | EvidenceVariable.publisher | ResearchElementDefinition.publisher | Measure.publisher | ActivityDefinition.publisher | RiskEvidenceSynthesis.publisher | ExampleScenario.publisher | ResearchDefinition.publisher | CapabilityStatement.publisher | CodeSystem.publisher | CompartmentDefinition.publisher | ConceptMap.publisher | GraphDefinition.publisher | ImplementationGuide.publisher | MessageDefinition.publisher | NamingSystem.publisher | OperationDefinition.publisher | SearchParameter.publisher | StructureDefinition.publisher | StructureMap.publisher | TerminologyCapabilities.publisher | ValueSet.publisher | TestScript.publisher | ChargeItemDefinition.publisher" } + ], + "relatesto": [ { name: "relatesto", @@ -3559,7 +4485,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DocumentReference"], expression: "DocumentReference.relatesTo.target" } + ], + "care-team": [ { name: "care-team", @@ -3567,7 +4495,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Claim", "CarePlan", "ExplanationOfBenefit"], expression: "ExplanationOfBenefit.careTeam.provider | CarePlan.careTeam | Claim.careTeam.provider" } + ], + "request": [ { name: "request", @@ -3575,13 +4505,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CoverageEligibilityResponse", "MedicationAdministration", "PaymentReconciliation", "EnrollmentResponse", "ClaimResponse", "PaymentNotice"], expression: "PaymentNotice.request | ClaimResponse.request | EnrollmentResponse.request | PaymentReconciliation.request | MedicationAdministration.request | CoverageEligibilityResponse.request" }, + { name: "request", 'type: r4:TOKEN, base: ["GuidanceResponse"], expression: "GuidanceResponse.requestIdentifier" } + ], + "sponsor": [ { name: "sponsor", @@ -3589,7 +4522,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ResearchStudy"], expression: "ResearchStudy.sponsor" } + ], + "agent-type": [ { name: "agent-type", @@ -3597,7 +4532,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Provenance"], expression: "Provenance.agent.type" } + ], + "purpose": [ { name: "purpose", @@ -3605,7 +4542,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Consent"], expression: "Consent.provision.purpose" } + ], + "link": [ { name: "link", @@ -3613,7 +4552,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Patient", "Person"], expression: "Person.link.target | Patient.link.other" } + ], + "network": [ { name: "network", @@ -3621,7 +4562,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["OrganizationAffiliation"], expression: "OrganizationAffiliation.network" } + ], + "onset-date": [ { name: "onset-date", @@ -3629,7 +4572,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Condition"], expression: "Condition.onset.as(dateTime) | Condition.onset.as(Period)" } + ], + "phonetic": [ { name: "phonetic", @@ -3637,7 +4582,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Organization", "InsurancePlan", "Patient", "Person", "Practitioner", "RelatedPerson"], expression: "Patient.name | Person.name | Practitioner.name | RelatedPerson.name | InsurancePlan.name | Organization.name" } + ], + "patient": [ { name: "patient", @@ -3645,7 +4592,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MeasureReport", "ClaimResponse", "Person", "ImmunizationEvaluation", "Account", "AppointmentResponse", "Device", "ChargeItem", "BodyStructure", "ResearchSubject", "RelatedPerson", "CoverageEligibilityRequest", "Provenance", "Specimen", "CommunicationRequest", "Communication", "Task", "QuestionnaireResponse", "Media", "AllergyIntolerance", "CarePlan", "CareTeam", "ClinicalImpression", "Composition", "Condition", "Consent", "DetectedIssue", "DeviceRequest", "DeviceUseStatement", "DiagnosticReport", "DocumentManifest", "DocumentReference", "Encounter", "EpisodeOfCare", "FamilyMemberHistory", "Flag", "Goal", "ImagingStudy", "Immunization", "List", "MedicationAdministration", "MedicationDispense", "MedicationRequest", "MedicationStatement", "NutritionOrder", "Observation", "Procedure", "RiskAssessment", "ServiceRequest", "SupplyDelivery", "VisionPrescription", "Appointment", "Invoice", "GuidanceResponse", "ImmunizationRecommendation", "AuditEvent", "RequestGroup", "CoverageEligibilityResponse", "EnrollmentRequest", "Coverage", "MolecularSequence", "ExplanationOfBenefit", "Basic", "Contract", "Claim"], expression: "Claim.patient | Contract.subject.where(resolve() is Patient) | Basic.subject.where(resolve() is Patient) | ExplanationOfBenefit.patient | MolecularSequence.patient | Coverage.beneficiary | EnrollmentRequest.candidate | CoverageEligibilityResponse.patient | RequestGroup.subject.where(resolve() is Patient) | AuditEvent.agent.who.where(resolve() is Patient) | AuditEvent.entity.what.where(resolve() is Patient) | ImmunizationRecommendation.patient | GuidanceResponse.subject.where(resolve() is Patient) | Invoice.subject.where(resolve() is Patient) | Appointment.participant.actor.where(resolve() is Patient) | AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationStatement.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient | Media.subject.where(resolve() is Patient) | QuestionnaireResponse.subject.where(resolve() is Patient) | Task.for.where(resolve() is Patient) | Communication.subject.where(resolve() is Patient) | CommunicationRequest.subject.where(resolve() is Patient) | Specimen.subject.where(resolve() is Patient) | Provenance.target.where(resolve() is Patient) | CoverageEligibilityRequest.patient | RelatedPerson.patient | ResearchSubject.individual | BodyStructure.patient | ChargeItem.subject.where(resolve() is Patient) | Device.patient | AppointmentResponse.actor.where(resolve() is Patient) | Account.subject.where(resolve() is Patient) | ImmunizationEvaluation.patient | Person.link.target.where(resolve() is Patient) | ClaimResponse.patient | MeasureReport.subject.where(resolve() is Patient)" } + ], + "specimen": [ { name: "specimen", @@ -3653,7 +4602,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DiagnosticReport", "ServiceRequest", "Observation"], expression: "Observation.specimen | ServiceRequest.specimen | DiagnosticReport.specimen" } + ], + "value": [ { name: "value", @@ -3661,13 +4612,16 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Group"], expression: "(Group.characteristic.value as CodeableConcept) | (Group.characteristic.value as boolean)" }, + { name: "value", 'type: r4:STRING, base: ["NamingSystem"], expression: "NamingSystem.uniqueId.value" } + ], + "target-uri": [ { name: "target-uri", @@ -3675,7 +4629,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ConceptMap"], expression: "(ConceptMap.target as uri)" } + ], + "reaction-date": [ { name: "reaction-date", @@ -3683,7 +4639,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Immunization"], expression: "Immunization.reaction.date" } + ], + "prescriber": [ { name: "prescriber", @@ -3691,7 +4649,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["VisionPrescription"], expression: "VisionPrescription.prescriber" } + ], + "quantity": [ { name: "quantity", @@ -3699,7 +4659,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ChargeItem", "Substance"], expression: "Substance.instance.quantity | ChargeItem.quantity" } + ], + "totalgross": [ { name: "totalgross", @@ -3707,7 +4669,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Invoice"], expression: "Invoice.totalGross" } + ], + "combo-code": [ { name: "combo-code", @@ -3715,7 +4679,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "Observation.code | Observation.component.code" } + ], + "actuality": [ { name: "actuality", @@ -3723,7 +4689,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["AdverseEvent"], expression: "AdverseEvent.actuality" } + ], + "chromosome": [ { name: "chromosome", @@ -3731,7 +4699,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MolecularSequence"], expression: "MolecularSequence.referenceSeq.chromosome" } + ], + "encounter": [ { name: "encounter", @@ -3739,7 +4709,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Communication", "Task", "ClinicalImpression", "ImagingStudy", "MedicationRequest", "Condition", "Composition", "DeviceRequest", "DiagnosticReport", "DocumentReference", "Flag", "List", "NutritionOrder", "Observation", "Procedure", "RiskAssessment", "ServiceRequest", "VisionPrescription", "Media", "ExplanationOfBenefit", "CommunicationRequest", "CarePlan", "QuestionnaireResponse", "CareTeam", "RequestGroup", "Claim"], expression: "Claim.item.encounter | RequestGroup.encounter | CareTeam.encounter | QuestionnaireResponse.encounter | CarePlan.encounter | CommunicationRequest.encounter | ExplanationOfBenefit.item.encounter | Media.encounter | Composition.encounter | DeviceRequest.encounter | DiagnosticReport.encounter | DocumentReference.context.encounter | Flag.encounter | List.encounter | NutritionOrder.encounter | Observation.encounter | Procedure.encounter | RiskAssessment.encounter | ServiceRequest.encounter | VisionPrescription.encounter | Condition.encounter | MedicationRequest.encounter | ImagingStudy.encounter | ClinicalImpression.encounter | Task.encounter | Communication.encounter" } + ], + "intent": [ { name: "intent", @@ -3747,7 +4719,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DeviceRequest", "MedicationRequest", "ServiceRequest", "CarePlan", "Task", "RequestGroup"], expression: "RequestGroup.intent | Task.intent | CarePlan.intent | ServiceRequest.intent | MedicationRequest.intent | DeviceRequest.intent" } + ], + "variant-end": [ { name: "variant-end", @@ -3755,7 +4729,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MolecularSequence"], expression: "MolecularSequence.variant.end" } + ], + "whenprepared": [ { name: "whenprepared", @@ -3763,7 +4739,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["MedicationDispense"], expression: "MedicationDispense.whenPrepared" } + ], + "supported-profile": [ { name: "supported-profile", @@ -3771,7 +4749,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["CapabilityStatement"], expression: "CapabilityStatement.rest.resource.supportedProfile" } + ], + "contenttype": [ { name: "contenttype", @@ -3779,7 +4759,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["DocumentReference"], expression: "DocumentReference.content.attachment.contentType" } + ], + "response": [ { name: "response", @@ -3787,7 +4769,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["PaymentNotice"], expression: "PaymentNotice.response" } + ], + "investigation": [ { name: "investigation", @@ -3795,7 +4779,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["ClinicalImpression"], expression: "ClinicalImpression.investigation.item" } + ], + "derivation": [ { name: "derivation", @@ -3803,7 +4789,19 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["StructureDefinition"], expression: "StructureDefinition.derivation" } + + ], + + "BirthOrderBoolean": [ + { + name: "BirthOrderBoolean", + 'type: r4:TOKEN, + base: ["Patient"], + expression: "Patient.multipleBirth" + } + ], + "component-value-concept": [ { name: "component-value-concept", @@ -3811,7 +4809,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation"], expression: "(Observation.component.value as CodeableConcept)" } + ], + "category": [ { name: "category", @@ -3819,7 +4819,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Observation", "MedicationStatement", "DeviceMetric", "Communication", "MessageDefinition", "CarePlan", "ResearchStudy", "SupplyRequest", "DiagnosticReport", "Procedure", "ServiceRequest", "CommunicationRequest", "Condition", "CareTeam", "Consent", "AdverseEvent", "AllergyIntolerance", "Composition", "MedicationRequest", "Substance", "Goal", "DocumentReference"], expression: "DocumentReference.category | Goal.category | Substance.category | MedicationRequest.category | Composition.category | AllergyIntolerance.category | AdverseEvent.category | Consent.category | CareTeam.category | Condition.category | CommunicationRequest.category | ServiceRequest.category | Procedure.category | DiagnosticReport.category | SupplyRequest.category | ResearchStudy.category | CarePlan.category | MessageDefinition.category | Communication.category | DeviceMetric.category | MedicationStatement.category | Observation.category" } + ], + "account": [ { name: "account", @@ -3827,7 +4829,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["Encounter", "ChargeItem", "Invoice"], expression: "Invoice.account | ChargeItem.account | Encounter.account" } + ], + "payment-issuer": [ { name: "payment-issuer", @@ -3835,7 +4839,9 @@ final readonly & map INTERNATIONAL_IG_SEARCH base: ["PaymentReconciliation"], expression: "PaymentReconciliation.paymentIssuer" } + ] + }; // Operations in international IG (key = operation name)