From 0c8f50737f9c838158f0bba54d9df447a9f68776 Mon Sep 17 00:00:00 2001 From: James Agnew Date: Tue, 24 Mar 2015 17:19:34 -0400 Subject: [PATCH] Sync to latest version of DSTU2 --- hapi-deployable-pom/pom.xml | 2 + hapi-fhir-android/dependency-reduced-pom.xml | 6 +- .../ca/uhn/fhir/context/ModelScanner.java | 10 +- .../uhn/fhir/context/RuntimeSearchParam.java | 10 +- .../base/resource/BaseOperationOutcome.java | 3 - .../valueset/RestSearchParameterType.java | 35 +- .../ca/uhn/fhir/rest/api/RequestTypeEnum.java | 22 +- .../uhn/fhir/rest/gclient/UriClientParam.java | 103 + .../fhir/rest/method/IncludeParameter.java | 4 +- .../uhn/fhir/rest/method/SearchParameter.java | 95 +- .../uhn/fhir/rest/param/BaseAndListParam.java | 4 +- .../fhir/rest/param/BaseQueryParameter.java | 4 +- .../rest/param/CompositeAndListParam.java | 6 +- .../uhn/fhir/rest/param/DateAndListParam.java | 6 +- .../fhir/rest/param/NumberAndListParam.java | 6 +- .../fhir/rest/param/QuantityAndListParam.java | 6 +- .../rest/param/ReferenceAndListParam.java | 6 +- .../fhir/rest/param/StringAndListParam.java | 6 +- .../fhir/rest/param/TokenAndListParam.java | 6 +- .../uhn/fhir/rest/param/UriAndListParam.java | 38 + .../uhn/fhir/rest/param/UriOrListParam.java | 31 + .../java/ca/uhn/fhir/rest/param/UriParam.java | 94 + .../fhir/validation/SchemaBaseValidator.java | 7 +- .../java/ca/uhn/fhir/jpa/dao/BaseFhirDao.java | 4 +- .../uhn/fhir/jpa/dao/BaseFhirResourceDao.java | 4 +- .../fhir/jpa/dao/FhirResourceDaoDstu1.java | 20 + .../fhir/jpa/dao/FhirResourceDaoDstu2.java | 20 + .../jpa/dao/SearchParamExtractorDstu1.java | 15 +- .../jpa/dao/SearchParamExtractorDstu2.java | 21 +- .../ca/uhn/fhir/jpa/entity/TagTypeEnum.java | 20 + ...BaseJpaResourceProviderEncounterDstu2.java | 20 + .../BaseJpaResourceProviderPatientDstu2.java | 20 + .../jpa/dao/FhirResourceDaoDstu2Test.java | 4 +- .../provider/ServerConformanceProvider.java | 4 +- .../java/ca/uhn/fhir/context/NameChanges.java | 4 +- .../fhir/rest/server/DynamicSearchTest.java | 6 +- hapi-fhir-structures-dstu2/pom.xml | 2 + .../ca/uhn/fhir/model/dstu2/schema/alert.sch | 87 +- .../model/dstu2/schema/allergyintolerance.sch | 117 +- .../fhir/model/dstu2/schema/appointment.sch | 111 +- .../dstu2/schema/appointmentresponse.sch | 82 +- .../fhir/model/dstu2/schema/auditevent.sch | 103 + .../ca/uhn/fhir/model/dstu2/schema/basic.sch | 81 +- .../ca/uhn/fhir/model/dstu2/schema/binary.sch | 41 +- .../uhn/fhir/model/dstu2/schema/bodysite.sch | 93 + .../ca/uhn/fhir/model/dstu2/schema/bundle.sch | 71 +- .../uhn/fhir/model/dstu2/schema/careplan.sch | 163 +- .../uhn/fhir/model/dstu2/schema/careplan2.sch | 97 +- .../ca/uhn/fhir/model/dstu2/schema/claim.sch | 213 + .../fhir/model/dstu2/schema/claimresponse.sch | 241 +- .../model/dstu2/schema/clinicalimpression.sch | 105 + .../fhir/model/dstu2/schema/communication.sch | 117 +- .../dstu2/schema/communicationrequest.sch | 132 +- .../fhir/model/dstu2/schema/composition.sch | 147 +- .../fhir/model/dstu2/schema/conceptmap.sch | 88 +- .../uhn/fhir/model/dstu2/schema/condition.sch | 223 +- .../fhir/model/dstu2/schema/conformance.sch | 141 +- .../uhn/fhir/model/dstu2/schema/contract.sch | 270 +- .../model/dstu2/schema/contraindication.sch | 98 +- .../uhn/fhir/model/dstu2/schema/coverage.sch | 105 +- .../fhir/model/dstu2/schema/dataelement.sch | 128 +- .../ca/uhn/fhir/model/dstu2/schema/device.sch | 93 +- .../model/dstu2/schema/devicecomponent.sch | 131 +- .../fhir/model/dstu2/schema/devicemetric.sch | 123 +- .../model/dstu2/schema/deviceuserequest.sch | 131 +- .../model/dstu2/schema/deviceusestatement.sch | 122 +- .../model/dstu2/schema/diagnosticorder.sch | 122 +- .../model/dstu2/schema/diagnosticreport.sch | 130 +- .../model/dstu2/schema/documentmanifest.sch | 110 +- .../model/dstu2/schema/documentreference.sch | 177 +- .../model/dstu2/schema/eligibilityrequest.sch | 86 +- .../dstu2/schema/eligibilityresponse.sch | 90 +- .../uhn/fhir/model/dstu2/schema/encounter.sch | 232 +- .../model/dstu2/schema/enrollmentrequest.sch | 101 +- .../model/dstu2/schema/enrollmentresponse.sch | 90 +- .../fhir/model/dstu2/schema/episodeofcare.sch | 118 +- .../dstu2/schema/explanationofbenefit.sch | 90 +- .../fhir/model/dstu2/schema/familyhistory.sch | 159 +- .../uhn/fhir/model/dstu2/schema/fhir-all.xsd | 21 +- .../model/dstu2/schema/fhir-atom-single.xsd | 250 - .../uhn/fhir/model/dstu2/schema/fhir-atom.xsd | 250 - .../uhn/fhir/model/dstu2/schema/fhir-base.xsd | 852 +- .../model/dstu2/schema/fhir-invariants.sch | 7651 + .../fhir/model/dstu2/schema/fhir-single.xsd | 8011 +- .../ca/uhn/fhir/model/dstu2/schema/goal.sch | 72 +- .../ca/uhn/fhir/model/dstu2/schema/group.sch | 125 +- .../model/dstu2/schema/healthcareservice.sch | 226 +- .../dstu2/schema/imagingobjectselection.sch | 74 +- .../fhir/model/dstu2/schema/imagingstudy.sch | 105 +- .../fhir/model/dstu2/schema/immunization.sch | 183 +- .../schema/immunizationrecommendation.sch | 109 +- .../ca/uhn/fhir/model/dstu2/schema/list.sch | 115 +- .../uhn/fhir/model/dstu2/schema/location.sch | 102 +- .../ca/uhn/fhir/model/dstu2/schema/media.sch | 104 +- .../fhir/model/dstu2/schema/medication.sch | 113 +- .../dstu2/schema/medicationadministration.sch | 180 +- .../model/dstu2/schema/medicationdispense.sch | 248 +- .../dstu2/schema/medicationprescription.sch | 241 +- .../dstu2/schema/medicationstatement.sch | 193 +- .../fhir/model/dstu2/schema/messageheader.sch | 106 +- .../fhir/model/dstu2/schema/namingsystem.sch | 90 +- .../model/dstu2/schema/nutritionorder.sch | 287 +- .../fhir/model/dstu2/schema/observation.sch | 228 +- .../fhir/model/dstu2/schema/opensearch.xsd | 11 - .../model/dstu2/schema/opensearchscore.xsd | 22 - .../dstu2/schema/operationdefinition.sch | 82 +- .../model/dstu2/schema/operationoutcome.sch | 64 +- .../ca/uhn/fhir/model/dstu2/schema/order.sch | 131 +- .../fhir/model/dstu2/schema/orderresponse.sch | 89 +- .../fhir/model/dstu2/schema/organization.sch | 130 +- .../ca/uhn/fhir/model/dstu2/schema/other.sch | 81 +- .../uhn/fhir/model/dstu2/schema/patient.sch | 186 +- .../fhir/model/dstu2/schema/paymentnotice.sch | 101 +- .../dstu2/schema/paymentreconciliation.sch | 139 +- .../ca/uhn/fhir/model/dstu2/schema/person.sch | 92 +- .../fhir/model/dstu2/schema/practitioner.sch | 153 +- .../uhn/fhir/model/dstu2/schema/procedure.sch | 163 +- .../model/dstu2/schema/procedurerequest.sch | 146 +- .../model/dstu2/schema/processrequest.sch | 81 + .../model/dstu2/schema/processresponse.sch | 87 + .../fhir/model/dstu2/schema/provenance.sch | 101 +- .../fhir/model/dstu2/schema/questionnaire.sch | 92 +- .../dstu2/schema/questionnaireanswers.sch | 109 +- .../model/dstu2/schema/referralrequest.sch | 139 +- .../fhir/model/dstu2/schema/relatedperson.sch | 101 +- .../model/dstu2/schema/riskassessment.sch | 149 +- .../uhn/fhir/model/dstu2/schema/schedule.sch | 81 +- .../model/dstu2/schema/searchparameter.sch | 64 +- .../ca/uhn/fhir/model/dstu2/schema/slot.sch | 77 +- .../uhn/fhir/model/dstu2/schema/specimen.sch | 179 +- .../dstu2/schema/structuredefinition.sch | 154 + .../fhir/model/dstu2/schema/subscription.sch | 67 +- .../uhn/fhir/model/dstu2/schema/substance.sch | 93 +- .../ca/uhn/fhir/model/dstu2/schema/supply.sch | 125 +- .../dstu2/schema/supportingdocumentation.sch | 110 +- .../uhn/fhir/model/dstu2/schema/tombstone.xsd | 17 - .../uhn/fhir/model/dstu2/schema/valueset.sch | 109 +- .../model/dstu2/schema/visionprescription.sch | 98 +- .../validation/ResourceValidatorTest.java | 6 +- .../uhn/fhir/tinder/TinderStructuresMojo.java | 3 +- .../java/ca/uhn/fhir/tinder/model/Child.java | 2 +- .../ca/uhn/fhir/tinder/model/Resource.java | 10 +- .../fhir/tinder/model/SearchParameter.java | 6 +- .../tinder/parser/BaseStructureParser.java | 48 +- .../DatatypeGeneratorUsingSpreadsheet.java | 1 + .../ca/uhn/fhir/tinder/util/SyncUtil.java | 34 + .../res/dstu2/account-spreadsheet.xml | 4 +- .../resources/res/dstu2/alert-spreadsheet.xml | 68 +- .../dstu2/allergyintolerance-spreadsheet.xml | 582 +- .../res/dstu2/appointment-spreadsheet.xml | 6459 +- .../dstu2/appointmentresponse-spreadsheet.xml | 4948 +- .../res/dstu2/auditevent-spreadsheet.xml | 313 +- .../resources/res/dstu2/basic-spreadsheet.xml | 77 +- .../res/dstu2/binary-spreadsheet.xml | 877 +- .../res/dstu2/bodysite-spreadsheet.xml | 8049 +- .../res/dstu2/bundle-spreadsheet.xml | 8422 +- .../res/dstu2/careplan-spreadsheet.xml | 209 +- .../res/dstu2/careplan2-spreadsheet.xml | 4 +- .../resources/res/dstu2/claim-spreadsheet.xml | 8032 +- .../res/dstu2/claimresponse-spreadsheet.xml | 5906 +- .../dstu2/clinicalassessment-spreadsheet.xml | 8 +- .../dstu2/clinicalimpression-spreadsheet.xml | 9108 + .../res/dstu2/communication-spreadsheet.xml | 49 +- .../communicationrequest-spreadsheet.xml | 49 +- .../res/dstu2/composition-spreadsheet.xml | 5376 +- .../res/dstu2/conceptmap-spreadsheet.xml | 468 +- .../res/dstu2/condition-spreadsheet.xml | 318 +- .../res/dstu2/conformance-spreadsheet.xml | 183 +- .../res/dstu2/contract-spreadsheet.xml | 6863 +- .../dstu2/contraindication-spreadsheet.xml | 85 +- .../res/dstu2/coverage-spreadsheet.xml | 177 +- .../res/dstu2/dataelement-spreadsheet.xml | 5659 +- .../res/dstu2/device-spreadsheet.xml | 309 +- .../res/dstu2/devicecomponent-spreadsheet.xml | 4 +- .../deviceobservationreport-spreadsheet.xml | 4 +- .../dstu2/deviceuserequest-spreadsheet.xml | 18951 +- .../dstu2/deviceusestatement-spreadsheet.xml | 5426 +- .../res/dstu2/diagnosticorder-spreadsheet.xml | 19074 +- .../dstu2/diagnosticreport-spreadsheet.xml | 362 +- .../res/dstu2/documentation-spreadsheet.xml | 4 +- .../dstu2/documentmanifest-spreadsheet.xml | 128 +- .../dstu2/documentreference-spreadsheet.xml | 6376 +- .../res/dstu2/domainresource-spreadsheet.xml | 58 +- .../dstu2/eligibilityrequest-spreadsheet.xml | 4 +- .../dstu2/eligibilityresponse-spreadsheet.xml | 4 +- .../res/dstu2/encounter-spreadsheet.xml | 1173 +- .../dstu2/enrollmentrequest-spreadsheet.xml | 4 +- .../dstu2/enrollmentresponse-spreadsheet.xml | 4 +- .../res/dstu2/episodeofcare-spreadsheet.xml | 4 +- .../explanationofbenefit-spreadsheet.xml | 17 +- .../dstu2/extensiondefinition-spreadsheet.xml | 6 +- .../res/dstu2/familyhistory-spreadsheet.xml | 541 +- .../res/dstu2/geneexpression-spreadsheet.xml | 4 +- .../res/dstu2/geneticanalysis-spreadsheet.xml | 4 +- .../resources/res/dstu2/goal-spreadsheet.xml | 13931 +- .../resources/res/dstu2/group-spreadsheet.xml | 129 +- .../res/dstu2/gvfmeta-spreadsheet.xml | 4 +- .../res/dstu2/gvfvariant-spreadsheet.xml | 4 +- .../dstu2/healthcareservice-spreadsheet.xml | 3771 +- .../imagingobjectselection-spreadsheet.xml | 4 +- .../res/dstu2/imagingstudy-spreadsheet.xml | 820 +- .../res/dstu2/immunization-spreadsheet.xml | 1391 +- ...immunizationrecommendation-spreadsheet.xml | 599 +- .../dstu2/institutionalclaim-spreadsheet.xml | 27 +- .../resources/res/dstu2/list-spreadsheet.xml | 94 +- .../res/dstu2/location-spreadsheet.xml | 435 +- .../resources/res/dstu2/media-spreadsheet.xml | 306 +- .../res/dstu2/medication-spreadsheet.xml | 76 +- .../medicationadministration-spreadsheet.xml | 5018 +- .../dstu2/medicationdispense-spreadsheet.xml | 6061 +- .../medicationprescription-spreadsheet.xml | 4719 +- .../dstu2/medicationstatement-spreadsheet.xml | 4372 +- .../res/dstu2/messageheader-spreadsheet.xml | 154 +- .../res/dstu2/microarray-spreadsheet.xml | 4 +- .../res/dstu2/namingsystem-spreadsheet.xml | 4068 +- .../res/dstu2/nutritionorder-spreadsheet.xml | 6509 +- .../res/dstu2/observation-spreadsheet.xml | 8403 +- .../dstu2/operationdefinition-spreadsheet.xml | 55 +- .../dstu2/operationoutcome-spreadsheet.xml | 1128 +- .../res/dstu2/oralhealthclaim-spreadsheet.xml | 126 +- .../resources/res/dstu2/order-spreadsheet.xml | 4 +- .../res/dstu2/orderresponse-spreadsheet.xml | 96 +- .../res/dstu2/organization-spreadsheet.xml | 674 +- .../resources/res/dstu2/other-spreadsheet.xml | 64 +- .../res/dstu2/parameters-spreadsheet.xml | 71 +- .../res/dstu2/patient-spreadsheet.xml | 853 +- .../res/dstu2/paymentnotice-spreadsheet.xml | 4 +- .../paymentreconciliation-spreadsheet.xml | 20 +- .../res/dstu2/person-spreadsheet.xml | 5390 +- .../res/dstu2/pharmacyclaim-spreadsheet.xml | 40 +- .../res/dstu2/practitioner-spreadsheet.xml | 339 +- .../res/dstu2/procedure-spreadsheet.xml | 1601 +- .../dstu2/procedurerequest-spreadsheet.xml | 213 +- .../res/dstu2/processrequest-spreadsheet.xml | 8455 + .../res/dstu2/processresponse-spreadsheet.xml | 7942 + .../dstu2/professionalclaim-spreadsheet.xml | 41 +- .../res/dstu2/profile-spreadsheet.xml | 6 +- .../res/dstu2/protocol-spreadsheet.xml | 4 +- .../res/dstu2/provenance-spreadsheet.xml | 6377 +- .../resources/res/dstu2/query-spreadsheet.xml | 4 +- .../res/dstu2/questionnaire-spreadsheet.xml | 4 +- .../questionnaireanswers-spreadsheet.xml | 31 +- .../res/dstu2/referralrequest-spreadsheet.xml | 17281 +- .../res/dstu2/relatedperson-spreadsheet.xml | 432 +- .../res/dstu2/remittance-spreadsheet.xml | 4 +- .../res/dstu2/resource-spreadsheet.xml | 141 +- .../res/dstu2/riskassessment-spreadsheet.xml | 46 +- .../res/dstu2/schedule-spreadsheet.xml | 204 +- .../res/dstu2/searchparameter-spreadsheet.xml | 64 +- .../res/dstu2/sequence-spreadsheet.xml | 4 +- .../dstu2/sequencinganalysis-spreadsheet.xml | 4 +- .../res/dstu2/sequencinglab-spreadsheet.xml | 4 +- .../resources/res/dstu2/slot-spreadsheet.xml | 4486 +- .../res/dstu2/specimen-spreadsheet.xml | 17438 +- .../dstu2/structuredefinition-spreadsheet.xml | 355 +- .../res/dstu2/subscription-spreadsheet.xml | 371 +- .../res/dstu2/substance-spreadsheet.xml | 194 +- .../res/dstu2/supply-spreadsheet.xml | 12 +- .../supportingdocumentation-spreadsheet.xml | 4 +- .../res/dstu2/template-spreadsheet.xml | 4 +- .../resources/res/dstu2/test-spreadsheet.xml | 4 +- .../resources/res/dstu2/user-spreadsheet.xml | 4 +- .../res/dstu2/valueset-spreadsheet.xml | 6787 +- .../res/dstu2/vcfmeta-spreadsheet.xml | 4 +- .../res/dstu2/vcfvariant-spreadsheet.xml | 4 +- .../res/dstu2/visionclaim-spreadsheet.xml | 41 +- .../dstu2/visionprescription-spreadsheet.xml | 54 +- .../resources/vm/jpa_resource_provider.vm | 3 + .../vs/dstu2/all-valuesets-bundle.xml | 136784 +-------------- 269 files changed, 169073 insertions(+), 264357 deletions(-) create mode 100644 hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/UriClientParam.java create mode 100644 hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/UriAndListParam.java create mode 100644 hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/UriOrListParam.java create mode 100644 hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/UriParam.java create mode 100644 hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/auditevent.sch create mode 100644 hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/bodysite.sch create mode 100644 hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/claim.sch create mode 100644 hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/clinicalimpression.sch delete mode 100644 hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-atom-single.xsd delete mode 100644 hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-atom.xsd create mode 100644 hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-invariants.sch delete mode 100644 hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/opensearch.xsd delete mode 100644 hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/opensearchscore.xsd create mode 100644 hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/processrequest.sch create mode 100644 hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/processresponse.sch create mode 100644 hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/structuredefinition.sch delete mode 100644 hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/tombstone.xsd create mode 100644 hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/util/SyncUtil.java create mode 100644 hapi-tinder-plugin/src/main/resources/res/dstu2/clinicalimpression-spreadsheet.xml create mode 100644 hapi-tinder-plugin/src/main/resources/res/dstu2/processrequest-spreadsheet.xml create mode 100644 hapi-tinder-plugin/src/main/resources/res/dstu2/processresponse-spreadsheet.xml diff --git a/hapi-deployable-pom/pom.xml b/hapi-deployable-pom/pom.xml index 1f8f1ad8166..6157a75578d 100644 --- a/hapi-deployable-pom/pom.xml +++ b/hapi-deployable-pom/pom.xml @@ -42,6 +42,7 @@ http://jamesagnew.github.io/hapi-fhir/apidocs/ https://docs.oracle.com/javaee/7/api/ + -Xdoclint:none @@ -64,6 +65,7 @@ true false false + -Xdoclint:none diff --git a/hapi-fhir-android/dependency-reduced-pom.xml b/hapi-fhir-android/dependency-reduced-pom.xml index 1e0c0d8a940..75c68235a10 100644 --- a/hapi-fhir-android/dependency-reduced-pom.xml +++ b/hapi-fhir-android/dependency-reduced-pom.xml @@ -94,7 +94,7 @@ maven-assembly-plugin - ${maven_assembly_plugin_version} + 2.5.3 package @@ -104,8 +104,8 @@ true - ${project.basedir}/src/assembly/android-sources.xml - ${project.basedir}/src/assembly/android-javadoc.xml + /Users/t3903uhn/git/hapi-fhir/hapi-fhir-android/src/assembly/android-sources.xml + /Users/t3903uhn/git/hapi-fhir/hapi-fhir-android/src/assembly/android-javadoc.xml diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/ModelScanner.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/ModelScanner.java index 82c11d7b264..556faf1f89a 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/ModelScanner.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/ModelScanner.java @@ -20,7 +20,7 @@ package ca.uhn.fhir.context; * #L% */ -import static org.apache.commons.lang3.StringUtils.*; +import static org.apache.commons.lang3.StringUtils.isBlank; import java.io.IOException; import java.io.InputStream; @@ -78,7 +78,7 @@ import ca.uhn.fhir.model.api.annotation.SearchParamDefinition; import ca.uhn.fhir.model.base.composite.BaseContainedDt; import ca.uhn.fhir.model.base.composite.BaseNarrativeDt; import ca.uhn.fhir.model.base.composite.BaseResourceReferenceDt; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; import ca.uhn.fhir.model.primitive.BoundCodeDt; import ca.uhn.fhir.model.primitive.ICodedDatatype; import ca.uhn.fhir.model.primitive.XhtmlDt; @@ -681,11 +681,11 @@ class ModelScanner { for (Field nextField : theClass.getFields()) { SearchParamDefinition searchParam = pullAnnotation(nextField, SearchParamDefinition.class); if (searchParam != null) { - SearchParamTypeEnum paramType = SearchParamTypeEnum.valueOf(searchParam.type().toUpperCase()); + RestSearchParameterType paramType = RestSearchParameterType.valueOf(searchParam.type().toUpperCase()); if (paramType == null) { throw new ConfigurationException("Search param " + searchParam.name() + " has an invalid type: " + searchParam.type()); } - if (paramType == SearchParamTypeEnum.COMPOSITE) { + if (paramType == RestSearchParameterType.COMPOSITE) { compositeFields.put(nextField, searchParam); continue; } @@ -708,7 +708,7 @@ class ModelScanner { compositeOf.add(param); } - RuntimeSearchParam param = new RuntimeSearchParam(searchParam.name(), searchParam.description(), searchParam.path(), SearchParamTypeEnum.COMPOSITE, compositeOf); + RuntimeSearchParam param = new RuntimeSearchParam(searchParam.name(), searchParam.description(), searchParam.path(), RestSearchParameterType.COMPOSITE, compositeOf); theResourceDef.addSearchParam(param); } } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/RuntimeSearchParam.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/RuntimeSearchParam.java index 206e2df015b..1f9ab186d12 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/RuntimeSearchParam.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/context/RuntimeSearchParam.java @@ -5,7 +5,7 @@ import java.util.Collections; import java.util.List; import java.util.StringTokenizer; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; /* * #%L @@ -31,15 +31,15 @@ public class RuntimeSearchParam { private String myDescription; private String myName; - private SearchParamTypeEnum myParamType; + private RestSearchParameterType myParamType; private String myPath; private List myCompositeOf; - public RuntimeSearchParam(String theName, String theDescription, String thePath, SearchParamTypeEnum theParamType) { + public RuntimeSearchParam(String theName, String theDescription, String thePath, RestSearchParameterType theParamType) { this(theName, theDescription, thePath, theParamType, null); } - public RuntimeSearchParam(String theName, String theDescription, String thePath, SearchParamTypeEnum theParamType, List theCompositeOf) { + public RuntimeSearchParam(String theName, String theDescription, String thePath, RestSearchParameterType theParamType, List theCompositeOf) { super(); myName = theName; myDescription = theDescription; @@ -60,7 +60,7 @@ public class RuntimeSearchParam { return myName; } - public SearchParamTypeEnum getParamType() { + public RestSearchParameterType getParamType() { return myParamType; } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/base/resource/BaseOperationOutcome.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/base/resource/BaseOperationOutcome.java index 0812c9bacc8..6dd6974fa4a 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/base/resource/BaseOperationOutcome.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/base/resource/BaseOperationOutcome.java @@ -25,7 +25,6 @@ import java.util.List; import ca.uhn.fhir.model.api.BaseIdentifiableElement; import ca.uhn.fhir.model.api.IResource; import ca.uhn.fhir.model.api.IResourceBlock; -import ca.uhn.fhir.model.base.composite.BaseCodingDt; import ca.uhn.fhir.model.primitive.CodeDt; import ca.uhn.fhir.model.primitive.StringDt; @@ -43,8 +42,6 @@ public interface BaseOperationOutcome extends IResource { public abstract StringDt getDetailsElement(); - public abstract BaseCodingDt getType(); - public abstract BaseIssue addLocation(String theString); public abstract BaseIssue setDetails(String theString); diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/valueset/RestSearchParameterType.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/valueset/RestSearchParameterType.java index 1274867c356..4c13d9d61cc 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/valueset/RestSearchParameterType.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/model/dstu/valueset/RestSearchParameterType.java @@ -26,7 +26,7 @@ import java.util.Map; import ca.uhn.fhir.model.api.IValueSetEnumBinder; -public enum SearchParamTypeEnum { +public enum RestSearchParameterType { /** * Code Value: number @@ -77,6 +77,13 @@ public enum SearchParamTypeEnum { */ QUANTITY("quantity", "http://hl7.org/fhir/search-param-type"), + /** + * Code Value: quantity + * + * A search parameter that searches on a quantity. + */ + URI("uri", "http://hl7.org/fhir/search-param-type"), + ; /** @@ -91,18 +98,18 @@ public enum SearchParamTypeEnum { */ public static final String VALUESET_NAME = "SearchParamType"; - private static Map CODE_TO_ENUM = new HashMap(); - private static Map> SYSTEM_TO_CODE_TO_ENUM = new HashMap>(); + private static Map CODE_TO_ENUM = new HashMap(); + private static Map> SYSTEM_TO_CODE_TO_ENUM = new HashMap>(); private final String myCode; private final String mySystem; static { - for (SearchParamTypeEnum next : SearchParamTypeEnum.values()) { + for (RestSearchParameterType next : RestSearchParameterType.values()) { CODE_TO_ENUM.put(next.getCode(), next); if (!SYSTEM_TO_CODE_TO_ENUM.containsKey(next.getSystem())) { - SYSTEM_TO_CODE_TO_ENUM.put(next.getSystem(), new HashMap()); + SYSTEM_TO_CODE_TO_ENUM.put(next.getSystem(), new HashMap()); } SYSTEM_TO_CODE_TO_ENUM.get(next.getSystem()).put(next.getCode(), next); } @@ -125,33 +132,33 @@ public enum SearchParamTypeEnum { /** * Returns the enumerated value associated with this code */ - public SearchParamTypeEnum forCode(String theCode) { - SearchParamTypeEnum retVal = CODE_TO_ENUM.get(theCode); + public RestSearchParameterType forCode(String theCode) { + RestSearchParameterType retVal = CODE_TO_ENUM.get(theCode); return retVal; } /** * Converts codes to their respective enumerated values */ - public static final IValueSetEnumBinder VALUESET_BINDER = new IValueSetEnumBinder() { + public static final IValueSetEnumBinder VALUESET_BINDER = new IValueSetEnumBinder() { @Override - public String toCodeString(SearchParamTypeEnum theEnum) { + public String toCodeString(RestSearchParameterType theEnum) { return theEnum.getCode(); } @Override - public String toSystemString(SearchParamTypeEnum theEnum) { + public String toSystemString(RestSearchParameterType theEnum) { return theEnum.getSystem(); } @Override - public SearchParamTypeEnum fromCodeString(String theCodeString) { + public RestSearchParameterType fromCodeString(String theCodeString) { return CODE_TO_ENUM.get(theCodeString); } @Override - public SearchParamTypeEnum fromCodeString(String theCodeString, String theSystemString) { - Map map = SYSTEM_TO_CODE_TO_ENUM.get(theSystemString); + public RestSearchParameterType fromCodeString(String theCodeString, String theSystemString) { + Map map = SYSTEM_TO_CODE_TO_ENUM.get(theSystemString); if (map == null) { return null; } @@ -163,7 +170,7 @@ public enum SearchParamTypeEnum { /** * Constructor */ - SearchParamTypeEnum(String theCode, String theSystem) { + RestSearchParameterType(String theCode, String theSystem) { myCode = theCode; mySystem = theSystem; } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/api/RequestTypeEnum.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/api/RequestTypeEnum.java index 7be3422d95a..a0417ca8219 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/api/RequestTypeEnum.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/api/RequestTypeEnum.java @@ -1,5 +1,25 @@ package ca.uhn.fhir.rest.api; +/* + * #%L + * HAPI FHIR - Core Library + * %% + * Copyright (C) 2014 - 2015 University Health Network + * %% + * Licensed 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. + * #L% + */ + public enum RequestTypeEnum { DELETE, GET, OPTIONS, POST, PUT -} \ No newline at end of file +} diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/UriClientParam.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/UriClientParam.java new file mode 100644 index 00000000000..e3dc0282aec --- /dev/null +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/UriClientParam.java @@ -0,0 +1,103 @@ +package ca.uhn.fhir.rest.gclient; + +/* + * #%L + * HAPI FHIR - Core Library + * %% + * Copyright (C) 2014 - 2015 University Health Network + * %% + * Licensed 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. + * #L% + */ + +import java.util.Arrays; +import java.util.List; + +import ca.uhn.fhir.model.primitive.StringDt; + +/** + * + */ +public class UriClientParam implements IParam { + + //TODO: handle :above and :below + + private final String myParamName; + + public UriClientParam(String theParamName) { + myParamName = theParamName; + } + + @Override + public String getParamName() { + return myParamName; + } + + /** + * The string matches the given value (servers will often, but are not required to) implement this as a left match, meaning that a value of "smi" would match "smi" and "smith". + */ + public IUriMatch matches(String theValue) { + return new UriMatches(); + } + + + public interface IUriMatch { + + /** + * Requests that resources be returned which match the given value + */ + ICriterion value(String theValue); + + /** + * Requests that resources be returned which match ANY of the given values (this is an OR search). Note that to specify an AND search, simply add a subsequent {@link IQuery#where(ICriterion) + * where} criteria with the same parameter. + */ + ICriterion values(List theValues); + + /** + * Requests that resources be returned which match the given value + */ + ICriterion value(StringDt theValue); + + /** + * Requests that resources be returned which match ANY of the given values (this is an OR search). Note that to specify an AND search, simply add a subsequent {@link IQuery#where(ICriterion) + * where} criteria with the same parameter. + */ + ICriterion values(String... theValues); + + } + + private class UriMatches implements IUriMatch { + @Override + public ICriterion value(String theValue) { + return new StringCriterion(getParamName(), theValue); + } + + @Override + public ICriterion value(StringDt theValue) { + return new StringCriterion(getParamName(), theValue.getValue()); + } + + @Override + public ICriterion values(List theValue) { + return new StringCriterion(getParamName(), theValue); + } + + @Override + public ICriterion values(String... theValues) { + return new StringCriterion(getParamName(), Arrays.asList(theValues)); + } + + } + +} diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/method/IncludeParameter.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/method/IncludeParameter.java index 0bf120a7f0f..adea401d1ee 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/method/IncludeParameter.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/method/IncludeParameter.java @@ -32,7 +32,7 @@ import ca.uhn.fhir.context.ConfigurationException; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.model.api.Include; import ca.uhn.fhir.model.api.PathSpecification; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; import ca.uhn.fhir.rest.annotation.IncludeParam; import ca.uhn.fhir.rest.param.BaseQueryParameter; import ca.uhn.fhir.rest.server.exceptions.InternalErrorException; @@ -99,7 +99,7 @@ class IncludeParameter extends BaseQueryParameter { } @Override - public SearchParamTypeEnum getParamType() { + public RestSearchParameterType getParamType() { return null; } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/method/SearchParameter.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/method/SearchParameter.java index 2ae1a731ce2..b139bde9434 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/method/SearchParameter.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/method/SearchParameter.java @@ -39,7 +39,7 @@ import ca.uhn.fhir.model.api.IQueryParameterType; import ca.uhn.fhir.model.api.IResource; import ca.uhn.fhir.model.base.composite.BaseIdentifierDt; import ca.uhn.fhir.model.base.composite.BaseQuantityDt; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; import ca.uhn.fhir.model.primitive.StringDt; import ca.uhn.fhir.rest.annotation.OptionalParam; import ca.uhn.fhir.rest.param.BaseQueryParameter; @@ -66,6 +66,9 @@ import ca.uhn.fhir.rest.param.StringParam; import ca.uhn.fhir.rest.param.TokenAndListParam; import ca.uhn.fhir.rest.param.TokenOrListParam; import ca.uhn.fhir.rest.param.TokenParam; +import ca.uhn.fhir.rest.param.UriAndListParam; +import ca.uhn.fhir.rest.param.UriOrListParam; +import ca.uhn.fhir.rest.param.UriParam; import ca.uhn.fhir.rest.server.Constants; import ca.uhn.fhir.rest.server.exceptions.InternalErrorException; import ca.uhn.fhir.rest.server.exceptions.InvalidRequestException; @@ -78,50 +81,56 @@ import ca.uhn.fhir.util.CollectionUtil; public class SearchParameter extends BaseQueryParameter { private static final String EMPTY_STRING = ""; - private static HashMap> ourParamQualifiers; - private static HashMap, SearchParamTypeEnum> ourParamTypes; + private static HashMap> ourParamQualifiers; + private static HashMap, RestSearchParameterType> ourParamTypes; static final String QUALIFIER_ANY_TYPE = ":*"; static { - ourParamTypes = new HashMap, SearchParamTypeEnum>(); - ourParamQualifiers = new HashMap>(); + ourParamTypes = new HashMap, RestSearchParameterType>(); + ourParamQualifiers = new HashMap>(); - ourParamTypes.put(StringParam.class, SearchParamTypeEnum.STRING); - ourParamTypes.put(StringOrListParam.class, SearchParamTypeEnum.STRING); - ourParamTypes.put(StringAndListParam.class, SearchParamTypeEnum.STRING); - ourParamQualifiers.put(SearchParamTypeEnum.STRING, CollectionUtil.newSet(Constants.PARAMQUALIFIER_STRING_EXACT, Constants.PARAMQUALIFIER_MISSING, EMPTY_STRING)); + ourParamTypes.put(StringParam.class, RestSearchParameterType.STRING); + ourParamTypes.put(StringOrListParam.class, RestSearchParameterType.STRING); + ourParamTypes.put(StringAndListParam.class, RestSearchParameterType.STRING); + ourParamQualifiers.put(RestSearchParameterType.STRING, CollectionUtil.newSet(Constants.PARAMQUALIFIER_STRING_EXACT, Constants.PARAMQUALIFIER_MISSING, EMPTY_STRING)); - ourParamTypes.put(TokenParam.class, SearchParamTypeEnum.TOKEN); - ourParamTypes.put(TokenOrListParam.class, SearchParamTypeEnum.TOKEN); - ourParamTypes.put(TokenAndListParam.class, SearchParamTypeEnum.TOKEN); - ourParamQualifiers.put(SearchParamTypeEnum.TOKEN, CollectionUtil.newSet(Constants.PARAMQUALIFIER_TOKEN_TEXT, Constants.PARAMQUALIFIER_MISSING, EMPTY_STRING)); + ourParamTypes.put(UriParam.class, RestSearchParameterType.URI); + ourParamTypes.put(UriOrListParam.class, RestSearchParameterType.URI); + ourParamTypes.put(UriAndListParam.class, RestSearchParameterType.URI); + // TODO: are these right for URI? + ourParamQualifiers.put(RestSearchParameterType.URI, CollectionUtil.newSet(Constants.PARAMQUALIFIER_STRING_EXACT, Constants.PARAMQUALIFIER_MISSING, EMPTY_STRING)); - ourParamTypes.put(DateParam.class, SearchParamTypeEnum.DATE); - ourParamTypes.put(DateOrListParam.class, SearchParamTypeEnum.DATE); - ourParamTypes.put(DateAndListParam.class, SearchParamTypeEnum.DATE); - ourParamTypes.put(DateRangeParam.class, SearchParamTypeEnum.DATE); - ourParamQualifiers.put(SearchParamTypeEnum.DATE, CollectionUtil.newSet(Constants.PARAMQUALIFIER_MISSING, EMPTY_STRING)); + ourParamTypes.put(TokenParam.class, RestSearchParameterType.TOKEN); + ourParamTypes.put(TokenOrListParam.class, RestSearchParameterType.TOKEN); + ourParamTypes.put(TokenAndListParam.class, RestSearchParameterType.TOKEN); + ourParamQualifiers.put(RestSearchParameterType.TOKEN, CollectionUtil.newSet(Constants.PARAMQUALIFIER_TOKEN_TEXT, Constants.PARAMQUALIFIER_MISSING, EMPTY_STRING)); - ourParamTypes.put(QuantityParam.class, SearchParamTypeEnum.QUANTITY); - ourParamTypes.put(QuantityOrListParam.class, SearchParamTypeEnum.QUANTITY); - ourParamTypes.put(QuantityAndListParam.class, SearchParamTypeEnum.QUANTITY); - ourParamQualifiers.put(SearchParamTypeEnum.QUANTITY, CollectionUtil.newSet(Constants.PARAMQUALIFIER_MISSING, EMPTY_STRING)); + ourParamTypes.put(DateParam.class, RestSearchParameterType.DATE); + ourParamTypes.put(DateOrListParam.class, RestSearchParameterType.DATE); + ourParamTypes.put(DateAndListParam.class, RestSearchParameterType.DATE); + ourParamTypes.put(DateRangeParam.class, RestSearchParameterType.DATE); + ourParamQualifiers.put(RestSearchParameterType.DATE, CollectionUtil.newSet(Constants.PARAMQUALIFIER_MISSING, EMPTY_STRING)); - ourParamTypes.put(NumberParam.class, SearchParamTypeEnum.NUMBER); - ourParamTypes.put(NumberOrListParam.class, SearchParamTypeEnum.NUMBER); - ourParamTypes.put(NumberAndListParam.class, SearchParamTypeEnum.NUMBER); - ourParamQualifiers.put(SearchParamTypeEnum.NUMBER, CollectionUtil.newSet(Constants.PARAMQUALIFIER_MISSING, EMPTY_STRING)); + ourParamTypes.put(QuantityParam.class, RestSearchParameterType.QUANTITY); + ourParamTypes.put(QuantityOrListParam.class, RestSearchParameterType.QUANTITY); + ourParamTypes.put(QuantityAndListParam.class, RestSearchParameterType.QUANTITY); + ourParamQualifiers.put(RestSearchParameterType.QUANTITY, CollectionUtil.newSet(Constants.PARAMQUALIFIER_MISSING, EMPTY_STRING)); - ourParamTypes.put(ReferenceParam.class, SearchParamTypeEnum.REFERENCE); - ourParamTypes.put(ReferenceOrListParam.class, SearchParamTypeEnum.REFERENCE); - ourParamTypes.put(ReferenceAndListParam.class, SearchParamTypeEnum.REFERENCE); + ourParamTypes.put(NumberParam.class, RestSearchParameterType.NUMBER); + ourParamTypes.put(NumberOrListParam.class, RestSearchParameterType.NUMBER); + ourParamTypes.put(NumberAndListParam.class, RestSearchParameterType.NUMBER); + ourParamQualifiers.put(RestSearchParameterType.NUMBER, CollectionUtil.newSet(Constants.PARAMQUALIFIER_MISSING, EMPTY_STRING)); + + ourParamTypes.put(ReferenceParam.class, RestSearchParameterType.REFERENCE); + ourParamTypes.put(ReferenceOrListParam.class, RestSearchParameterType.REFERENCE); + ourParamTypes.put(ReferenceAndListParam.class, RestSearchParameterType.REFERENCE); // --vvvv-- no empty because that gets added from OptionalParam#chainWhitelist - ourParamQualifiers.put(SearchParamTypeEnum.REFERENCE, CollectionUtil.newSet(Constants.PARAMQUALIFIER_MISSING)); + ourParamQualifiers.put(RestSearchParameterType.REFERENCE, CollectionUtil.newSet(Constants.PARAMQUALIFIER_MISSING)); - ourParamTypes.put(CompositeParam.class, SearchParamTypeEnum.COMPOSITE); - ourParamTypes.put(CompositeOrListParam.class, SearchParamTypeEnum.COMPOSITE); - ourParamTypes.put(CompositeAndListParam.class, SearchParamTypeEnum.COMPOSITE); - ourParamQualifiers.put(SearchParamTypeEnum.COMPOSITE, CollectionUtil.newSet(Constants.PARAMQUALIFIER_MISSING, EMPTY_STRING)); + ourParamTypes.put(CompositeParam.class, RestSearchParameterType.COMPOSITE); + ourParamTypes.put(CompositeOrListParam.class, RestSearchParameterType.COMPOSITE); + ourParamTypes.put(CompositeAndListParam.class, RestSearchParameterType.COMPOSITE); + ourParamQualifiers.put(RestSearchParameterType.COMPOSITE, CollectionUtil.newSet(Constants.PARAMQUALIFIER_MISSING, EMPTY_STRING)); } private List> myCompositeTypes; @@ -129,7 +138,7 @@ public class SearchParameter extends BaseQueryParameter { private String myDescription; private String myName; private IParamBinder myParamBinder; - private SearchParamTypeEnum myParamType; + private RestSearchParameterType myParamType; private Set myQualifierBlacklist; private Set myQualifierWhitelist; private boolean myRequired; @@ -179,7 +188,7 @@ public class SearchParameter extends BaseQueryParameter { } @Override - public SearchParamTypeEnum getParamType() { + public RestSearchParameterType getParamType() { return myParamType; } @@ -274,12 +283,12 @@ public class SearchParameter extends BaseQueryParameter { myParamBinder = new QueryParameterAndBinder((Class>) type, myCompositeTypes); } else if (String.class.equals(type)) { myParamBinder = new StringBinder(); - myParamType = SearchParamTypeEnum.STRING; + myParamType = RestSearchParameterType.STRING; } else { throw new ConfigurationException("Unsupported data type for parameter: " + type.getCanonicalName()); } - SearchParamTypeEnum typeEnum = ourParamTypes.get(type); + RestSearchParameterType typeEnum = ourParamTypes.get(type); if (typeEnum != null) { Set builtInQualifiers = ourParamQualifiers.get(typeEnum); if (builtInQualifiers != null) { @@ -301,15 +310,15 @@ public class SearchParameter extends BaseQueryParameter { if (myParamType != null) { // ok } else if (StringDt.class.isAssignableFrom(type)) { - myParamType = SearchParamTypeEnum.STRING; + myParamType = RestSearchParameterType.STRING; } else if (QualifiedDateParam.class.isAssignableFrom(type)) { - myParamType = SearchParamTypeEnum.DATE; + myParamType = RestSearchParameterType.DATE; } else if (BaseIdentifierDt.class.isAssignableFrom(type)) { - myParamType = SearchParamTypeEnum.TOKEN; + myParamType = RestSearchParameterType.TOKEN; } else if (BaseQuantityDt.class.isAssignableFrom(type)) { - myParamType = SearchParamTypeEnum.QUANTITY; + myParamType = RestSearchParameterType.QUANTITY; } else if (ReferenceParam.class.isAssignableFrom(type)) { - myParamType = SearchParamTypeEnum.REFERENCE; + myParamType = RestSearchParameterType.REFERENCE; } else { throw new ConfigurationException("Unknown search parameter type: " + type); } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/BaseAndListParam.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/BaseAndListParam.java index b86bd5f3be2..ecbf0a72f2b 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/BaseAndListParam.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/BaseAndListParam.java @@ -25,7 +25,7 @@ import java.util.List; import ca.uhn.fhir.model.api.IQueryParameterAnd; import ca.uhn.fhir.model.api.IQueryParameterOr; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; import ca.uhn.fhir.rest.method.QualifiedParamList; import ca.uhn.fhir.rest.server.exceptions.InvalidRequestException; @@ -47,7 +47,7 @@ public abstract class BaseAndListParam> implement } } - public abstract SearchParamTypeEnum getSearchParamType(); + public abstract RestSearchParameterType getSearchParamType(); abstract T newInstance(); diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/BaseQueryParameter.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/BaseQueryParameter.java index 73ca3a5b787..6c206e78994 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/BaseQueryParameter.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/BaseQueryParameter.java @@ -31,7 +31,7 @@ import org.apache.commons.lang3.StringUtils; import org.hl7.fhir.instance.model.IBaseResource; import ca.uhn.fhir.context.FhirContext; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; import ca.uhn.fhir.rest.method.IParameter; import ca.uhn.fhir.rest.method.QualifiedParamList; import ca.uhn.fhir.rest.method.Request; @@ -49,7 +49,7 @@ public abstract class BaseQueryParameter implements IParameter { public abstract String getName(); - public abstract SearchParamTypeEnum getParamType(); + public abstract RestSearchParameterType getParamType(); /** * Returns null if blacklist is "none" diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/CompositeAndListParam.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/CompositeAndListParam.java index 73314cafe8f..8a45e89c59b 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/CompositeAndListParam.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/CompositeAndListParam.java @@ -1,7 +1,7 @@ package ca.uhn.fhir.rest.param; import ca.uhn.fhir.model.api.IQueryParameterType; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; /* * #%L @@ -41,8 +41,8 @@ public class CompositeAndListParam { } @Override - public SearchParamTypeEnum getSearchParamType() { - return SearchParamTypeEnum.DATE; + public RestSearchParameterType getSearchParamType() { + return RestSearchParameterType.DATE; } } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/NumberAndListParam.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/NumberAndListParam.java index 6478be3edbd..f2daae4420d 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/NumberAndListParam.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/NumberAndListParam.java @@ -1,6 +1,6 @@ package ca.uhn.fhir.rest.param; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; /* * #%L @@ -31,8 +31,8 @@ public class NumberAndListParam extends BaseAndListParam { } @Override - public SearchParamTypeEnum getSearchParamType() { - return SearchParamTypeEnum.NUMBER; + public RestSearchParameterType getSearchParamType() { + return RestSearchParameterType.NUMBER; } } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/QuantityAndListParam.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/QuantityAndListParam.java index 5894368eac3..516480502ba 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/QuantityAndListParam.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/QuantityAndListParam.java @@ -1,6 +1,6 @@ package ca.uhn.fhir.rest.param; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; /* * #%L @@ -31,8 +31,8 @@ public class QuantityAndListParam extends BaseAndListParam } @Override - public SearchParamTypeEnum getSearchParamType() { - return SearchParamTypeEnum.QUANTITY; + public RestSearchParameterType getSearchParamType() { + return RestSearchParameterType.QUANTITY; } } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/ReferenceAndListParam.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/ReferenceAndListParam.java index 4c084d9c911..033a97453df 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/ReferenceAndListParam.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/ReferenceAndListParam.java @@ -1,6 +1,6 @@ package ca.uhn.fhir.rest.param; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; /* * #%L @@ -31,8 +31,8 @@ public class ReferenceAndListParam extends BaseAndListParam { } @Override - public SearchParamTypeEnum getSearchParamType() { - return SearchParamTypeEnum.STRING; + public RestSearchParameterType getSearchParamType() { + return RestSearchParameterType.STRING; } } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/TokenAndListParam.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/TokenAndListParam.java index d4e57c23baf..0e7f25c67a8 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/TokenAndListParam.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/TokenAndListParam.java @@ -1,6 +1,6 @@ package ca.uhn.fhir.rest.param; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; /* * #%L @@ -31,8 +31,8 @@ public class TokenAndListParam extends BaseAndListParam { } @Override - public SearchParamTypeEnum getSearchParamType() { - return SearchParamTypeEnum.TOKEN; + public RestSearchParameterType getSearchParamType() { + return RestSearchParameterType.TOKEN; } diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/UriAndListParam.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/UriAndListParam.java new file mode 100644 index 00000000000..720169f1231 --- /dev/null +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/UriAndListParam.java @@ -0,0 +1,38 @@ +package ca.uhn.fhir.rest.param; + +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; + +/* + * #%L + * HAPI FHIR - Core Library + * %% + * Copyright (C) 2014 - 2015 University Health Network + * %% + * Licensed 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. + * #L% + */ + + +public class UriAndListParam extends BaseAndListParam { + + @Override + UriOrListParam newInstance() { + return new UriOrListParam(); + } + + @Override + public RestSearchParameterType getSearchParamType() { + return RestSearchParameterType.URI; + } + +} diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/UriOrListParam.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/UriOrListParam.java new file mode 100644 index 00000000000..dfea42df988 --- /dev/null +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/UriOrListParam.java @@ -0,0 +1,31 @@ +package ca.uhn.fhir.rest.param; + +/* + * #%L + * HAPI FHIR - Core Library + * %% + * Copyright (C) 2014 - 2015 University Health Network + * %% + * Licensed 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. + * #L% + */ + + +public class UriOrListParam extends BaseOrListParam { + + @Override + UriParam newInstance() { + return new UriParam(); + } + +} diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/UriParam.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/UriParam.java new file mode 100644 index 00000000000..73d3af05802 --- /dev/null +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/UriParam.java @@ -0,0 +1,94 @@ +package ca.uhn.fhir.rest.param; + +/* + * #%L + * HAPI FHIR - Core Library + * %% + * Copyright (C) 2014 - 2015 University Health Network + * %% + * Licensed 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. + * #L% + */ + +import static org.apache.commons.lang3.StringUtils.defaultString; + +import org.apache.commons.lang3.StringUtils; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +import ca.uhn.fhir.model.api.IQueryParameterType; +import ca.uhn.fhir.model.primitive.StringDt; +import ca.uhn.fhir.model.primitive.UriDt; + +public class UriParam extends BaseParam implements IQueryParameterType { + + private String myValue; + + public UriParam() { + } + + public UriParam(String theValue) { + setValue(theValue); + } + + @Override + public String getQueryParameterQualifier() { + if (getMissing() != null) { + return super.getQueryParameterQualifier(); + } else { + return null; + } + } + + public String getValue() { + return myValue; + } + + @Override + public String getValueAsQueryToken() { + return ParameterUtil.escape(myValue); + } + + public String getValueNotNull() { + return defaultString(myValue); + } + + public boolean isEmpty() { + return StringUtils.isEmpty(myValue); + } + + public void setValue(String theValue) { + myValue = theValue; + } + + @Override + public void setValueAsQueryToken(String theQualifier, String theValue) { + myValue = ParameterUtil.unescape(theValue); + } + + @Override + public String toString() { + ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE); + builder.append("value", getValue()); + return builder.toString(); + } + + public StringDt getValueAsStringDt() { + return new StringDt(myValue); + } + + public UriDt getValueAsUriDt() { + return new UriDt(myValue); + } + +} diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchemaBaseValidator.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchemaBaseValidator.java index e0f1aa3605b..b387b4b8e88 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchemaBaseValidator.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchemaBaseValidator.java @@ -46,6 +46,7 @@ import org.xml.sax.SAXParseException; import ca.uhn.fhir.context.ConfigurationException; import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.context.FhirVersionEnum; import ca.uhn.fhir.model.api.Bundle; import ca.uhn.fhir.model.api.IResource; import ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue; @@ -146,7 +147,11 @@ class SchemaBaseValidator implements IValidator { @Override public void validateBundle(ValidationContext theContext) { - doValidate(theContext, "fhir-atom-single.xsd"); + if (myCtx.getVersion().getVersion().isNewerThan(FhirVersionEnum.DSTU1)) { + doValidate(theContext, "fhir-single.xsd"); + } else { + doValidate(theContext, "fhir-atom-single.xsd"); + } } @Override diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseFhirDao.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseFhirDao.java index 6be38af1b0a..4eab5aa0b02 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseFhirDao.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseFhirDao.java @@ -90,7 +90,7 @@ import ca.uhn.fhir.model.api.Tag; import ca.uhn.fhir.model.api.TagList; import ca.uhn.fhir.model.base.composite.BaseCodingDt; import ca.uhn.fhir.model.base.composite.BaseResourceReferenceDt; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; import ca.uhn.fhir.model.dstu2.composite.MetaDt; import ca.uhn.fhir.model.primitive.IdDt; import ca.uhn.fhir.model.primitive.InstantDt; @@ -160,7 +160,7 @@ public abstract class BaseFhirDao implements IDao { RuntimeResourceDefinition def = getContext().getResourceDefinition(theResource); for (RuntimeSearchParam nextSpDef : def.getSearchParams()) { - if (nextSpDef.getParamType() != SearchParamTypeEnum.REFERENCE) { + if (nextSpDef.getParamType() != RestSearchParameterType.REFERENCE) { continue; } diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseFhirResourceDao.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseFhirResourceDao.java index 4034fd96794..5b7ec559317 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseFhirResourceDao.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseFhirResourceDao.java @@ -96,7 +96,7 @@ import ca.uhn.fhir.model.base.composite.BaseResourceReferenceDt; import ca.uhn.fhir.model.dstu.resource.OperationOutcome; import ca.uhn.fhir.model.dstu.valueset.IssueSeverityEnum; import ca.uhn.fhir.model.dstu.valueset.QuantityCompararatorEnum; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; import ca.uhn.fhir.model.dstu2.composite.CodingDt; import ca.uhn.fhir.model.dstu2.composite.MetaDt; import ca.uhn.fhir.model.primitive.IdDt; @@ -1150,7 +1150,7 @@ public abstract class BaseFhirResourceDao extends BaseFhirD if (sp == null) { throw new ConfigurationException("Unknown search param on resource[" + myResourceName + "] for secondary key[" + mySecondaryPrimaryKeyParamName + "]"); } - if (sp.getParamType() != SearchParamTypeEnum.TOKEN) { + if (sp.getParamType() != RestSearchParameterType.TOKEN) { throw new ConfigurationException("Search param on resource[" + myResourceName + "] for secondary key[" + mySecondaryPrimaryKeyParamName + "] is not a token type, only token is supported"); } diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu1.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu1.java index 79550b46c68..aca6944ae15 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu1.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu1.java @@ -1,5 +1,25 @@ package ca.uhn.fhir.jpa.dao; +/* + * #%L + * HAPI FHIR JPA Server + * %% + * Copyright (C) 2014 - 2015 University Health Network + * %% + * Licensed 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. + * #L% + */ + import java.util.ArrayList; import java.util.Collections; import java.util.List; diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu2.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu2.java index 9860fe972b4..56eeeddc196 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu2.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu2.java @@ -1,5 +1,25 @@ package ca.uhn.fhir.jpa.dao; +/* + * #%L + * HAPI FHIR JPA Server + * %% + * Copyright (C) 2014 - 2015 University Health Network + * %% + * Licensed 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. + * #L% + */ + import java.util.ArrayList; import java.util.Collections; import java.util.List; diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/SearchParamExtractorDstu1.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/SearchParamExtractorDstu1.java index bdbcb83348a..dfbd1c61811 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/SearchParamExtractorDstu1.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/SearchParamExtractorDstu1.java @@ -20,7 +20,8 @@ package ca.uhn.fhir.jpa.dao; * #L% */ -import static org.apache.commons.lang3.StringUtils.*; +import static org.apache.commons.lang3.StringUtils.isBlank; +import static org.apache.commons.lang3.StringUtils.isNotBlank; import java.math.BigDecimal; import java.util.ArrayList; @@ -58,7 +59,7 @@ import ca.uhn.fhir.model.dstu.composite.HumanNameDt; import ca.uhn.fhir.model.dstu.composite.IdentifierDt; import ca.uhn.fhir.model.dstu.composite.PeriodDt; import ca.uhn.fhir.model.dstu.composite.QuantityDt; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; import ca.uhn.fhir.model.primitive.BaseDateTimeDt; import ca.uhn.fhir.model.primitive.IntegerDt; import ca.uhn.fhir.model.primitive.StringDt; @@ -76,7 +77,7 @@ class SearchParamExtractorDstu1 extends BaseSearchParamExtractor implements ISea RuntimeResourceDefinition def = getContext().getResourceDefinition(theResource); for (RuntimeSearchParam nextSpDef : def.getSearchParams()) { - if (nextSpDef.getParamType() != SearchParamTypeEnum.DATE) { + if (nextSpDef.getParamType() != RestSearchParameterType.DATE) { continue; } @@ -133,7 +134,7 @@ class SearchParamExtractorDstu1 extends BaseSearchParamExtractor implements ISea RuntimeResourceDefinition def = getContext().getResourceDefinition(theResource); for (RuntimeSearchParam nextSpDef : def.getSearchParams()) { - if (nextSpDef.getParamType() != SearchParamTypeEnum.NUMBER) { + if (nextSpDef.getParamType() != RestSearchParameterType.NUMBER) { continue; } @@ -230,7 +231,7 @@ class SearchParamExtractorDstu1 extends BaseSearchParamExtractor implements ISea RuntimeResourceDefinition def = getContext().getResourceDefinition(theResource); for (RuntimeSearchParam nextSpDef : def.getSearchParams()) { - if (nextSpDef.getParamType() != SearchParamTypeEnum.QUANTITY) { + if (nextSpDef.getParamType() != RestSearchParameterType.QUANTITY) { continue; } @@ -280,7 +281,7 @@ class SearchParamExtractorDstu1 extends BaseSearchParamExtractor implements ISea RuntimeResourceDefinition def = getContext().getResourceDefinition(theResource); for (RuntimeSearchParam nextSpDef : def.getSearchParams()) { - if (nextSpDef.getParamType() != SearchParamTypeEnum.STRING) { + if (nextSpDef.getParamType() != RestSearchParameterType.STRING) { continue; } @@ -368,7 +369,7 @@ class SearchParamExtractorDstu1 extends BaseSearchParamExtractor implements ISea RuntimeResourceDefinition def = getContext().getResourceDefinition(theResource); for (RuntimeSearchParam nextSpDef : def.getSearchParams()) { - if (nextSpDef.getParamType() != SearchParamTypeEnum.TOKEN) { + if (nextSpDef.getParamType() != RestSearchParameterType.TOKEN) { continue; } diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/SearchParamExtractorDstu2.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/SearchParamExtractorDstu2.java index 86506a7fd46..26297a73ad8 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/SearchParamExtractorDstu2.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/SearchParamExtractorDstu2.java @@ -49,7 +49,7 @@ import ca.uhn.fhir.model.api.IDatatype; import ca.uhn.fhir.model.api.IPrimitiveDatatype; import ca.uhn.fhir.model.api.IResource; import ca.uhn.fhir.model.base.composite.BaseHumanNameDt; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; import ca.uhn.fhir.model.dstu2.composite.AddressDt; import ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt; import ca.uhn.fhir.model.dstu2.composite.CodingDt; @@ -59,6 +59,8 @@ import ca.uhn.fhir.model.dstu2.composite.HumanNameDt; import ca.uhn.fhir.model.dstu2.composite.IdentifierDt; import ca.uhn.fhir.model.dstu2.composite.PeriodDt; import ca.uhn.fhir.model.dstu2.composite.QuantityDt; +import ca.uhn.fhir.model.dstu2.resource.Patient; +import ca.uhn.fhir.model.dstu2.resource.Patient.Communication; import ca.uhn.fhir.model.primitive.BaseDateTimeDt; import ca.uhn.fhir.model.primitive.IntegerDt; import ca.uhn.fhir.model.primitive.StringDt; @@ -82,7 +84,7 @@ class SearchParamExtractorDstu2 extends BaseSearchParamExtractor implements ISea RuntimeResourceDefinition def = getContext().getResourceDefinition(theResource); for (RuntimeSearchParam nextSpDef : def.getSearchParams()) { - if (nextSpDef.getParamType() != SearchParamTypeEnum.DATE) { + if (nextSpDef.getParamType() != RestSearchParameterType.DATE) { continue; } @@ -145,7 +147,7 @@ class SearchParamExtractorDstu2 extends BaseSearchParamExtractor implements ISea RuntimeResourceDefinition def = getContext().getResourceDefinition(theResource); for (RuntimeSearchParam nextSpDef : def.getSearchParams()) { - if (nextSpDef.getParamType() != SearchParamTypeEnum.NUMBER) { + if (nextSpDef.getParamType() != RestSearchParameterType.NUMBER) { continue; } @@ -248,7 +250,7 @@ class SearchParamExtractorDstu2 extends BaseSearchParamExtractor implements ISea RuntimeResourceDefinition def = getContext().getResourceDefinition(theResource); for (RuntimeSearchParam nextSpDef : def.getSearchParams()) { - if (nextSpDef.getParamType() != SearchParamTypeEnum.QUANTITY) { + if (nextSpDef.getParamType() != RestSearchParameterType.QUANTITY) { continue; } @@ -304,7 +306,7 @@ class SearchParamExtractorDstu2 extends BaseSearchParamExtractor implements ISea RuntimeResourceDefinition def = getContext().getResourceDefinition(theResource); for (RuntimeSearchParam nextSpDef : def.getSearchParams()) { - if (nextSpDef.getParamType() != SearchParamTypeEnum.STRING) { + if (nextSpDef.getParamType() != RestSearchParameterType.STRING) { continue; } @@ -398,7 +400,7 @@ class SearchParamExtractorDstu2 extends BaseSearchParamExtractor implements ISea RuntimeResourceDefinition def = getContext().getResourceDefinition(theResource); for (RuntimeSearchParam nextSpDef : def.getSearchParams()) { - if (nextSpDef.getParamType() != SearchParamTypeEnum.TOKEN) { + if (nextSpDef.getParamType() != RestSearchParameterType.TOKEN) { continue; } @@ -416,6 +418,13 @@ class SearchParamExtractorDstu2 extends BaseSearchParamExtractor implements ISea List codes = new ArrayList(); for (Object nextObject : extractValues(nextPath, theResource)) { + + // Patient:language + if (nextObject instanceof Patient.Communication) { + Communication nextValue = (Patient.Communication) nextObject; + nextObject= nextValue.getLanguage(); + } + if (nextObject instanceof IdentifierDt) { IdentifierDt nextValue = (IdentifierDt) nextObject; if (nextValue.isEmpty()) { diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/TagTypeEnum.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/TagTypeEnum.java index cafad7eeb49..9c1787d7b5b 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/TagTypeEnum.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/TagTypeEnum.java @@ -1,5 +1,25 @@ package ca.uhn.fhir.jpa.entity; +/* + * #%L + * HAPI FHIR JPA Server + * %% + * Copyright (C) 2014 - 2015 University Health Network + * %% + * Licensed 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. + * #L% + */ + public enum TagTypeEnum { /* diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/BaseJpaResourceProviderEncounterDstu2.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/BaseJpaResourceProviderEncounterDstu2.java index 799c1a45cd6..78726be2072 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/BaseJpaResourceProviderEncounterDstu2.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/BaseJpaResourceProviderEncounterDstu2.java @@ -1,5 +1,25 @@ package ca.uhn.fhir.jpa.provider; +/* + * #%L + * HAPI FHIR JPA Server + * %% + * Copyright (C) 2014 - 2015 University Health Network + * %% + * Licensed 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. + * #L% + */ + import java.util.Collections; import javax.servlet.http.HttpServletRequest; diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/BaseJpaResourceProviderPatientDstu2.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/BaseJpaResourceProviderPatientDstu2.java index ead79dd6dac..e8b9069a567 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/BaseJpaResourceProviderPatientDstu2.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/BaseJpaResourceProviderPatientDstu2.java @@ -1,5 +1,25 @@ package ca.uhn.fhir.jpa.provider; +/* + * #%L + * HAPI FHIR JPA Server + * %% + * Copyright (C) 2014 - 2015 University Health Network + * %% + * Licensed 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. + * #L% + */ + import java.util.Collections; import javax.servlet.http.HttpServletRequest; diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu2Test.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu2Test.java index 942705d25f1..b8251b9a4b9 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu2Test.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/FhirResourceDaoDstu2Test.java @@ -863,7 +863,7 @@ public class FhirResourceDaoDstu2Test { map.add(Organization.SP_NAME, new StringParam("X"+methodName+"X")); map.setRevIncludes(Collections.singleton(Patient.INCLUDE_ORGANIZATION)); IBundleProvider resultsP = ourOrganizationDao.search(map); - assertEquals(1, resultsP.size()); + assertEquals(2, resultsP.size()); List results = resultsP.getResources(0, resultsP.size()); assertEquals(2, results.size()); assertEquals(Organization.class, results.get(0).getClass()); @@ -1539,7 +1539,7 @@ public class FhirResourceDaoDstu2Test { Patient patient = new Patient(); patient.addIdentifier().setSystem("urn:system").setValue("testSearchTokenParam001"); patient.addName().addFamily("Tester").addGiven("testSearchTokenParam1"); - patient.addCommunication().setText("testSearchTokenParamComText").addCoding().setCode("testSearchTokenParamCode").setSystem("testSearchTokenParamSystem") + patient.addCommunication().getLanguage().setText("testSearchTokenParamComText").addCoding().setCode("testSearchTokenParamCode").setSystem("testSearchTokenParamSystem") .setDisplay("testSearchTokenParamDisplay"); ourPatientDao.create(patient); diff --git a/hapi-fhir-structures-dstu/src/main/java/ca/uhn/fhir/rest/server/provider/ServerConformanceProvider.java b/hapi-fhir-structures-dstu/src/main/java/ca/uhn/fhir/rest/server/provider/ServerConformanceProvider.java index bf01db8488b..0ff78156c8f 100644 --- a/hapi-fhir-structures-dstu/src/main/java/ca/uhn/fhir/rest/server/provider/ServerConformanceProvider.java +++ b/hapi-fhir-structures-dstu/src/main/java/ca/uhn/fhir/rest/server/provider/ServerConformanceProvider.java @@ -237,7 +237,7 @@ public class ServerConformanceProvider implements IServerConformanceProvider nextTarget : nextParameter.getDeclaredTypes()) { RuntimeResourceDefinition targetDef = myRestfulServer.getFhirContext().getResourceDefinition(nextTarget); if (targetDef != null) { diff --git a/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/context/NameChanges.java b/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/context/NameChanges.java index a67e9a26b5f..9dbac7ac9f2 100644 --- a/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/context/NameChanges.java +++ b/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/context/NameChanges.java @@ -8,7 +8,7 @@ import org.junit.Test; import ca.uhn.fhir.model.api.IResource; import ca.uhn.fhir.model.dstu.resource.Patient; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; import com.google.common.collect.ImmutableSet; import com.google.common.reflect.ClassPath; @@ -30,7 +30,7 @@ public class NameChanges { RuntimeResourceDefinition def = ctx.getResourceDefinition((Class) Class.forName(classInfo.getName())); for (RuntimeSearchParam nextParam : def.getSearchParams()) { - if (nextParam.getParamType() == SearchParamTypeEnum.COMPOSITE) { + if (nextParam.getParamType() == RestSearchParameterType.COMPOSITE) { continue; } diff --git a/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/server/DynamicSearchTest.java b/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/server/DynamicSearchTest.java index f9c7229ed69..e69c6813b9d 100644 --- a/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/server/DynamicSearchTest.java +++ b/hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/rest/server/DynamicSearchTest.java @@ -26,7 +26,7 @@ import ca.uhn.fhir.model.api.Bundle; import ca.uhn.fhir.model.api.IResource; import ca.uhn.fhir.model.dstu.resource.Conformance; import ca.uhn.fhir.model.dstu.resource.Patient; -import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum; +import ca.uhn.fhir.model.dstu.valueset.RestSearchParameterType; import ca.uhn.fhir.narrative.DefaultThymeleafNarrativeGenerator; import ca.uhn.fhir.rest.annotation.Search; import ca.uhn.fhir.rest.param.StringAndListParam; @@ -173,8 +173,8 @@ public class DynamicSearchTest { @Override public List getSearchParameters() { ArrayList retVal = new ArrayList(); - retVal.add(new RuntimeSearchParam("param1", "This is the first parameter", "Patient.param1", SearchParamTypeEnum.STRING)); - retVal.add(new RuntimeSearchParam("param2", "This is the second parameter", "Patient.param2", SearchParamTypeEnum.DATE)); + retVal.add(new RuntimeSearchParam("param1", "This is the first parameter", "Patient.param1", RestSearchParameterType.STRING)); + retVal.add(new RuntimeSearchParam("param2", "This is the second parameter", "Patient.param2", RestSearchParameterType.DATE)); return retVal; } diff --git a/hapi-fhir-structures-dstu2/pom.xml b/hapi-fhir-structures-dstu2/pom.xml index e1499bf3c1a..1a5331ba33a 100644 --- a/hapi-fhir-structures-dstu2/pom.xml +++ b/hapi-fhir-structures-dstu2/pom.xml @@ -238,6 +238,8 @@ StatusRequest Person ProcedureRequest + ProcessRequest + Claim VisionClaim DeviceMetric Organization diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/alert.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/alert.sch index 125e005a0bb..cf7ab05342b 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/alert.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/alert.sch @@ -1,52 +1,75 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Alert - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/allergyintolerance.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/allergyintolerance.sch index 154fc5d3770..78ae9463c05 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/allergyintolerance.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/allergyintolerance.sch @@ -1,82 +1,93 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + AllergyIntolerance - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/appointment.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/appointment.sch index 90e78c55a9e..1d78968f8dd 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/appointment.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/appointment.sch @@ -1,79 +1,84 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Appointment - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/appointmentresponse.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/appointmentresponse.sch index 42fbfa72f2d..4eff2720212 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/appointmentresponse.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/appointmentresponse.sch @@ -1,55 +1,69 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + AppointmentResponse - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/auditevent.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/auditevent.sch new file mode 100644 index 00000000000..5bb1f9cfee8 --- /dev/null +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/auditevent.sch @@ -0,0 +1,103 @@ + + + + + + + Global + + global-1: All FHIR elements must have a @value or children + + + + AuditEvent + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + sev-3: Either a userId or a reference, but not both + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + sev-2: Either an identifier or a reference, but not both + sev-1: Either a name or a query (or both) + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/basic.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/basic.sch index 680e403c39c..a12ca2b3985 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/basic.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/basic.sch @@ -1,52 +1,69 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Basic - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/binary.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/binary.sch index 3bfe127e2df..cd4277ef70d 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/binary.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/binary.sch @@ -1,31 +1,28 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Binary - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/bodysite.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/bodysite.sch new file mode 100644 index 00000000000..ae61258de6c --- /dev/null +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/bodysite.sch @@ -0,0 +1,93 @@ + + + + + + + Global + + global-1: All FHIR elements must have a @value or children + + + + BodySite + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + att-1: It the Attachment has data, it SHALL have a contentType + + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/bundle.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/bundle.sch index ad08b3a0a54..2d448382755 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/bundle.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/bundle.sch @@ -1,52 +1,49 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Bundle - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + bdl-2: entry.search only when a search + bdl-1: total only when a search or history + bdl-3: entry.transaction when (and only when) a transaction + bdl-4: entry.transactionResponse when (and only when) a transaction-response - - Inv-1: SHALL have a local reference if the resource is provided inline + + bdl-5: must be a resource unless there's a transaction or transaction response - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Search only when transaction - Inv-1: Status only when transaction or search - Inv-5: Status only when transaction or history + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: status only when resource - Inv-4: deleted or resource (but not both) + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/careplan.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/careplan.sch index aef8d08a0ba..c1c8376630b 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/careplan.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/careplan.sch @@ -1,112 +1,129 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + CarePlan - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-3: Only provide a detail reference, or a simple detail summary - Inv-2: Quantity can only be specified if activity category is supply - Inv-1: DailyDose can only be specified if activity category is drug or food + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + cpl-1: DailyDose can only be specified if activity category is drug or food + cpl-2: Quantity can only be specified if activity category is supply + cpl-3: Only provide a detail reference, or a simple detail summary - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: There can only be a repeat element if there is none or one event + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-3: At most, only one of count or end can be present - Inv-2: Either frequency or when SHALL be present, but not both + + tim-4: duration SHALL be a non-negative value - - Inv-4: duration SHALL be a positive value + + tim-5: period SHALL be a non-negative value - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/careplan2.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/careplan2.sch index 57d6531b68f..dec4c463953 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/careplan2.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/careplan2.sch @@ -1,64 +1,81 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + CarePlan2 - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/claim.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/claim.sch new file mode 100644 index 00000000000..da946919f7b --- /dev/null +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/claim.sch @@ -0,0 +1,213 @@ + + + + + + + Global + + global-1: All FHIR elements must have a @value or children + + + + Claim + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/claimresponse.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/claimresponse.sch index e5a240d7cc6..ddce729c09a 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/claimresponse.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/claimresponse.sch @@ -1,181 +1,168 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + ClaimResponse - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-3: If a code for the units is present, the system SHALL also be present + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present - - - Inv-1: If present, start SHALL have a lower value than end - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/clinicalimpression.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/clinicalimpression.sch new file mode 100644 index 00000000000..b4e009ce4e4 --- /dev/null +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/clinicalimpression.sch @@ -0,0 +1,105 @@ + + + + + + + Global + + global-1: All FHIR elements must have a @value or children + + + + ClinicalImpression + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/communication.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/communication.sch index a8d96b3a60c..cc6a54dad25 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/communication.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/communication.sch @@ -1,82 +1,93 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Communication - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: It the Attachment has data, it SHALL have a contentType + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + att-1: It the Attachment has data, it SHALL have a contentType - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/communicationrequest.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/communicationrequest.sch index 1d9c4f5cdeb..5b945f2a365 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/communicationrequest.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/communicationrequest.sch @@ -1,94 +1,102 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + CommunicationRequest - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: It the Attachment has data, it SHALL have a contentType + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + att-1: It the Attachment has data, it SHALL have a contentType - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/composition.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/composition.sch index 983c980f017..198450ace66 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/composition.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/composition.sch @@ -1,107 +1,108 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Composition - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + cmp-1: A section must have either subsections or content - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: A section must have either subsections or content - Inv-1: A section can only have a code if it has no content + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/conceptmap.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/conceptmap.sch index f8bac4cf234..b2e97ef8184 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/conceptmap.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/conceptmap.sch @@ -1,46 +1,78 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + ConceptMap - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: A system is required if a value is provided. + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If the map is narrower or inexact, there SHALL be some comments + + ccc-2: Only one coding in a set can be chosen directly by the user - + + cod-1: If a valueSet is provided, a system URI Is required + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cmd-1: If the map is narrower or inexact, there SHALL be some comments + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/condition.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/condition.sch index 7aafec704ff..6122684ff1e 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/condition.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/condition.sch @@ -1,160 +1,173 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Condition - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: Stage SHALL have summary or assessment + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range - - Inv-1: If a valueSet is provided, a system URI Is required + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + con-1: Stage SHALL have summary or assessment - - Inv-2: evidence SHALL have code or details + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + con-2: evidence SHALL have code or details - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-3: location SHALL have code or details + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + con-3: location SHALL have code or details - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-4: Relationship SHALL have either a code or a target + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + con-4: Relationship SHALL have either a code or a target - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-5: Relationship SHALL have either a code or a target + + con-5: Relationship SHALL have either a code or a target - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/conformance.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/conformance.sch index d9db0f91738..de68053f5c2 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/conformance.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/conformance.sch @@ -1,96 +1,107 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Conformance - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: A Conformance statement SHALL have at least one of description, software, or implementation - Inv-1: A Conformance statement SHALL have at least one of rest, messaging or document - Inv-7: The set of documents must be unique by the combination of profile & mode - Inv-5: The set of end points listed for messaging must be unique - Inv-4: If there is more than one messaging element, endpoint must be specified for each one - Inv-8: There can only be one REST declaration per mode + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: A system is required if a value is provided. + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cnf-1: A Conformance statement SHALL have at least one of rest, messaging or document + cnf-2: A Conformance statement SHALL have at least one of description, software, or implementation + cnf-4: If there is more than one messaging element, endpoint must be specified for each one + cnf-5: The set of end points listed for messaging must be unique + cnf-7: The set of documents must be unique by the combination of profile & mode + cnf-8: There can only be one REST declaration per mode - - Inv-1: SHALL have a local reference if the resource is provided inline + + cpt-2: A system is required if a value is provided. - - Inv-10: A given query can only be described once per RESTful mode - Inv-9: A given resource can only be described once per RESTful mode + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cnf-10: A given query can only be described once per RESTful mode + cnf-9: A given resource can only be described once per RESTful mode - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-11: Operation codes must be unique in the context of a resource - Inv-12: Search parameter names must be unique in the context of a resource + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cnf-12: Search parameter names must be unique in the context of a resource + cnf-11: Operation codes must be unique in the context of a resource - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-3: Messaging end point is required (and is only permitted) when statement is for an implementation - Inv-6: The set of events per messaging endpoint must be unique by the combination of code & mode + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cnf-3: Messaging end point is required (and is only permitted) when statement is for an implementation + cnf-6: The set of events per messaging endpoint must be unique by the combination of code & mode - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/contract.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/contract.sch index 047a768c406..6cb034e26ed 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/contract.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/contract.sch @@ -1,151 +1,225 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Contract - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-3: If a code for the units is present, the system SHALL also be present + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-2: Only one coding in a set can be chosen directly by the user + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-3: If a code for the units is present, the system SHALL also be present + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-3: If a code for the units is present, the system SHALL also be present + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: It the Attachment has data, it SHALL have a contentType + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: It the Attachment has data, it SHALL have a contentType + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: It the Attachment has data, it SHALL have a contentType + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: It the Attachment has data, it SHALL have a contentType + + ccc-2: Only one coding in a set can be chosen directly by the user - + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + att-1: It the Attachment has data, it SHALL have a contentType + + + ref-1: SHALL have a local reference if the resource is provided inline + + + att-1: It the Attachment has data, it SHALL have a contentType + + + ref-1: SHALL have a local reference if the resource is provided inline + + + att-1: It the Attachment has data, it SHALL have a contentType + + + ref-1: SHALL have a local reference if the resource is provided inline + + + att-1: It the Attachment has data, it SHALL have a contentType + + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/contraindication.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/contraindication.sch index cefa75308ac..56bac3a4353 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/contraindication.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/contraindication.sch @@ -1,67 +1,81 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Contraindication - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/coverage.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/coverage.sch index 8d5f13f862e..82c3ee53786 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/coverage.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/coverage.sch @@ -1,61 +1,90 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Coverage - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/dataelement.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/dataelement.sch index e411785bc8c..4f84c1e3d12 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/dataelement.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/dataelement.sch @@ -1,83 +1,103 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + DataElement - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: Can have a maximum of one definitional binding or primary concept + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: A system is required if a value is provided. + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cpt-2: A system is required if a value is provided. - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + eld-13: Types must be unique by the combination of code and profile + eld-14: Constraints must be unique by key + eld-11: Binding can only be present for coded elements, string, and uri + eld-8: Pattern and value are mutually exclusive + eld-15: Constraint names must be unique. + eld-16: default value and meaningWhenMissing are mutually exclusive + eld-2: Min <= Max + eld-7: Pattern may only be specified if there is one type + eld-6: Fixed value may only be specified if there is one type + eld-5: Either a namereference or a fixed value (but not both) is permitted - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + eld-1: If there are no discriminators, there must be a definition - - Inv-1: If a valueSet is provided, a system URI Is required + + eld-3: Max SHALL be a number or "*" - - Inv-1: SHALL have a local reference if the resource is provided inline + + eld-4: Aggregation may only be specified if one of the allowed types for the element is a resource - - Inv-1: SHALL have a local reference if the resource is provided inline + + eld-9: Example value sets are always extensible + eld-10: provide either a reference or a description (or both) - - Inv-3: provide either a valueSet or a description (or both) - Inv-14: Example value sets are always extensible + + eld-12: uri SHALL start with http:// or https:// - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-26: Must have at a name or a uri (or both) - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/device.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/device.sch index d7604db3924..00f4dc1c167 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/device.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/device.sch @@ -1,61 +1,78 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Device - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: A system is required if a value is provided. + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + cpt-2: A system is required if a value is provided. - + + per-1: If present, start SHALL have a lower value than end + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/devicecomponent.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/devicecomponent.sch index d9b9f5ba7e5..89d99e5e33f 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/devicecomponent.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/devicecomponent.sch @@ -1,94 +1,99 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + DeviceComponent - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/devicemetric.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/devicemetric.sch index ced5bee2280..98e53f982d6 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/devicemetric.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/devicemetric.sch @@ -1,86 +1,91 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + DeviceMetric - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + tim-4: duration SHALL be a non-negative value - - Inv-1: SHALL have a local reference if the resource is provided inline + + tim-5: period SHALL be a non-negative value - - Inv-1: There can only be a repeat element if there is none or one event - - - Inv-1: If present, start SHALL have a lower value than end - - - Inv-3: At most, only one of count or end can be present - Inv-2: Either frequency or when SHALL be present, but not both - - - Inv-4: duration SHALL be a positive value - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/deviceuserequest.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/deviceuserequest.sch index 07ec6584b8f..fc03f9f4006 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/deviceuserequest.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/deviceuserequest.sch @@ -1,89 +1,106 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + DeviceUseRequest - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: There can only be a repeat element if there is none or one event + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-3: At most, only one of count or end can be present - Inv-2: Either frequency or when SHALL be present, but not both + + tim-4: duration SHALL be a non-negative value - - Inv-4: duration SHALL be a positive value + + tim-5: period SHALL be a non-negative value - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/deviceusestatement.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/deviceusestatement.sch index d664b4f4023..61a21b45380 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/deviceusestatement.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/deviceusestatement.sch @@ -1,80 +1,100 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + DeviceUseStatement - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: There can only be a repeat element if there is none or one event + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration - - Inv-3: At most, only one of count or end can be present - Inv-2: Either frequency or when SHALL be present, but not both + + per-1: If present, start SHALL have a lower value than end - - Inv-4: duration SHALL be a positive value + + tim-4: duration SHALL be a non-negative value - - Inv-1: If present, start SHALL have a lower value than end + + tim-5: period SHALL be a non-negative value - + + per-1: If present, start SHALL have a lower value than end + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/diagnosticorder.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/diagnosticorder.sch index 03bfc8b35d0..ded7f24a29e 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/diagnosticorder.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/diagnosticorder.sch @@ -1,85 +1,99 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + DiagnosticOrder - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/diagnosticreport.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/diagnosticreport.sch index 1162b795379..144cd208eec 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/diagnosticreport.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/diagnosticreport.sch @@ -1,91 +1,105 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + DiagnosticReport - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: It the Attachment has data, it SHALL have a contentType + + att-1: It the Attachment has data, it SHALL have a contentType - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/documentmanifest.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/documentmanifest.sch index 516c3daa9de..a1c74f020e9 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/documentmanifest.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/documentmanifest.sch @@ -1,76 +1,90 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + DocumentManifest - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/documentreference.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/documentreference.sch index 84624731de2..cc66585d5c9 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/documentreference.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/documentreference.sch @@ -1,127 +1,138 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + DocumentReference - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: A location or a service (or both) SHALL be provided + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + att-1: It the Attachment has data, it SHALL have a contentType - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/eligibilityrequest.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/eligibilityrequest.sch index 156ab44ae93..12f68168392 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/eligibilityrequest.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/eligibilityrequest.sch @@ -1,58 +1,72 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + EligibilityRequest - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/eligibilityresponse.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/eligibilityresponse.sch index dca8893ea21..2cc42a191be 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/eligibilityresponse.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/eligibilityresponse.sch @@ -1,61 +1,75 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + EligibilityResponse - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/encounter.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/encounter.sch index f70ec7269f3..21a027f4592 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/encounter.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/encounter.sch @@ -1,172 +1,168 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Encounter - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: If present, start SHALL have a lower value than end - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/enrollmentrequest.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/enrollmentrequest.sch index 1a2a0583877..914d247ecc3 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/enrollmentrequest.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/enrollmentrequest.sch @@ -1,70 +1,81 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + EnrollmentRequest - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/enrollmentresponse.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/enrollmentresponse.sch index 5ee77f6e405..40d49d8413d 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/enrollmentresponse.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/enrollmentresponse.sch @@ -1,61 +1,75 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + EnrollmentResponse - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/episodeofcare.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/episodeofcare.sch index c90dcc384f9..47919337006 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/episodeofcare.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/episodeofcare.sch @@ -1,82 +1,96 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + EpisodeOfCare - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/explanationofbenefit.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/explanationofbenefit.sch index 65375220e96..2478ee5177b 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/explanationofbenefit.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/explanationofbenefit.sch @@ -1,61 +1,75 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + ExplanationOfBenefit - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/familyhistory.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/familyhistory.sch index fccfea859a2..d3a58a2220a 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/familyhistory.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/familyhistory.sch @@ -1,112 +1,123 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + FamilyHistory - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: Can have age[x] or birth[x], but not both + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + fhs-1: Can have age[x] or birth[x], but not both - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end - - Inv-3: Quantity values cannot have a comparator when used in a Range - Inv-2: If present, low SHALL have a lower value than high + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: Quantity values cannot have a comparator when used in a Range - Inv-2: If present, low SHALL have a lower value than high + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-2: Only one coding in a set can be chosen directly by the user + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range - - Inv-3: Quantity values cannot have a comparator when used in a Range - Inv-2: If present, low SHALL have a lower value than high + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-all.xsd b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-all.xsd index 04c85162446..0d82833e14f 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-all.xsd +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-all.xsd @@ -26,21 +26,23 @@ Copyright (c) 2011+, HL7, Inc ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - Generated on Sat, Feb 14, 2015 16:12-0500 for FHIR v0.4.0 + Generated on Tue, Mar 24, 2015 11:45+0000 for FHIR v0.4.0 --> + + - + @@ -67,7 +69,6 @@ Copyright (c) 2011+, HL7, Inc - @@ -76,7 +77,6 @@ Copyright (c) 2011+, HL7, Inc - @@ -91,7 +91,6 @@ Copyright (c) 2011+, HL7, Inc - @@ -99,36 +98,28 @@ Copyright (c) 2011+, HL7, Inc - - - - + + - - - - - - diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-atom-single.xsd b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-atom-single.xsd deleted file mode 100644 index 8cd3f7b7f9d..00000000000 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-atom-single.xsd +++ /dev/null @@ -1,250 +0,0 @@ - - - - - - This is a reduced form of the atom schema, that only supports the features profiled in the FHIR specification - - - - - - - - - - - - - The Atom text construct is defined in section 3.1 of the format spec. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-atom.xsd b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-atom.xsd deleted file mode 100644 index 03f97581362..00000000000 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-atom.xsd +++ /dev/null @@ -1,250 +0,0 @@ - - - - - - This is a reduced form of the atom schema, that only supports the features profiled in the FHIR specification - - - - - - - - - - - - - The Atom text construct is defined in section 3.1 of the format spec. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-base.xsd b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-base.xsd index d581532155b..f0001ca0ea1 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-base.xsd +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-base.xsd @@ -27,7 +27,7 @@ POSSIBILITY OF SUCH DAMAGE. - Generated on Sat, Feb 14, 2015 16:12-0500 for FHIR v0.4.0 + Generated on Tue, Mar 24, 2015 11:45+0000 for FHIR v0.4.0 --> @@ -58,7 +58,7 @@ - A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds may be provided but may also be ignored. Dates SHALL be valid dates. + A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates. If the element is present, it must have either a @value, an @id, or extensions @@ -262,14 +262,16 @@ + + - + @@ -296,7 +298,6 @@ - @@ -305,7 +306,6 @@ - @@ -320,7 +320,6 @@ - @@ -328,36 +327,28 @@ - - - - + + - - - - - - @@ -385,6 +376,9 @@ + + + @@ -395,6 +389,7 @@ + @@ -423,20 +418,6 @@ - - - Base definition for all elements in a resource. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - - - - - May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. - - - - - A human-readable formatted text, including images. @@ -494,6 +475,20 @@ + + + Base definition for all elements in a resource. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. + + + + + A time period defined by a start and end date and optionally time. @@ -549,11 +544,6 @@ Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays). - - - The set of possible coded values this coding was chosen from or constrained by. - - @@ -695,6 +685,11 @@ A label or set of text to display in place of the data. + + + The date that the attachment was first created. + + @@ -902,6 +897,68 @@ + + + An XML digital signature along with supporting context. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document. + + + + + When the digital signature was signed. + + + + + A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The base64 encoding of the XML-Signature. + + + + + + @@ -1095,6 +1152,16 @@ The name of this element definition (to refer to it from other element definitions using ElementDefinition.nameReference). This is a unique name referring to a specific set of constraints applied to this element. One use of this is to provide a name to different slices of the same element. + + + The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form. + + + + + A code that provides the meaning for the element according to a particular terminology. + + Indicates that the element is sliced into a set of alternative definitions (there are multiple definitions on a single element in the base resource). 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). @@ -1105,9 +1172,9 @@ A concise definition that is shown in the generated XML format that summarizes profiles (used throughout the specification). - + - 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. + 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. @@ -1120,7 +1187,7 @@ Explains why this element is needed and why it's been constrained as it has. - + Identifies additional names by which this element might also be known. @@ -1160,6 +1227,9 @@ + + + @@ -1170,6 +1240,7 @@ + @@ -1196,6 +1267,9 @@ + + + @@ -1206,6 +1280,7 @@ + @@ -1227,6 +1302,9 @@ + + + @@ -1237,6 +1315,7 @@ + @@ -1245,7 +1324,7 @@ - An example value for this element. + A sample value for this element demonstrating the type of information that would typically be captured. @@ -1258,6 +1337,9 @@ + + + @@ -1268,6 +1350,7 @@ + @@ -1331,6 +1414,11 @@ An internal reference to the definition of a mapping. + + + Identifies the computable language in which mapping.map is expressed. + + Expresses what part of the target specification corresponds to this element. @@ -1385,14 +1473,9 @@ A descriptive name for this - can be useful for generating implementation artifacts. - + - If true, then conformant systems may use additional codes or (where the data type permits) text alone to convey concepts not covered by the set of codes identified in the binding. If false, then conformant systems are constrained to the provided codes alone. - - - - - Indicates the degree of conformance expectations associated with this binding. + 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. @@ -1402,34 +1485,38 @@ - Points to the value set or external definition that identifies the set of codes to be used. + Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used. - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1533,7 +1620,7 @@ - Additional content is allowed, but only at the end of the list. + Additional content is allowed, but only at the end of the list. Note that using this requires that the slices be ordered, which makes it hard to share uses. This should only be done where absolutely required. @@ -1549,33 +1636,38 @@ - + - Only codes in the specified set are allowed. If the binding is extensible, other codes may be used for concepts not covered by the bound set of codes. + To be conformant, instances of this element SHALL include a code from the specified value set. + + + + + To be conformant, instances of this element SHALL include a code from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the valueset does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead. - For greater interoperability, implementers are strongly encouraged to use the bound set of codes, however alternate codes may be used in derived profiles and implementations if necessary without being considered non-conformant. + Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant. - The codes in the set are an example to illustrate the meaning of the field. There is no particular preference for its use nor any assertion that the provided values are sufficient to meet implementation needs. + Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included. - + - Binding conformance for applications + Indication of the degree of conformance expectations associated with a binding If the element is present, it must have either a @value, an @id, or extensions - + @@ -1636,20 +1728,20 @@ - Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + Specifies an event that may occur multiple times. Timing schedules are used to record when things are expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds. If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - + - Identifies specific time periods when the event should occur. + Identifies specific times when the event occurs. - Identifies a repeating pattern to the intended time periods. + A set of rules that describe when the event should occur. @@ -1658,30 +1750,15 @@ - Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + Specifies an event that may occur multiple times. Timing schedules are used to record when things are expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds. If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - + - Indicates how often the event should occur. - - - - - Identifies the occurrence of daily life that determines timing. - - - - - How long each repetition should last. - - - - - The units of time for the duration. + Outer bounds for start and/or end limits of the timing schedule. @@ -1689,15 +1766,100 @@ A total count of the desired number of repetitions. - + - When to stop repeating the timing schedule. + How long this thing happens for when it happens. + + + + + The units of time for the duration, in UCUM units. + + + + + The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided). + + + + + If present, indicates that the frequency is a range - so repeat between [frequency] and [frequencyMax] times within the period or period range. + + + + + Indicates the duration of time over which repetitions are to occur. E.g. to express "3 times per day", 3 would be the frequency and "1 day" would be the period. + + + + + If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days. + + + + + The units of time for the period in UCUM units. + + + + + A real world event that the occurrence of the event should be tied to. + + + + + second. + + + + + minute. + + + + + hour. + + + + + day. + + + + + week. + + + + + month. + + + + + year. + + + + + + + A unit of time (units from UCUM) + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + @@ -1710,6 +1872,26 @@ event occurs [duration] after waking. + + + event occurs at a meal (from the Latin cibus). + + + + + event occurs at breakfast (from the Latin cibus matutinus). + + + + + event occurs at lunch (from the Latin cibus diurnus). + + + + + event occurs at dinner (from the Latin ante cibus vespertinus). + + event occurs [duration] before a meal (from the Latin ante cibus). @@ -1763,56 +1945,6 @@ - - - - - second. - - - - - minute. - - - - - hour. - - - - - day. - - - - - week. - - - - - month. - - - - - year. - - - - - - - A unit of time (units from UCUM) - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for all addresses around the world. @@ -2016,14 +2148,9 @@ P.O. Box number, delivery hints, and similar address information.When the resource last changed - e.g. when the version changed. - - - Set to 'true' if the resource is deleted. Deleted resources can not be fetched via the RESTful API, but may appear in bundles for various reasons. - - - A list of profiles that this resource claims to conform to. The URL is a reference to Profile.url. + A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]. @@ -2191,6 +2318,9 @@ P.O. Box number, delivery hints, and similar address information. + + + @@ -2201,6 +2331,7 @@ P.O. Box number, delivery hints, and similar address information. + @@ -2234,7 +2365,7 @@ P.O. Box number, delivery hints, and similar address information.The name of the parameter (reference to the operation definition). - + The value of the parameter. @@ -2249,6 +2380,9 @@ P.O. Box number, delivery hints, and similar address information. + + + @@ -2259,12 +2393,18 @@ P.O. Box number, delivery hints, and similar address information. + + + + If the parameter is a whole resource. + + @@ -2332,41 +2472,6 @@ P.O. Box number, delivery hints, and similar address information. - - - - - The context is all elements matching a particular resource element path. - - - - - The context is all nodes matching a particular data type element path (root or repeating element) or all elements referencing a particular primitive data type (expressed as the datatype name). - - - - - The context is all nodes whose mapping to a specified reference model corresponds to a particular mapping structure. The context identifies the mapping target. The mapping should clearly identify where such an extension could be used. - - - - - The context is a particular extension from a particular profile. Expressed as uri#name, where uri identifies the profile and #name identifies the extension code. - - - - - - - - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - @@ -2502,36 +2607,6 @@ P.O. Box number, delivery hints, and similar address information. - - - - - This profile is still under development. - - - - - This profile is ready for normal use. - - - - - This profile has been deprecated, withdrawn or superseded and should no longer be used. - - - - - - - - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - @@ -2654,9 +2729,14 @@ P.O. Box number, delivery hints, and similar address information.A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data. + + + An XML digital signature along with supporting context. + + - Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + Specifies an event that may occur multiple times. Timing schedules are used to record when things are expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds. @@ -2681,7 +2761,7 @@ P.O. Box number, delivery hints, and similar address information. - A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds may be provided but may also be ignored. Dates SHALL be valid dates. + A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates. @@ -2787,6 +2867,21 @@ P.O. Box number, delivery hints, and similar address information. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + @@ -2814,11 +2909,6 @@ P.O. Box number, delivery hints, and similar address information.Notification of a change to an administrative resource (either create or update). Note that there is no delete, though some administrative resources have status or period elements for this use. - - - Translate a code from one value set to another, based on the existing value set and concept maps resources, and/or other additional knowledge available to the server. The coded value is carried as an extension in the message header. The outcome is an operationOutcome with hints, warnings, or errors, or the translated code in an extension. - - Provide a diagnostic report, or update a previously provided diagnostic report. @@ -2844,11 +2934,6 @@ P.O. Box number, delivery hints, and similar address information.The definition of a value set is used to create a simple collection of codes suitable for use for data entry or validation. An expanded value set will be returned, or an error message. - - - Validate that a coded value is in the set of codes allowed by a value set. The coded value is carried as an extension in the message header. The outcome is an OperationOutcome with hints, warnings, or errors. - - @@ -2862,33 +2947,33 @@ P.O. Box number, delivery hints, and similar address information. - + - This valueset is still under development. + This resource is still under development - This valueset is ready for normal use. + This resource is ready for normal use - This valueset has been withdrawn or superceded and should no longer be used. + This resource has been withdrawn or superceded and should no longer be used - + If the element is present, it must have either a @value, an @id, or extensions - + @@ -2922,51 +3007,6 @@ P.O. Box number, delivery hints, and similar address information. - - - - - The specified property of the code equals the provided value. - - - - - The specified property of the code has an is-a relationship with the provided value. - - - - - The specified property of the code does not have an is-a relationship with the provided value. - - - - - The specified property of the code matches the regex specified in the provided value. - - - - - The specified property of the code is in the set of codes or concepts specified in the provided value (comma separated list). - - - - - The specified property of the code is not in the set of codes or concepts specified in the provided value (comma separated list). - - - - - - - - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - @@ -3089,6 +3129,11 @@ P.O. Box number, delivery hints, and similar address information.A search parameter that searches on a quantity. + + + A search parameter that searches on a URI (RFC 3986). + + @@ -3224,9 +3269,14 @@ P.O. Box number, delivery hints, and similar address information.A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data. + + + An XML digital signature along with supporting context. + + - Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + Specifies an event that may occur multiple times. Timing schedules are used to record when things are expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds. @@ -3251,7 +3301,7 @@ P.O. Box number, delivery hints, and similar address information. - A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds may be provided but may also be ignored. Dates SHALL be valid dates. + A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates. @@ -3311,7 +3361,7 @@ P.O. Box number, delivery hints, and similar address information. - A scheduled healthcare event for a patient and/or practitioner(s) where a service may take place at a specific date/time. + A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). @@ -3319,6 +3369,11 @@ P.O. Box number, delivery hints, and similar address information.A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. @@ -3336,7 +3391,7 @@ P.O. Box number, delivery hints, and similar address information. - A container for a group of resources. + A container for a collection of resources. @@ -3349,14 +3404,19 @@ P.O. Box number, delivery hints, and similar address information.Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + This resource provides the adjudication details from the processing of a Claim resource. - + - A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. @@ -3426,7 +3486,7 @@ P.O. Box number, delivery hints, and similar address information. - Represents a request for the use of a device. + Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker. @@ -3436,7 +3496,7 @@ P.O. Box number, delivery hints, and similar address information. - A request for a diagnostic investigation service to be performed. + A record of a request for a diagnostic investigation service to be performed. @@ -3489,11 +3549,6 @@ P.O. Box number, delivery hints, and similar address information.This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided. - - - Defines an extension that can be used in resources. - - Significant health events and conditions for people related to the subject relevant in the context of care for the subject. @@ -3501,7 +3556,7 @@ P.O. Box number, delivery hints, and similar address information. - Describes the intended objective(s) of the care. + Describes the intended objective(s) of patient care, for example, weight loss, restoring an activity of daily living, etc. @@ -3534,11 +3589,6 @@ P.O. Box number, delivery hints, and similar address information.A patient's point-of-time immunization status and recommendation with optional supporting justification. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - A set of information summarized from a list of other resources. @@ -3609,11 +3659,6 @@ P.O. Box number, delivery hints, and similar address information.A collection of error, warning or information messages that result from a system action. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - A request to perform an action. @@ -3636,7 +3681,7 @@ P.O. Box number, delivery hints, and similar address information. - Demographics and other administrative information about a person or animal receiving care or other health-related services. + Demographics and other administrative information about an individual or animal receiving care or other health-related services. @@ -3649,21 +3694,11 @@ P.O. Box number, delivery hints, and similar address information.This resource provides payment details and claim references supporting a bulk payment. - - - This resource provides the request and response details for the resource for which the status is to be checked. - - Demographics and administrative information about a person independent of a specific health-related context. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - A person who is directly or indirectly involved in the provisioning of healthcare. @@ -3679,19 +3714,19 @@ P.O. Box number, delivery hints, and similar address information.A request for a procedure to be performed. May be a proposal or an order. - + - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources. - + - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + This resource provides processing status, errors and notes from the processing of a resource. - Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. @@ -3704,11 +3739,6 @@ P.O. Box number, delivery hints, and similar address information.A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. - - - This resource provides the request and line items details for the claim which is to be re-adjudicated. - - Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. @@ -3719,11 +3749,6 @@ P.O. Box number, delivery hints, and similar address information.Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. - - - This resource provides the request and response details for the request for which all actions are to be reversed or terminated. - - An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. @@ -3739,11 +3764,6 @@ P.O. Box number, delivery hints, and similar address information.A Search Parameter that defines a named search item that can be used to search/filter on a resource. - - - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - - A slot of time on a schedule that may be available for booking appointments. @@ -3754,24 +3774,14 @@ P.O. Box number, delivery hints, and similar address information.Sample for analysis. - - - This resource provides the request and response details for the resource for which the processing status is to be checked. - - - - - This resource provides processing status, errors and notes from the processing of a resource. - - - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. - Todo. + The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action. @@ -3794,11 +3804,6 @@ P.O. Box number, delivery hints, and similar address information.A value set specifies a set of codes drawn from one or more code systems. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - An authorization for the supply of glasses and/or contact lenses to a patient. @@ -3912,38 +3917,18 @@ P.O. Box number, delivery hints, and similar address information. - + - - - The treatment is complete and this represents a Claim for the services. - - - - - The treatment is proposed and this represents a Pre-authorization for the services. - - - - - The treatment is proposed and this represents a Pre-determination for the services. - - - - - A locally defined or otherwise resolved status. - - - + If the element is present, it must have either a @value, an @id, or extensions - + @@ -3961,7 +3946,7 @@ P.O. Box number, delivery hints, and similar address information. - A scheduled healthcare event for a patient and/or practitioner(s) where a service may take place at a specific date/time. + A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). @@ -3969,6 +3954,11 @@ P.O. Box number, delivery hints, and similar address information.A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. @@ -3986,7 +3976,7 @@ P.O. Box number, delivery hints, and similar address information. - A container for a group of resources. + A container for a collection of resources. @@ -3999,14 +3989,19 @@ P.O. Box number, delivery hints, and similar address information.Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + This resource provides the adjudication details from the processing of a Claim resource. - + - A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. @@ -4076,7 +4071,7 @@ P.O. Box number, delivery hints, and similar address information. - Represents a request for the use of a device. + Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker. @@ -4086,7 +4081,7 @@ P.O. Box number, delivery hints, and similar address information. - A request for a diagnostic investigation service to be performed. + A record of a request for a diagnostic investigation service to be performed. @@ -4139,11 +4134,6 @@ P.O. Box number, delivery hints, and similar address information.This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided. - - - Defines an extension that can be used in resources. - - Significant health events and conditions for people related to the subject relevant in the context of care for the subject. @@ -4151,7 +4141,7 @@ P.O. Box number, delivery hints, and similar address information. - Describes the intended objective(s) of the care. + Describes the intended objective(s) of patient care, for example, weight loss, restoring an activity of daily living, etc. @@ -4184,11 +4174,6 @@ P.O. Box number, delivery hints, and similar address information.A patient's point-of-time immunization status and recommendation with optional supporting justification. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - A set of information summarized from a list of other resources. @@ -4259,11 +4244,6 @@ P.O. Box number, delivery hints, and similar address information.A collection of error, warning or information messages that result from a system action. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - A request to perform an action. @@ -4286,7 +4266,7 @@ P.O. Box number, delivery hints, and similar address information. - Demographics and other administrative information about a person or animal receiving care or other health-related services. + Demographics and other administrative information about an individual or animal receiving care or other health-related services. @@ -4299,21 +4279,11 @@ P.O. Box number, delivery hints, and similar address information.This resource provides payment details and claim references supporting a bulk payment. - - - This resource provides the request and response details for the resource for which the status is to be checked. - - Demographics and administrative information about a person independent of a specific health-related context. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - A person who is directly or indirectly involved in the provisioning of healthcare. @@ -4329,19 +4299,19 @@ P.O. Box number, delivery hints, and similar address information.A request for a procedure to be performed. May be a proposal or an order. - + - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources. - + - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + This resource provides processing status, errors and notes from the processing of a resource. - Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. @@ -4354,11 +4324,6 @@ P.O. Box number, delivery hints, and similar address information.A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. - - - This resource provides the request and line items details for the claim which is to be re-adjudicated. - - Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. @@ -4369,11 +4334,6 @@ P.O. Box number, delivery hints, and similar address information.Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. - - - This resource provides the request and response details for the request for which all actions are to be reversed or terminated. - - An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. @@ -4389,11 +4349,6 @@ P.O. Box number, delivery hints, and similar address information.A Search Parameter that defines a named search item that can be used to search/filter on a resource. - - - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - - A slot of time on a schedule that may be available for booking appointments. @@ -4404,24 +4359,14 @@ P.O. Box number, delivery hints, and similar address information.Sample for analysis. - - - This resource provides the request and response details for the resource for which the processing status is to be checked. - - - - - This resource provides processing status, errors and notes from the processing of a resource. - - - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. - Todo. + The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action. @@ -4444,11 +4389,6 @@ P.O. Box number, delivery hints, and similar address information.A value set specifies a set of codes drawn from one or more code systems. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - An authorization for the supply of glasses and/or contact lenses to a patient. @@ -4476,7 +4416,7 @@ P.O. Box number, delivery hints, and similar address information. - The composition or document is complete and verified by an appropriate person, and no further work is planned. + This version of the composition is complete and verified by an appropriate person and no further work is planned. Any subsequent updates would be on a new version of the composition. diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-invariants.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-invariants.sch new file mode 100644 index 00000000000..1d1f1cdb0f9 --- /dev/null +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-invariants.sch @@ -0,0 +1,7651 @@ + + + + + + Global + + global-1: All FHIR elements must have a @value or children + + + + Condition + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + per-1: If present, start SHALL have a lower value than end + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + per-1: If present, start SHALL have a lower value than end + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + con-1: Stage SHALL have summary or assessment + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + con-2: evidence SHALL have code or details + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + con-3: location SHALL have code or details + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + con-4: Relationship SHALL have either a code or a target + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + con-5: Relationship SHALL have either a code or a target + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Supply + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + ProcedureRequest + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration + + + per-1: If present, start SHALL have a lower value than end + + + tim-4: duration SHALL be a non-negative value + + + tim-5: period SHALL be a non-negative value + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + DeviceComponent + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + + DeviceMetric + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration + + + per-1: If present, start SHALL have a lower value than end + + + tim-4: duration SHALL be a non-negative value + + + tim-5: period SHALL be a non-negative value + + + + Communication + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + att-1: It the Attachment has data, it SHALL have a contentType + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Organization + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + org-1: The organization SHALL at least have a name or an id, and possibly more than one + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + org-3: The telecom of an organization can never be of use 'home' + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + org-2: An address of an organization can never be of use 'home' + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + ProcessRequest + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + + Group + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + grp-4: Can't have more members associated with the group than the value specified for "quantity" + grp-1: Can only have members if group is "actual" + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + grp-3: Member resource types SHALL agree with group type + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + ValueSet + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + vsd-7: A defined code system (if present) SHALL have a different identifier to the value set itself + vsd-5: Value set SHALL contain either a define, a compose, or an expansion element + vsd-2: A value set with only one import SHALL also have an include and/or an exclude unless the value set defines its own codes + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + vsd-8: Codes must be unique + vsd-3: Within a code system definition, all the codes SHALL be unique + + + cod-1: If a valueSet is provided, a system URI Is required + + + vsd-1: A value set composition SHALL have an include or an import + + + vsd-9: Must have a code if not abstract + vsd-6: SHALL have a code or a display + vsd-10: Must have a system if a code is present + + + + Coverage + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + ImmunizationRecommendation + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Appointment + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + MedicationDispense + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + mdd-1: whenHandedOver cannot be before whenPrepared + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration + + + per-1: If present, start SHALL have a lower value than end + + + tim-4: duration SHALL be a non-negative value + + + tim-5: period SHALL be a non-negative value + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + MedicationPrescription + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration + + + per-1: If present, start SHALL have a lower value than end + + + tim-4: duration SHALL be a non-negative value + + + tim-5: period SHALL be a non-negative value + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + + Slot + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + PaymentNotice + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + + Contraindication + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + AppointmentResponse + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + MedicationStatement + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + mst-1: Reason not given is only permitted if wasNotGiven is true + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + mst-2: Reason for use is only permitted if wasNotGiven is false + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + mst-2: Reason for use is only permitted if wasNotGiven is false + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration + + + per-1: If present, start SHALL have a lower value than end + + + tim-4: duration SHALL be a non-negative value + + + tim-5: period SHALL be a non-negative value + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + + EpisodeOfCare + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + + Questionnaire + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + que-2: The link ids for groups and questions must be unique within the questionnaire + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + que-1: Groups may either contain questions or groups but not both + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Composition + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cmp-1: A section must have either subsections or content + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + OperationOutcome + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + + Conformance + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cnf-1: A Conformance statement SHALL have at least one of rest, messaging or document + cnf-2: A Conformance statement SHALL have at least one of description, software, or implementation + cnf-4: If there is more than one messaging element, endpoint must be specified for each one + cnf-5: The set of end points listed for messaging must be unique + cnf-7: The set of documents must be unique by the combination of profile & mode + cnf-8: There can only be one REST declaration per mode + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cnf-10: A given query can only be described once per RESTful mode + cnf-9: A given resource can only be described once per RESTful mode + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + cnf-12: Search parameter names must be unique in the context of a resource + cnf-11: Operation codes must be unique in the context of a resource + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cnf-3: Messaging end point is required (and is only permitted) when statement is for an implementation + cnf-6: The set of events per messaging endpoint must be unique by the combination of code & mode + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + NamingSystem + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + nsd-2: Can't have more than one preferred identifier for a type + nsd-3: Can only have replacedBy if namingsystem is retired + nsd-1: Root systems cannot have uuid or sid identifiers + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Media + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + mda-1: Height can only be used for a photo or video + mda-2: Width can only be used for a photo or video + mda-4: Length can only be used for an audio or a video + mda-3: Frames can only be used for a photo + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + att-1: It the Attachment has data, it SHALL have a contentType + + + + Binary + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + + Other + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + HealthcareService + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + + VisionPrescription + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + + DocumentReference + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + att-1: It the Attachment has data, it SHALL have a contentType + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Immunization + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + imm-2: If immunization was administered (wasNotGiven=false) then explanation.reasonNotGiven SHALL be absent. + imm-1: If immunization was not administred (wasNotGiven=true) then there SHALL be no reaction nor explanation.reason present + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + + Bundle + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + bdl-2: entry.search only when a search + bdl-1: total only when a search or history + bdl-3: entry.transaction when (and only when) a transaction + bdl-4: entry.transactionResponse when (and only when) a transaction-response + + + bdl-5: must be a resource unless there's a transaction or transaction response + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + + Subscription + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + cod-1: If a valueSet is provided, a system URI Is required + + + + OrderResponse + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + ConceptMap + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cmd-1: If the map is narrower or inexact, there SHALL be some comments + + + + Practitioner + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + per-1: If present, start SHALL have a lower value than end + + + att-1: It the Attachment has data, it SHALL have a contentType + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + + ImagingStudy + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + att-1: It the Attachment has data, it SHALL have a contentType + + + + Provenance + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + CarePlan + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cpl-1: DailyDose can only be specified if activity category is drug or food + cpl-2: Quantity can only be specified if activity category is supply + cpl-3: Only provide a detail reference, or a simple detail summary + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration + + + per-1: If present, start SHALL have a lower value than end + + + tim-4: duration SHALL be a non-negative value + + + tim-5: period SHALL be a non-negative value + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + + Device + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + + StructureDefinition + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + sdf-5: If the type is 'extension' then the structure must have context information + sdf-4: A structure must have a base unless it’s type is 'abstract' + sdf-7: If the type is Resource or Type, the url has to start with "http://hl7.org/fhir/StructureDefinition/" and the tail must match the name + sdf-6: A structure must have either a differential, or a snapshot (or both) + sdf-8: In any snapshot or differential, all the elements except the first have to have a path that starts with the path of the first + "." + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + cod-1: If a valueSet is provided, a system URI Is required + + + sdf-2: Must have at a name or a uri (or both) + + + sdf-1: Element paths must be unique - or not (LM) + sdf-3: If a structure is a snapshot, then each element definition must have a formal definition, and cardinalities + + + eld-13: Types must be unique by the combination of code and profile + eld-14: Constraints must be unique by key + eld-11: Binding can only be present for coded elements, string, and uri + eld-8: Pattern and value are mutually exclusive + eld-15: Constraint names must be unique. + eld-16: default value and meaningWhenMissing are mutually exclusive + eld-2: Min <= Max + eld-7: Pattern may only be specified if there is one type + eld-6: Fixed value may only be specified if there is one type + eld-5: Either a namereference or a fixed value (but not both) is permitted + + + cod-1: If a valueSet is provided, a system URI Is required + + + eld-1: If there are no discriminators, there must be a definition + + + eld-3: Max SHALL be a number or "*" + + + eld-4: Aggregation may only be specified if one of the allowed types for the element is a resource + + + eld-9: Example value sets are always extensible + eld-10: provide either a reference or a description (or both) + + + eld-12: uri SHALL start with http:// or https:// + + + ref-1: SHALL have a local reference if the resource is provided inline + + + eld-13: Types must be unique by the combination of code and profile + eld-14: Constraints must be unique by key + eld-11: Binding can only be present for coded elements, string, and uri + eld-8: Pattern and value are mutually exclusive + eld-15: Constraint names must be unique. + eld-16: default value and meaningWhenMissing are mutually exclusive + eld-2: Min <= Max + eld-7: Pattern may only be specified if there is one type + eld-6: Fixed value may only be specified if there is one type + eld-5: Either a namereference or a fixed value (but not both) is permitted + + + cod-1: If a valueSet is provided, a system URI Is required + + + eld-1: If there are no discriminators, there must be a definition + + + eld-3: Max SHALL be a number or "*" + + + eld-4: Aggregation may only be specified if one of the allowed types for the element is a resource + + + eld-9: Example value sets are always extensible + eld-10: provide either a reference or a description (or both) + + + eld-12: uri SHALL start with http:// or https:// + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Order + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ord-1: Provide a code or a schedule, but not both + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration + + + per-1: If present, start SHALL have a lower value than end + + + tim-4: duration SHALL be a non-negative value + + + tim-5: period SHALL be a non-negative value + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Procedure + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Substance + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + DeviceUseRequest + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration + + + per-1: If present, start SHALL have a lower value than end + + + tim-4: duration SHALL be a non-negative value + + + tim-5: period SHALL be a non-negative value + + + per-1: If present, start SHALL have a lower value than end + + + + DiagnosticReport + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + att-1: It the Attachment has data, it SHALL have a contentType + + + + Medication + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + qty-3: If a code for the units is present, the system SHALL also be present + + + + MessageHeader + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Schedule + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + + DocumentManifest + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + DataElement + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + eld-13: Types must be unique by the combination of code and profile + eld-14: Constraints must be unique by key + eld-11: Binding can only be present for coded elements, string, and uri + eld-8: Pattern and value are mutually exclusive + eld-15: Constraint names must be unique. + eld-16: default value and meaningWhenMissing are mutually exclusive + eld-2: Min <= Max + eld-7: Pattern may only be specified if there is one type + eld-6: Fixed value may only be specified if there is one type + eld-5: Either a namereference or a fixed value (but not both) is permitted + + + cod-1: If a valueSet is provided, a system URI Is required + + + eld-1: If there are no discriminators, there must be a definition + + + eld-3: Max SHALL be a number or "*" + + + eld-4: Aggregation may only be specified if one of the allowed types for the element is a resource + + + eld-9: Example value sets are always extensible + eld-10: provide either a reference or a description (or both) + + + eld-12: uri SHALL start with http:// or https:// + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + EligibilityRequest + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + QuestionnaireAnswers + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + qan-1: Groups may either contain questions or groups but not both + + + ref-1: SHALL have a local reference if the resource is provided inline + + + att-1: It the Attachment has data, it SHALL have a contentType + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + MedicationAdministration + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + mad-2: Reason not given is only permitted if wasNotGiven is true + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + mad-3: Reason given is only permitted if wasNotGiven is false + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + mad-1: SHALL have at least one of dosage.quantity and dosage.rate + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + + Encounter + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + PaymentReconciliation + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + + List + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + lst-2: The deleted flag can only be used if the mode of the list is "changes" + lst-1: A list can only have an emptyReason if it is empty + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + + DeviceUseStatement + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration + + + per-1: If present, start SHALL have a lower value than end + + + tim-4: duration SHALL be a non-negative value + + + tim-5: period SHALL be a non-negative value + + + per-1: If present, start SHALL have a lower value than end + + + + OperationDefinition + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + opd-1: Either a type must be provided, or parts + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Goal + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + ImagingObjectSelection + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + SearchParameter + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + + NutritionOrder + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + nor-1: Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration + + + per-1: If present, start SHALL have a lower value than end + + + tim-4: duration SHALL be a non-negative value + + + tim-5: period SHALL be a non-negative value + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration + + + per-1: If present, start SHALL have a lower value than end + + + tim-4: duration SHALL be a non-negative value + + + tim-5: period SHALL be a non-negative value + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration + + + per-1: If present, start SHALL have a lower value than end + + + tim-4: duration SHALL be a non-negative value + + + tim-5: period SHALL be a non-negative value + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + + ClaimResponse + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + + ReferralRequest + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + + ClinicalImpression + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + BodySite + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + att-1: It the Attachment has data, it SHALL have a contentType + + + + CommunicationRequest + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + att-1: It the Attachment has data, it SHALL have a contentType + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + + Claim + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + + RiskAssessment + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ras-2: Must be <= 100 + + + ras-1: low and high must be percentages, if present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + + FamilyHistory + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + fhs-1: Can have age[x] or birth[x], but not both + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + + EnrollmentRequest + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + + Location + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + per-1: If present, start SHALL have a lower value than end + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + ExplanationOfBenefit + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + AllergyIntolerance + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + + Observation + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + obs-6: Shall only be present if Observation.value[x] is not present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + att-1: It the Attachment has data, it SHALL have a contentType + + + per-1: If present, start SHALL have a lower value than end + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + obs-3: Must have at least a low or a high or text + + + obs-4: Low range comparators can only be '>' or '>=' or empty + + + qty-3: If a code for the units is present, the system SHALL also be present + + + obs-5: High range comparators can only be '<' or '<=' or empty + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Contract + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + att-1: It the Attachment has data, it SHALL have a contentType + + + ref-1: SHALL have a local reference if the resource is provided inline + + + att-1: It the Attachment has data, it SHALL have a contentType + + + ref-1: SHALL have a local reference if the resource is provided inline + + + att-1: It the Attachment has data, it SHALL have a contentType + + + ref-1: SHALL have a local reference if the resource is provided inline + + + att-1: It the Attachment has data, it SHALL have a contentType + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + SupportingDocumentation + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + att-1: It the Attachment has data, it SHALL have a contentType + + + + RelatedPerson + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + per-1: If present, start SHALL have a lower value than end + + + att-1: It the Attachment has data, it SHALL have a contentType + + + per-1: If present, start SHALL have a lower value than end + + + + Basic + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + ProcessResponse + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + + Specimen + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Alert + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + + AuditEvent + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + sev-3: Either a userId or a reference, but not both + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + sev-2: Either an identifier or a reference, but not both + sev-1: Either a name or a query (or both) + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + + EnrollmentResponse + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Patient + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + per-1: If present, start SHALL have a lower value than end + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + att-1: It the Attachment has data, it SHALL have a contentType + + + pat-1: SHALL at least contain a contact's details or a reference to an organization + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + EligibilityResponse + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + CarePlan2 + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + Person + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + per-1: If present, start SHALL have a lower value than end + + + att-1: It the Attachment has data, it SHALL have a contentType + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + + DiagnosticOrder + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-single.xsd b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-single.xsd index 30cbeb911f0..2d606a9bc54 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-single.xsd +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/fhir-single.xsd @@ -27,7 +27,7 @@ POSSIBILITY OF SUCH DAMAGE. - Generated on Sat, Feb 14, 2015 16:12-0500 for FHIR v0.4.0 + Generated on Tue, Mar 24, 2015 11:45+0000 for FHIR v0.4.0 --> @@ -58,7 +58,7 @@ - A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds may be provided but may also be ignored. Dates SHALL be valid dates. + A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates. If the element is present, it must have either a @value, an @id, or extensions @@ -262,14 +262,16 @@ + + - + @@ -296,7 +298,6 @@ - @@ -305,7 +306,6 @@ - @@ -320,7 +320,6 @@ - @@ -328,36 +327,28 @@ - - - - + + - - - - - - @@ -385,6 +376,9 @@ + + + @@ -395,6 +389,7 @@ + @@ -423,20 +418,6 @@ - - - Base definition for all elements in a resource. - If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - - - - - May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. - - - - - A human-readable formatted text, including images. @@ -494,6 +475,20 @@ + + + Base definition for all elements in a resource. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. + + + + + A time period defined by a start and end date and optionally time. @@ -549,11 +544,6 @@ Indicates that this code was chosen by a user directly - i.e. off a pick list of available items (codes or displays). - - - The set of possible coded values this coding was chosen from or constrained by. - - @@ -695,6 +685,11 @@ A label or set of text to display in place of the data. + + + The date that the attachment was first created. + + @@ -902,6 +897,68 @@ + + + An XML digital signature along with supporting context. + If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions + + + + + + + An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document. + + + + + When the digital signature was signed. + + + + + A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The base64 encoding of the XML-Signature. + + + + + + @@ -1095,6 +1152,16 @@ The name of this element definition (to refer to it from other element definitions using ElementDefinition.nameReference). This is a unique name referring to a specific set of constraints applied to this element. One use of this is to provide a name to different slices of the same element. + + + The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form. + + + + + A code that provides the meaning for the element according to a particular terminology. + + Indicates that the element is sliced into a set of alternative definitions (there are multiple definitions on a single element in the base resource). 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). @@ -1105,9 +1172,9 @@ A concise definition that is shown in the generated XML format that summarizes profiles (used throughout the specification). - + - 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. + 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. @@ -1120,7 +1187,7 @@ Explains why this element is needed and why it's been constrained as it has. - + Identifies additional names by which this element might also be known. @@ -1160,6 +1227,9 @@ + + + @@ -1170,6 +1240,7 @@ + @@ -1196,6 +1267,9 @@ + + + @@ -1206,6 +1280,7 @@ + @@ -1227,6 +1302,9 @@ + + + @@ -1237,6 +1315,7 @@ + @@ -1245,7 +1324,7 @@ - An example value for this element. + A sample value for this element demonstrating the type of information that would typically be captured. @@ -1258,6 +1337,9 @@ + + + @@ -1268,6 +1350,7 @@ + @@ -1331,6 +1414,11 @@ An internal reference to the definition of a mapping. + + + Identifies the computable language in which mapping.map is expressed. + + Expresses what part of the target specification corresponds to this element. @@ -1385,14 +1473,9 @@ A descriptive name for this - can be useful for generating implementation artifacts. - + - If true, then conformant systems may use additional codes or (where the data type permits) text alone to convey concepts not covered by the set of codes identified in the binding. If false, then conformant systems are constrained to the provided codes alone. - - - - - Indicates the degree of conformance expectations associated with this binding. + 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. @@ -1402,34 +1485,38 @@ - Points to the value set or external definition that identifies the set of codes to be used. + Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used. - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1533,7 +1620,7 @@ - Additional content is allowed, but only at the end of the list. + Additional content is allowed, but only at the end of the list. Note that using this requires that the slices be ordered, which makes it hard to share uses. This should only be done where absolutely required. @@ -1549,33 +1636,38 @@ - + - Only codes in the specified set are allowed. If the binding is extensible, other codes may be used for concepts not covered by the bound set of codes. + To be conformant, instances of this element SHALL include a code from the specified value set. + + + + + To be conformant, instances of this element SHALL include a code from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the valueset does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead. - For greater interoperability, implementers are strongly encouraged to use the bound set of codes, however alternate codes may be used in derived profiles and implementations if necessary without being considered non-conformant. + Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant. - The codes in the set are an example to illustrate the meaning of the field. There is no particular preference for its use nor any assertion that the provided values are sufficient to meet implementation needs. + Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included. - + - Binding conformance for applications + Indication of the degree of conformance expectations associated with a binding If the element is present, it must have either a @value, an @id, or extensions - + @@ -1636,20 +1728,20 @@ - Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + Specifies an event that may occur multiple times. Timing schedules are used to record when things are expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds. If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - + - Identifies specific time periods when the event should occur. + Identifies specific times when the event occurs. - Identifies a repeating pattern to the intended time periods. + A set of rules that describe when the event should occur. @@ -1658,30 +1750,15 @@ - Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + Specifies an event that may occur multiple times. Timing schedules are used to record when things are expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds. If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions - + - Indicates how often the event should occur. - - - - - Identifies the occurrence of daily life that determines timing. - - - - - How long each repetition should last. - - - - - The units of time for the duration. + Outer bounds for start and/or end limits of the timing schedule. @@ -1689,15 +1766,100 @@ A total count of the desired number of repetitions. - + - When to stop repeating the timing schedule. + How long this thing happens for when it happens. + + + + + The units of time for the duration, in UCUM units. + + + + + The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided). + + + + + If present, indicates that the frequency is a range - so repeat between [frequency] and [frequencyMax] times within the period or period range. + + + + + Indicates the duration of time over which repetitions are to occur. E.g. to express "3 times per day", 3 would be the frequency and "1 day" would be the period. + + + + + If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days. + + + + + The units of time for the period in UCUM units. + + + + + A real world event that the occurrence of the event should be tied to. + + + + + second. + + + + + minute. + + + + + hour. + + + + + day. + + + + + week. + + + + + month. + + + + + year. + + + + + + + A unit of time (units from UCUM) + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + @@ -1710,6 +1872,26 @@ event occurs [duration] after waking. + + + event occurs at a meal (from the Latin cibus). + + + + + event occurs at breakfast (from the Latin cibus matutinus). + + + + + event occurs at lunch (from the Latin cibus diurnus). + + + + + event occurs at dinner (from the Latin ante cibus vespertinus). + + event occurs [duration] before a meal (from the Latin ante cibus). @@ -1763,56 +1945,6 @@ - - - - - second. - - - - - minute. - - - - - hour. - - - - - day. - - - - - week. - - - - - month. - - - - - year. - - - - - - - A unit of time (units from UCUM) - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for all addresses around the world. @@ -2016,14 +2148,9 @@ P.O. Box number, delivery hints, and similar address information.When the resource last changed - e.g. when the version changed. - - - Set to 'true' if the resource is deleted. Deleted resources can not be fetched via the RESTful API, but may appear in bundles for various reasons. - - - A list of profiles that this resource claims to conform to. The URL is a reference to Profile.url. + A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]]. @@ -2191,6 +2318,9 @@ P.O. Box number, delivery hints, and similar address information. + + + @@ -2201,6 +2331,7 @@ P.O. Box number, delivery hints, and similar address information. + @@ -2234,7 +2365,7 @@ P.O. Box number, delivery hints, and similar address information.The name of the parameter (reference to the operation definition). - + The value of the parameter. @@ -2249,6 +2380,9 @@ P.O. Box number, delivery hints, and similar address information. + + + @@ -2259,12 +2393,18 @@ P.O. Box number, delivery hints, and similar address information. + + + + If the parameter is a whole resource. + + @@ -2332,41 +2472,6 @@ P.O. Box number, delivery hints, and similar address information. - - - - - The context is all elements matching a particular resource element path. - - - - - The context is all nodes matching a particular data type element path (root or repeating element) or all elements referencing a particular primitive data type (expressed as the datatype name). - - - - - The context is all nodes whose mapping to a specified reference model corresponds to a particular mapping structure. The context identifies the mapping target. The mapping should clearly identify where such an extension could be used. - - - - - The context is a particular extension from a particular profile. Expressed as uri#name, where uri identifies the profile and #name identifies the extension code. - - - - - - - - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - @@ -2502,36 +2607,6 @@ P.O. Box number, delivery hints, and similar address information. - - - - - This profile is still under development. - - - - - This profile is ready for normal use. - - - - - This profile has been deprecated, withdrawn or superseded and should no longer be used. - - - - - - - - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - @@ -2654,9 +2729,14 @@ P.O. Box number, delivery hints, and similar address information.A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data. + + + An XML digital signature along with supporting context. + + - Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + Specifies an event that may occur multiple times. Timing schedules are used to record when things are expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds. @@ -2681,7 +2761,7 @@ P.O. Box number, delivery hints, and similar address information. - A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds may be provided but may also be ignored. Dates SHALL be valid dates. + A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates. @@ -2787,6 +2867,21 @@ P.O. Box number, delivery hints, and similar address information. + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + @@ -2814,11 +2909,6 @@ P.O. Box number, delivery hints, and similar address information.Notification of a change to an administrative resource (either create or update). Note that there is no delete, though some administrative resources have status or period elements for this use. - - - Translate a code from one value set to another, based on the existing value set and concept maps resources, and/or other additional knowledge available to the server. The coded value is carried as an extension in the message header. The outcome is an operationOutcome with hints, warnings, or errors, or the translated code in an extension. - - Provide a diagnostic report, or update a previously provided diagnostic report. @@ -2844,11 +2934,6 @@ P.O. Box number, delivery hints, and similar address information.The definition of a value set is used to create a simple collection of codes suitable for use for data entry or validation. An expanded value set will be returned, or an error message. - - - Validate that a coded value is in the set of codes allowed by a value set. The coded value is carried as an extension in the message header. The outcome is an OperationOutcome with hints, warnings, or errors. - - @@ -2862,33 +2947,33 @@ P.O. Box number, delivery hints, and similar address information. - + - This valueset is still under development. + This resource is still under development - This valueset is ready for normal use. + This resource is ready for normal use - This valueset has been withdrawn or superceded and should no longer be used. + This resource has been withdrawn or superceded and should no longer be used - + If the element is present, it must have either a @value, an @id, or extensions - + @@ -2922,51 +3007,6 @@ P.O. Box number, delivery hints, and similar address information. - - - - - The specified property of the code equals the provided value. - - - - - The specified property of the code has an is-a relationship with the provided value. - - - - - The specified property of the code does not have an is-a relationship with the provided value. - - - - - The specified property of the code matches the regex specified in the provided value. - - - - - The specified property of the code is in the set of codes or concepts specified in the provided value (comma separated list). - - - - - The specified property of the code is not in the set of codes or concepts specified in the provided value (comma separated list). - - - - - - - - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - @@ -3089,6 +3129,11 @@ P.O. Box number, delivery hints, and similar address information.A search parameter that searches on a quantity. + + + A search parameter that searches on a URI (RFC 3986). + + @@ -3224,9 +3269,14 @@ P.O. Box number, delivery hints, and similar address information.A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data. + + + An XML digital signature along with supporting context. + + - Specifies an event that may occur multiple times. Timing schedules are used for to record when things are expected or requested to occur. + Specifies an event that may occur multiple times. Timing schedules are used to record when things are expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds. @@ -3251,7 +3301,7 @@ P.O. Box number, delivery hints, and similar address information. - A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds may be provided but may also be ignored. Dates SHALL be valid dates. + A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates. @@ -3311,7 +3361,7 @@ P.O. Box number, delivery hints, and similar address information. - A scheduled healthcare event for a patient and/or practitioner(s) where a service may take place at a specific date/time. + A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). @@ -3319,6 +3369,11 @@ P.O. Box number, delivery hints, and similar address information.A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. @@ -3336,7 +3391,7 @@ P.O. Box number, delivery hints, and similar address information. - A container for a group of resources. + A container for a collection of resources. @@ -3349,14 +3404,19 @@ P.O. Box number, delivery hints, and similar address information.Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + This resource provides the adjudication details from the processing of a Claim resource. - + - A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. @@ -3426,7 +3486,7 @@ P.O. Box number, delivery hints, and similar address information. - Represents a request for the use of a device. + Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker. @@ -3436,7 +3496,7 @@ P.O. Box number, delivery hints, and similar address information. - A request for a diagnostic investigation service to be performed. + A record of a request for a diagnostic investigation service to be performed. @@ -3489,11 +3549,6 @@ P.O. Box number, delivery hints, and similar address information.This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided. - - - Defines an extension that can be used in resources. - - Significant health events and conditions for people related to the subject relevant in the context of care for the subject. @@ -3501,7 +3556,7 @@ P.O. Box number, delivery hints, and similar address information. - Describes the intended objective(s) of the care. + Describes the intended objective(s) of patient care, for example, weight loss, restoring an activity of daily living, etc. @@ -3534,11 +3589,6 @@ P.O. Box number, delivery hints, and similar address information.A patient's point-of-time immunization status and recommendation with optional supporting justification. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - A set of information summarized from a list of other resources. @@ -3609,11 +3659,6 @@ P.O. Box number, delivery hints, and similar address information.A collection of error, warning or information messages that result from a system action. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - A request to perform an action. @@ -3636,7 +3681,7 @@ P.O. Box number, delivery hints, and similar address information. - Demographics and other administrative information about a person or animal receiving care or other health-related services. + Demographics and other administrative information about an individual or animal receiving care or other health-related services. @@ -3649,21 +3694,11 @@ P.O. Box number, delivery hints, and similar address information.This resource provides payment details and claim references supporting a bulk payment. - - - This resource provides the request and response details for the resource for which the status is to be checked. - - Demographics and administrative information about a person independent of a specific health-related context. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - A person who is directly or indirectly involved in the provisioning of healthcare. @@ -3679,19 +3714,19 @@ P.O. Box number, delivery hints, and similar address information.A request for a procedure to be performed. May be a proposal or an order. - + - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources. - + - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + This resource provides processing status, errors and notes from the processing of a resource. - Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. @@ -3704,11 +3739,6 @@ P.O. Box number, delivery hints, and similar address information.A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. - - - This resource provides the request and line items details for the claim which is to be re-adjudicated. - - Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. @@ -3719,11 +3749,6 @@ P.O. Box number, delivery hints, and similar address information.Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. - - - This resource provides the request and response details for the request for which all actions are to be reversed or terminated. - - An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. @@ -3739,11 +3764,6 @@ P.O. Box number, delivery hints, and similar address information.A Search Parameter that defines a named search item that can be used to search/filter on a resource. - - - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - - A slot of time on a schedule that may be available for booking appointments. @@ -3754,24 +3774,14 @@ P.O. Box number, delivery hints, and similar address information.Sample for analysis. - - - This resource provides the request and response details for the resource for which the processing status is to be checked. - - - - - This resource provides processing status, errors and notes from the processing of a resource. - - - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. - Todo. + The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action. @@ -3794,11 +3804,6 @@ P.O. Box number, delivery hints, and similar address information.A value set specifies a set of codes drawn from one or more code systems. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - An authorization for the supply of glasses and/or contact lenses to a patient. @@ -3912,38 +3917,18 @@ P.O. Box number, delivery hints, and similar address information. - + - - - The treatment is complete and this represents a Claim for the services. - - - - - The treatment is proposed and this represents a Pre-authorization for the services. - - - - - The treatment is proposed and this represents a Pre-determination for the services. - - - - - A locally defined or otherwise resolved status. - - - + If the element is present, it must have either a @value, an @id, or extensions - + @@ -3961,7 +3946,7 @@ P.O. Box number, delivery hints, and similar address information. - A scheduled healthcare event for a patient and/or practitioner(s) where a service may take place at a specific date/time. + A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). @@ -3969,6 +3954,11 @@ P.O. Box number, delivery hints, and similar address information.A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection. + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. @@ -3986,7 +3976,7 @@ P.O. Box number, delivery hints, and similar address information. - A container for a group of resources. + A container for a collection of resources. @@ -3999,14 +3989,19 @@ P.O. Box number, delivery hints, and similar address information.Describes the intention of how one or more practitioners intend to deliver care for a particular patient for a period of time, possibly limited to care for a specific condition or set of conditions. + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + This resource provides the adjudication details from the processing of a Claim resource. - + - A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. @@ -4076,7 +4071,7 @@ P.O. Box number, delivery hints, and similar address information. - Represents a request for the use of a device. + Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker. @@ -4086,7 +4081,7 @@ P.O. Box number, delivery hints, and similar address information. - A request for a diagnostic investigation service to be performed. + A record of a request for a diagnostic investigation service to be performed. @@ -4139,11 +4134,6 @@ P.O. Box number, delivery hints, and similar address information.This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided. - - - Defines an extension that can be used in resources. - - Significant health events and conditions for people related to the subject relevant in the context of care for the subject. @@ -4151,7 +4141,7 @@ P.O. Box number, delivery hints, and similar address information. - Describes the intended objective(s) of the care. + Describes the intended objective(s) of patient care, for example, weight loss, restoring an activity of daily living, etc. @@ -4184,11 +4174,6 @@ P.O. Box number, delivery hints, and similar address information.A patient's point-of-time immunization status and recommendation with optional supporting justification. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - A set of information summarized from a list of other resources. @@ -4259,11 +4244,6 @@ P.O. Box number, delivery hints, and similar address information.A collection of error, warning or information messages that result from a system action. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - A request to perform an action. @@ -4286,7 +4266,7 @@ P.O. Box number, delivery hints, and similar address information. - Demographics and other administrative information about a person or animal receiving care or other health-related services. + Demographics and other administrative information about an individual or animal receiving care or other health-related services. @@ -4299,21 +4279,11 @@ P.O. Box number, delivery hints, and similar address information.This resource provides payment details and claim references supporting a bulk payment. - - - This resource provides the request and response details for the resource for which the status is to be checked. - - Demographics and administrative information about a person independent of a specific health-related context. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - A person who is directly or indirectly involved in the provisioning of healthcare. @@ -4329,19 +4299,19 @@ P.O. Box number, delivery hints, and similar address information.A request for a procedure to be performed. May be a proposal or an order. - + - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources. - + - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + This resource provides processing status, errors and notes from the processing of a resource. - Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. @@ -4354,11 +4324,6 @@ P.O. Box number, delivery hints, and similar address information.A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions. - - - This resource provides the request and line items details for the claim which is to be re-adjudicated. - - Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. @@ -4369,11 +4334,6 @@ P.O. Box number, delivery hints, and similar address information.Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process. - - - This resource provides the request and response details for the request for which all actions are to be reversed or terminated. - - An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. @@ -4389,11 +4349,6 @@ P.O. Box number, delivery hints, and similar address information.A Search Parameter that defines a named search item that can be used to search/filter on a resource. - - - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - - A slot of time on a schedule that may be available for booking appointments. @@ -4404,24 +4359,14 @@ P.O. Box number, delivery hints, and similar address information.Sample for analysis. - - - This resource provides the request and response details for the resource for which the processing status is to be checked. - - - - - This resource provides processing status, errors and notes from the processing of a resource. - - - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. - Todo. + The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action. @@ -4444,11 +4389,6 @@ P.O. Box number, delivery hints, and similar address information.A value set specifies a set of codes drawn from one or more code systems. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - An authorization for the supply of glasses and/or contact lenses to a patient. @@ -4476,7 +4416,7 @@ P.O. Box number, delivery hints, and similar address information. - The composition or document is complete and verified by an appropriate person, and no further work is planned. + This version of the composition is complete and verified by an appropriate person and no further work is planned. Any subsequent updates would be on a new version of the composition. @@ -4550,7 +4490,7 @@ P.O. Box number, delivery hints, and similar address information.Supports basic workflow. - + The person who this alert concerns. @@ -4560,9 +4500,9 @@ P.O. Box number, delivery hints, and similar address information.The person or device that created the alert. - + - The textual component of the alert to display to the user. + The coded value or textual component of the alert to display to the user. @@ -4627,11 +4567,16 @@ P.O. Box number, delivery hints, and similar address information.Indicates who has responsibility for the record. - + The patient who has the allergy or intolerance. + + + The source of the information about the allergy that is recorded. + + Identification of a substance, or a class of substances, that is considered to be responsible for the Adverse reaction risk. @@ -4899,6 +4844,11 @@ P.O. Box number, delivery hints, and similar address information.A propensity for a reaction to the identified Substance has been disproven with a high level of clinical certainty, which may include testing or rechallenge, and is refuted. + + + The statement was entered in error and Is not valid. + + @@ -4914,12 +4864,12 @@ P.O. Box number, delivery hints, and similar address information. - A scheduled healthcare event for a patient and/or practitioner(s) where a service may take place at a specific date/time. + A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). - A scheduled healthcare event for a patient and/or practitioner(s) where a service may take place at a specific date/time. + A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). If the element is present, it must have either a @value, an @id, or extensions @@ -4930,11 +4880,6 @@ P.O. Box number, delivery hints, and similar address information.This records identifiers associated with this appointment concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). - - - The priority of the appointment. Can be used to make informed decisions if needing to re-prioritize appointments. (The iCal Standard specifies 0 as undefined, 1 as highest, 9 as lowest priority) (Need to change back to CodeableConcept). - - The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status. @@ -4942,7 +4887,7 @@ P.O. Box number, delivery hints, and similar address information. - The type of appointments that is being booked (ideally this would be an identifiable service - which is at a location, rather than the location itself). + The type of appointment that is being booked (This may also be associated with participants for location, and/or a HealthcareService). @@ -4950,6 +4895,11 @@ P.O. Box number, delivery hints, and similar address information.The reason that this appointment is being scheduled, this is more clinical than administrative. + + + The priority of the appointment. Can be used to make informed decisions if needing to re-prioritize appointments. (The iCal Standard specifies 0 as undefined, 1 as highest, 9 as lowest priority). + + The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field. @@ -4970,11 +4920,6 @@ P.O. Box number, delivery hints, and similar address information.The slot that this appointment is filling. If provided then the schedule will not be provided as slots are not recursive, and the start/end values MUST be the same as from the slot. - - - The primary location that this appointment is to take place. - - Additional comments about the appointment. @@ -4990,23 +4935,13 @@ P.O. Box number, delivery hints, and similar address information.List of participants involved in the appointment. - - - Who recorded the appointment. - - - - - Date when the appointment was recorded. - - - A scheduled healthcare event for a patient and/or practitioner(s) where a service may take place at a specific date/time. + A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s). @@ -5018,7 +4953,7 @@ P.O. Box number, delivery hints, and similar address information. - A Person of device that is participating in the appointment, usually Practitioner, Patient, RelatedPerson or Device. + A Person, Location/HealthcareService or Device that is participating in the appointment. @@ -5049,7 +4984,7 @@ P.O. Box number, delivery hints, and similar address information. - The participant is not required to attend the appointment (appointment is about them, not for them). + The participant is excluded from the appointment, and may not be informed of the appointment taking place. (appointment is about them, not for them - such as 2 doctors discussing results about a patient's test). @@ -5074,7 +5009,7 @@ P.O. Box number, delivery hints, and similar address information. - All participant(s) have been considered and the appointment is condirmed to go ahead at the date/times specified. + All participant(s) have been considered and the appointment is confirmed to go ahead at the date/times specified. @@ -5127,16 +5062,6 @@ P.O. Box number, delivery hints, and similar address information.The participant has tentatively accepted the appointment. This could be automatically created by a system and requires further processing before it can be accepted. There is no commitment that attendance will occur. - - - The participant has started the appointment. - - - - - The participant's involvement in the appointment has been completed. - - The participant needs to indicate if they accept the appointment by changing this status to one of the other statuses. @@ -5170,7 +5095,7 @@ P.O. Box number, delivery hints, and similar address information. - This records identifiers associated with this appointment concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). + This records identifiers associated with this appointment response concern that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate. @@ -5183,39 +5108,29 @@ P.O. Box number, delivery hints, and similar address information.Role of participant in the appointment. - + - A Person of device that is participating in the appointment, usually Practitioner, Patient, RelatedPerson or Device. + A Person, Location/HealthcareService or Device that is participating in the appointment. - Participation status of the Patient. + Participation status of the Participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty. - Additional comments about the appointment. + This comment is particularly important when the responder is declining, tentative or requesting another time to indicate the reasons why. - Date/Time that the appointment is to take place. + This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the start time. - Date/Time that the appointment is to conclude. - - - - - Who recorded the appointment response. - - - - - Date when the response was recorded or last updated. + This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time. @@ -5267,6 +5182,649 @@ P.O. Box number, delivery hints, and similar address information. + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Identifies the name, action type, time, and disposition of the audited event. + + + + + A person, a hardware device or software process. + + + + + Application systems and processes. + + + + + Specific instances of data or objects that have been accessed. + + + + + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + + + Identifier for a family of the event. + + + + + Identifier for the category of event. + + + + + Indicator for type of action performed during the event that generated the audit. + + + + + The time when the event occurred on the source. + + + + + Indicates whether the event succeeded or failed. + + + + + A free text description of the outcome of the event. + + + + + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + + + Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the role-based access control security system used in the local context. + + + + + Direct reference to a resource that identifies the participant. + + + + + Unique identifier for the user actively participating in the event. + + + + + Alternative Participant 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. + + + + + Human-meaningful name for the user. + + + + + Indicator that the user is or is not the requestor, or initiator, for the event being audited. + + + + + Where the event occurred. + + + + + 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. + + + + + Type of media involved. Used when the event is about exporting/importing onto media. + + + + + Logical network location for application activity, if the activity has a network location. + + + + + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + + + An identifier for the network access point of the user device for the audit event. + + + + + An identifier for the type of network access point that originated the audit event. + + + + + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + + + Logical source location within the healthcare enterprise network. + + + + + Identifier of the source where the event originated. + + + + + Code specifying the type of source where event originated. + + + + + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + + + Identifies a specific instance of the participant object. The reference should always be version specific. + + + + + Identifies a specific instance of the participant object. The reference should always be version specific. + + + + + Object type being audited. + + + + + Code representing the functional application role of Participant Object being audited. + + + + + Identifier for the data life-cycle stage for the participant object. + + + + + Denotes policy-defined sensitivity for the Participant Object ID such as VIP, HIV status, mental health status or similar topics. + + + + + An instance-specific descriptor of the Participant Object ID audited, such as a person's name. + + + + + Text that describes the object in more detail. + + + + + The actual query for a query-type participant object. + + + + + Additional Information about the Object. + + + + + + + + + A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + + + + + + + Name of the property. + + + + + Property value. + + + + + + + + + + + This object is the patient that is the subject of care related to this event. It is identifiable by patient ID or equivalent. The patient may be either human or animal. + + + + + This is a location identified as related to the event. This is usually the location where the event took place. Note that for shipping, the usual events are arrival at a location or departure from a location. + + + + + This object is any kind of persistent document created as a result of the event. This could be a paper report, film, electronic report, DICOM Study, etc. Issues related to medical records life cycle management are conveyed elsewhere. + + + + + A logical object related to the event. (Deprecated). + + + + + This is any configurable file used to control creation of documents. Examples include the objects maintained by the HL7 Master File transactions, Value Sets, etc. + + + + + A human participant not otherwise identified by some other category. + + + + + (deprecated). + + + + + Typically a licensed person who is providing or performing care related to the event, generally a physician. The key distinction between doctor and practitioner is with regards to their role, not the licensing. The doctor is the human who actually performed the work. The practitioner is the human or organization that is responsible for the work. + + + + + A person or system that is being notified as part of the event. This is relevant in situations where automated systems provide notifications to other parties when an event took place. + + + + + Insurance company, or any other organization who accepts responsibility for paying for the healthcare event. + + + + + A person or active system object involved in the event with a security role. + + + + + A person or system object involved in the event with the authority to modify security roles of other objects. + + + + + A passive object, such as a role table, that is relevant to the event. + + + + + (deprecated) Relevant to certain RBAC security methodologies. + + + + + Any person or organization responsible for providing care. This encompasses all forms of care, licensed or otherwise, and all sorts of teams and care groups. Note, the distinction between practitioners and the doctor that actually provided the care to the patient. + + + + + The source or destination for data transfer, when it does not match some other role. + + + + + A source or destination for data transfer, that acts as an archive, database, or similar role. + + + + + An object that holds schedule information. This could be an appointment book, availability information, etc. + + + + + An organization or person that is the recipient of services. This could be an organization that is buying services for a patient, or a person that is buying services for an animal. + + + + + An order, task, work item, procedure step, or other description of work to be performed. E.g., a particular instance of an MPPS. + + + + + A list of jobs or a system that provides lists of jobs. E.g., an MWL SCP. + + + + + (Deprecated). + + + + + An object that specifies or controls the routing or delivery of items. For example, a distribution list is the routing criteria for mail. The items delivered may be documents, jobs, or other objects. + + + + + The contents of a query. This is used to capture the contents of any kind of query. For security surveillance purposes knowing the queries being made is very important. + + + + + + + Code representing the functional application role of Participant Object being audited + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Origination / Creation. + + + + + Import / Copy from original. + + + + + Amendment. + + + + + Verification. + + + + + Translation. + + + + + Access / Use. + + + + + De-identification. + + + + + Aggregation, summarization, derivation. + + + + + Report. + + + + + Export / Copy to target. + + + + + Disclosure. + + + + + Receipt of disclosure. + + + + + Archiving. + + + + + Logical deletion. + + + + + Permanent erasure / Physical destruction. + + + + + + + Identifier for the data life-cycle stage for the participant object + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Create a new database object, such as Placing an Order. + + + + + Display or print data, such as a Doctor Census. + + + + + Update data, such as Revise Patient Information. + + + + + Delete items, such as a doctor master file record. + + + + + Perform a system or application function such as log-on, program execution or use of an object's method, or perform a query/search operation. + + + + + + + Indicator for type of action performed during the event that generated the audit. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Person. + + + + + System Object. + + + + + Organization. + + + + + Other. + + + + + + + Code for the participant object type being audited + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The operation completed successfully (whether with warnings or not). + + + + + The action was not successful due to some kind of catered for error (often equivalent to an HTTP 400 response). + + + + + The action was not successful due to some kind of unexpected error (often equivalent to an HTTP 500 response). + + + + + An error of such magnitude occurred that the system is not longer available for use (i.e. the system died). + + + + + + + Indicates whether the event succeeded or failed + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Machine Name, including DNS name. + + + + + IP Address. + + + + + Telephone Number. + + + + + Email address. + + + + + URI (User directory, HTTP-PUT, ftp, etc.). + + + + + + + The type of network access point that originated the audit event + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification. @@ -5437,12 +5995,12 @@ P.O. Box number, delivery hints, and similar address information. - A container for a group of resources. + A container for a collection of resources. - A container for a group of resources. + A container for a collection of resources. If the element is present, it must have either a @value, an @id, or extensions @@ -5484,7 +6042,7 @@ P.O. Box number, delivery hints, and similar address information. - A container for a group of resources. + A container for a collection of resources. @@ -5505,7 +6063,7 @@ P.O. Box number, delivery hints, and similar address information. - A container for a group of resources. + A container for a collection of resources. @@ -5515,6 +6073,11 @@ P.O. Box number, delivery hints, and similar address information.The Base URL for the resource, if different to the base URL specified for the bundle as a whole. + + + A series of links that provide context to this entry. + + The Resources for the entry. @@ -5541,7 +6104,7 @@ P.O. Box number, delivery hints, and similar address information. - A container for a group of resources. + A container for a collection of resources. @@ -5562,7 +6125,7 @@ P.O. Box number, delivery hints, and similar address information. - A container for a group of resources. + A container for a collection of resources. @@ -5587,7 +6150,7 @@ P.O. Box number, delivery hints, and similar address information.Only perform the operation if the Etag value matches. For more information, see the API section "Managing Resource Contention". - + Only perform the operation if the last updated date matches. For more information, see the API section "Managing Resource Contention". @@ -5603,7 +6166,7 @@ P.O. Box number, delivery hints, and similar address information. - A container for a group of resources. + A container for a collection of resources. @@ -5618,11 +6181,16 @@ P.O. Box number, delivery hints, and similar address information.The location header created by processing this operation. - + The etag for the resource, it the operation for the entry produced a versioned resource. + + + The date/time that the resource was modified on the server. + + @@ -6239,6 +6807,611 @@ P.O. Box number, delivery hints, and similar address information. + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + The category of claim this is. + + + + + The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number. + + + + + The version of the specification on which this instance relies. + + + + + The version of the specification from which the original instance was created. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + Insurer Identifier, typical BIN number (6 digit). + + + + + The provider which is responsible for the bill, claim pre-determination, pre-authorization. + + + + + The organization which is responsible for the bill, claim pre-determination, pre-authorization. + + + + + Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination). + + + + + Immediate (STAT), best effort (NORMAL), deferred (DEFER). + + + + + In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested. + + + + + Person who created the invoice/claim/pre-determination or pre-authorization. + + + + + Facility where the services were provided. + + + + + Prescription to support the dispensing of Pharmacy or Vision products. + + + + + Original prescription to support the dispensing of pharmacy services, medications or products. + + + + + The party to be reimbursed for the services. + + + + + The referral resource which lists the date, practitioner, reason and other supporting information. + + + + + Ordered list of patient diagnosis for which care is sought. + + + + + List of patient conditions for which care is sought. + + + + + Patient Resource. + + + + + Financial instrument by which payment information for health care. + + + + + Factors which may influence the applicability of coverage. + + + + + Name of school for over-aged dependants. + + + + + Date of an accident which these services are addressing. + + + + + Type of accident: work, auto, etc. + + + + + A list of intervention and exception codes which may influence the adjudication of the claim. + + + + + First tier of goods and services. + + + + + Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission. + + + + + A list of teeth which would be expected but are not found due to having been previously extracted or for other reasons. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + Party to be reimbursed: Subscriber, provider, other. + + + + + The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + Sequence of diagnosis which serves to order and provide a link. + + + + + The diagnosis. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line item. + + + + + The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated. + + + + + Reference to the program or plan identification, underwriter or payor. + + + + + The contract number of a business agreement which describes the terms and conditions. + + + + + The relationship of the patient to the subscriber. + + + + + A list of references from the Insurer to which these services pertain. + + + + + The Coverages adjudication details. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + The practitioner who is responsible for the services rendered to the patient. + + + + + Diagnosis applicable for this service or product line. + + + + + If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. + + + + + The date when the enclosed suite of services were performed or completed. + + + + + The number of repetitions of a service or product. + + + + + If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an addittional service or product or charge. 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. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + Physical service site on the patient (limb, tooth, etc). + + + + + A region or surface of the site, eg. limb region or tooth surface(s). + + + + + Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. + + + + + Second tier of goods and services. + + + + + The materials and placement date of prior fixed prosthesis. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. + + + + + The number of repetitions of a service or product. + + + + + If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an addittional service or product or charge. 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. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + Third tier of goods and services. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + A service line number. + + + + + The type of product or service. + + + + + The fee for an addittional service or product or charge. + + + + + The number of repetitions of a service or product. + + + + + The fee for an addittional service or product or charge. + + + + + A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + + + + + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + + + + + The quantity times the unit price for an addittional service or product or charge. 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. + + + + + List of Unique Device Identifiers associated with this line item. + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + Indicates whether this is the initial placement of a fixed prosthesis. + + + + + Date of the initial placement. + + + + + Material of the prior denture or bridge prosthesis. (Oral). + + + + + + + + + A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + + + + + + + The code identifying which tooth is missing. + + + + + Missing reason may be: E-extraction, O-other. + + + + + The date of the extraction either known from records or patient reported estimate. + + + + + + + + + + + A claim for Institution based, typically in-patient, goods and services. + + + + + A claim for Oral Health (Dentist, Denturist, Hygienist) goods and services. + + + + + A claim for Pharmacy based goods and services. + + + + + A claim for Professional, typically out-patient, goods and services. + + + + + A claim for Vision (Opthamologist, Optometrist and Optician) goods and services. + + + + + + + The type or discipline-style of the claim + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + The treatment is complete and this represents a Claim for the services. + + + + + The treatment is proposed and this represents a Pre-authorization for the services. + + + + + The treatment is proposed and this represents a Pre-determination for the services. + + + + + A locally defined or otherwise resolved status. + + + + + + + Complete, proposed, exploratory, other + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + This resource provides the adjudication details from the processing of a Claim resource. @@ -6312,7 +7485,7 @@ P.O. Box number, delivery hints, and similar address information.The first tier service adjudications for submitted services. - + The first tier service adjudications for payor added services. @@ -6377,6 +7550,11 @@ P.O. Box number, delivery hints, and similar address information.Note text. + + + Financial instrument by which payment information for health care. + + @@ -6455,7 +7633,7 @@ P.O. Box number, delivery hints, and similar address information.The adjudications results. - + The third tier service adjudications for submitted services. @@ -6490,7 +7668,7 @@ P.O. Box number, delivery hints, and similar address information. - + This resource provides the adjudication details from the processing of a Claim resource. @@ -6537,7 +7715,7 @@ P.O. Box number, delivery hints, and similar address information. - + This resource provides the adjudication details from the processing of a Claim resource. @@ -6713,14 +7891,65 @@ P.O. Box number, delivery hints, and similar address information. - + - A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + This resource provides the adjudication details from the processing of a Claim resource. + + + + + + + A service line item. + + + + + The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated. + + + + + Reference to the program or plan identification, underwriter or payor. + + + + + The contract number of a business agreement which describes the terms and conditions. + + + + + The relationship of the patient to the subscriber. + + + + + A list of references from the Insurer to which these services pertain. + + + + + The Coverages adjudication details. + + + + + The style (standard) and version of the original material which was converted into this resource. + + + + + + + + + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. - + - A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. If the element is present, it must have either a @value, an @id, or extensions @@ -6733,7 +7962,7 @@ P.O. Box number, delivery hints, and similar address information. - The clinicial performing the assessment. + The clinician performing the assessment. @@ -6756,17 +7985,14 @@ P.O. Box number, delivery hints, and similar address information.This a list of the general problems/conditions for a patient. - + - A reference to a specific care plan that prompted this assessment. The care plan provides further context for the assessment. - - - - - A reference to a specific care plan that prompted this assessment. The referral request may provide further context for the assessment. - - - + The request or event that necessitated this assessment. This may be a diagnosis, a Care Plan, a Request Referral, or some other resource. + + + + + One or more sets of investigations (signs, symptions, etc). The actual grouping of investigations vary greatly depending on the type and context of the assessment. These investigations may include data generated during the assessment process, or data previously generated and recorded that is pertinent to the outcomes. @@ -6781,9 +8007,9 @@ P.O. Box number, delivery hints, and similar address information.A text summary of the investigations and the diagnosis. - + - An specific diagnosis that was considered likely or relevant to ongoing treatment. + Specific findings or diagnoses that was considered likely or relevant to ongoing treatment. @@ -6791,7 +8017,7 @@ P.O. Box number, delivery hints, and similar address information.Diagnoses/conditions resolved since the last assessment. - + Diagnosis considered not possible. @@ -6815,9 +8041,9 @@ P.O. Box number, delivery hints, and similar address information. - + - A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. @@ -6836,30 +8062,30 @@ P.O. Box number, delivery hints, and similar address information. - + - A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. - Specific text of code for diagnosis. + Specific text of code for finding or diagnosis. - Which investigations support diagnosis. + Which investigations support finding or diagnosis. - + - A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. + A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called "ClinicalImpression" rather than "ClinicalAssessment" to avoid confusion with the recording of assessment tools such as Apgar score. @@ -7228,7 +8454,7 @@ P.O. Box number, delivery hints, and similar address information.The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document. - + The code specifying the level of confidentiality of the Composition. @@ -7348,7 +8574,7 @@ P.O. Box number, delivery hints, and similar address information. - The content (narrative and data) associated with the section. + The content (narrative and data entries) associated with the section. @@ -7368,9 +8594,14 @@ P.O. Box number, delivery hints, and similar address information. - + - The identifier that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI). + An absolute uri that is used to identify this concept map when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + + + + + Formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance. @@ -7383,14 +8614,19 @@ P.O. Box number, delivery hints, and similar address information.A free text natural language name describing the concept map. + + + The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of concept maps. + + The name of the individual or organization that published the concept map. - + - Contacts of the publisher to assist a user in finding and communicating with the publisher. + Contacts to assist a user in finding and communicating with the publisher. @@ -7398,12 +8634,17 @@ P.O. Box number, delivery hints, and similar address information.A free text natural language description of the use of the concept map - reason for definition, conditions of use, etc. + + + Explains why this concept map is needed and why it's been constrained as it has. + + A copyright statement relating to the concept map and/or its contents. - + The status of the concept map. @@ -7441,6 +8682,27 @@ P.O. Box number, delivery hints, and similar address information. + + + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. + + + + + + + The name of an individual to contact regarding the concept map. + + + + + Contact details for individual (if a name was provided) or the publisher. + + + + + + A statement of relationships from one set of concepts to one or more other concepts - either code systems or data elements, or classes in class models. @@ -7450,7 +8712,7 @@ P.O. Box number, delivery hints, and similar address information. - Code System (if the source is a value value set that crosses more than one code system). + An absolute URI that identifies the Code System (if the source is a value value set that crosses more than one code system). @@ -7486,7 +8748,7 @@ P.O. Box number, delivery hints, and similar address information. - The code system of the dependency code (if the source/dependency is a value set that cross code systems). + An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that cross code systems). @@ -7507,7 +8769,7 @@ P.O. Box number, delivery hints, and similar address information. - The code system of the target code (if the target is a value set that cross code systems). + An absolute URI that identifies the code system of the target code (if the target is a value set that cross code systems). @@ -7612,7 +8874,7 @@ P.O. Box number, delivery hints, and similar address information.This records identifiers associated with this condition that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). - + Indicates the patient who the condition record is associated with. @@ -7642,16 +8904,11 @@ P.O. Box number, delivery hints, and similar address information.A category assigned to the condition. E.g. complaint | symptom | finding | diagnosis. - + The clinical status of the condition. - - - The degree of confidence that this condition is correct. - - A subjective assessment of the severity of the condition as evaluated by the clinician. @@ -7663,6 +8920,9 @@ P.O. Box number, delivery hints, and similar address information. + + + @@ -7671,6 +8931,9 @@ P.O. Box number, delivery hints, and similar address information. + + + @@ -7776,7 +9039,7 @@ P.O. Box number, delivery hints, and similar address information. - + Code that identifies the target of this relationship. The code takes the place of a detailed instance target. @@ -7797,7 +9060,7 @@ P.O. Box number, delivery hints, and similar address information. - + Code that identifies the target of this relationship. The code takes the place of a detailed instance target. @@ -7811,7 +9074,7 @@ P.O. Box number, delivery hints, and similar address information. - + @@ -7833,16 +9096,26 @@ P.O. Box number, delivery hints, and similar address information.This condition has been ruled out by diagnostic and clinical evidence. + + + The statement was entered in error and Is not valid. + + + + + The condition status is unknown. Note that "unknown" is a value of last resort and every attempt should be made to provide a meaningful value other than "unknown". + + - + The clinical status of the Condition or diagnosis If the element is present, it must have either a @value, an @id, or extensions - + @@ -7859,9 +9132,9 @@ P.O. Box number, delivery hints, and similar address information. - + - The identifier that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI). + An absolute uri that is used to identify this conformance statement when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). @@ -7874,22 +9147,32 @@ P.O. Box number, delivery hints, and similar address information.A free text natural language name identifying the conformance statement. - + - Name of Organization publishing this conformance statement. + The name of the individual or organization that published the conformance. - + - Contacts for Organization relevant to this conformance statement. The contacts may be a website, email, phone numbers, etc. + Contacts to assist a user in finding and communicating with the publisher. - A free text natural language description of the conformance statement and its use. Typically, this is used when the profile describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP. + A free text natural language description of the conformance statement and its use. Typically, this is used when the conformance statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP. - + + + Explains why this conformance statement is needed and why it's been constrained as it has. + + + + + A copyright statement relating to the conformamce statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the system described by the conformance statement. + + + The status of this conformance statement. @@ -7906,7 +9189,7 @@ P.O. Box number, delivery hints, and similar address information. - Software that is covered by this conformance statement. It is used when the profile describes the capabilities of a particular software version, independent of an installation. + Software that is covered by this conformance statement. It is used when the conformance statement describes the capabilities of a particular software version, independent of an installation. @@ -7926,7 +9209,7 @@ P.O. Box number, delivery hints, and similar address information. - A list of the formats supported by this implementation. + A list of the formats supported by this implementation using their content types. @@ -7953,6 +9236,27 @@ P.O. Box number, delivery hints, and similar address information. + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. + + + + + + + The name of an individual to contact regarding the conformance. + + + + + Contact details for individual (if a name was provided) or the publisher. + + + + + + A conformance statement is a set of requirements for a desired implementation or a description of how a target application fulfills those requirements in a particular implementation. @@ -7993,7 +9297,7 @@ P.O. Box number, delivery hints, and similar address information. - A base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces. + An absolute base URL for the implementation. This forms the base for REST interfaces as well as the mailbox and document interfaces. @@ -8019,7 +9323,7 @@ P.O. Box number, delivery hints, and similar address information. - Information about security of implementation. + Information about security implementation from an interface perspective - what a client needs to know. @@ -8039,7 +9343,12 @@ P.O. Box number, delivery hints, and similar address information. - A list of profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier "http://hl7.org/fhir/documents/mailbox". Other specifications can declare their own identifier for this purpose. + A list of absolute URIs that identify profiles that this server implements for accepting documents in the mailbox. If this list is empty, then documents are not accepted. The base specification has the profile identifier "http://hl7.org/fhir/documents/mailbox". Other specifications can declare their own identifier for this purpose. + + + + + An absolute URI which is a reference to the definition of a compartment hosted by the system. @@ -8132,7 +9441,7 @@ P.O. Box number, delivery hints, and similar address information. - A flag to indicate that the server allows the client to create new identities on the server. If the update operation is used (client) or allowed (server) to a new location where a resource doesn't already exist. This means that the server allows the client to create new identities on the server. + A flag to indicate that the server allows or needs to allow the client to create new identities on the server (e.g. that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server. @@ -8199,7 +9508,7 @@ P.O. Box number, delivery hints, and similar address information. - A formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter. + An absolute URI that is a formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter (a reference to [[[SearchParameter.url]]]). @@ -8465,12 +9774,12 @@ P.O. Box number, delivery hints, and similar address information. - The application acts as a server for this resource. + The application acts as a client for this resource. - The application acts as a client for this resource. + The application acts as a server for this resource. @@ -8601,36 +9910,6 @@ P.O. Box number, delivery hints, and similar address information. - - - - - This conformance statement is still under development. - - - - - This conformance statement is ready for use in production systems. - - - - - This conformance statement has been withdrawn or superceded and should no longer be used. - - - - - - - The status of this conformance statement - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - A formal agreement between parties regarding the conduct of business, exchange of information or other matters. @@ -8644,149 +9923,170 @@ P.O. Box number, delivery hints, and similar address information. - + - Unique Id for this contract. - - - - - Who and/or what this is about: typically Patient, Organization, property. - - - - - A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc. - - - - - A Location includes both incidental locations (a place which is used for healthcare without prior designation or authorization) and dedicated, formally appointed locations. - - - - - Type of contract (Privacy-Security, Agreement, Insurance). - - - - - More specific type of contract (Privacy, Disclosure-Authorization, Advanced-Directive, DNR, Authorization-to-Treat). + Unique identifier for this Contract. - When this was issued. + When this Contract was issued. - Relevant time/time-period when applicable. + Relevant time or time-period when this Contract is applicable. - + - The number of repetitions of a service or product. + Who and/or what this Contract is about: typically a Patient, Organization, or valued items such as goods and services. - + - The unit price product. + A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies. - + - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + Recognized governance framework or system operating with a circumscribed scope in accordance with specified principles, policies, processes or procedures for managing rights, actions, or behaviors of parties or principals relative to resources. - + - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + Type of Contract such as an insurance policy, real estate contract, a will, power of attorny, Privacy or Security policy , trust framework agreement, etc. - + - The quantity times the unit price for an additional service or product or charge. 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. + More specific type or specialization of an overarching or more general contract such as auto insurance, home owner insurance, prenupial agreement, Advanced-Directive, or privacy consent. - + - Contract author or responsible party. + Action stipulated by this Contract. - + - First Party to the contract, may be the party who confers or delegates the rights defined in the contract. + Reason for action stipulated by this Contract. - + - The Second party to the contract, may be the party who accepts obligations or be that to which rights are delegated. + List of Contract actors. - + - Who witnesses the contract. - - - - - First Party to the contract, may be the party who confers or delegates the rights defined in the contract. - - - - - First Party to the contract, may be the party who confers or delegates the rights defined in the contract. + Contract Valued Item List. - List or contract signatures. + Party signing this Contract. - The itemized terms of the contract. The legal clause or conditions of the Contract that requires or prevents either one or both parties to perform a particular requirement by some specified time. + One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups. - + - Legally binding contract. + Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the "source of truth" and which would be the basis for legal action related to enforcement of this Contract. + + + + + + + The "patient friendly language" versionof the Contract in whole or in parts. "Patient friendly language" means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement. - + - Relevant time/time-period when applicable. + List of Legal expressions or representations of this Contract. - + - Friendly Human readable form (might be a reference to the UI used to capture the contract). + List of Computable Policy Rule Language Representations of this Contract. - + + + + + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + + + + + - Relevant time/time-period when applicable. + Who or what actors are assigned roles in this Contract. - + - Legal text in Human readable form. + Role type of actors assigned roles in this Contract. - + + + + + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + + + + + - Relevant time/time-period when applicable. + Specific type of Contract Valued Item that may be priced. + + + + + + + Identifies a Contract Valued Item instance. - + - Computable Policy rules (e.g. XACML, DKAL, SecPal). + Indicates the time during which this Contract ValuedItem information is effective. - + - Relevant time/time-period when applicable. + Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances. + + + + + A Contract Valued Item unit valuation measure. + + + + + 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. + + + + + 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. + + + + + 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. @@ -8800,14 +10100,19 @@ P.O. Box number, delivery hints, and similar address information. - + - Party or role who is signing. + Role of this Contract signer, e.g., notary, grantee. + + + + + Party which is a signator to this Contract. - The DSIG signature contents in Base64. + Legally binding Contract DSIG signature contents in Base64. @@ -8823,68 +10128,196 @@ P.O. Box number, delivery hints, and similar address information. - Unique Id for this particular term. - - - - - The type of the term. - - - - - The subtype of the term which is appropriate to the term type. - - - - - Who or what the contract term is about. - - - - - Human readable form of the term of the contract. + Unique identifier for this particular Contract Provision. - When this term was issued. + When this Contract Provision was issued. - Relevant time/time-period when the term is applicable. + Relevant time or time-period when this Contract Provision is applicable. + + + + + Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g., life time maximum benefit. + + + + + Subtype of this Contract Provision, e.g., life time maximum payment for a contract term for specific valued item, e.g., disability payment. + + + + + Who or what this Contract Provision is about. + + + + + Action stipulated by this Contract Provision. + + + + + Reason or purpose for the action stipulated by this Contract Provision. + + + + + List of actors participating in this Contract Provision. + + + + + Human readable form of this Contract Provision. + + + + + Contract Provision Valued Item List. + + + + + Nested group of Contract Provisions. + + + + + + + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + + + + + + + The actor assigned a role in this Contract Provision. + + + + + Role played by the actor assigned this role in this Contract Provision. + + + + + + + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + + + + + + + Specific type of Contract Provision Valued Item that may be priced. + + + + + + + Identifies a Contract Provision Valued Item instance. + + + + + Indicates the time during which this Contract Term ValuedItem information is effective. - The number of repetitions of a service or product. + Specifies the units by which the Contract Provision Valued Item is measured or counted, and quantifies the countable or measurable Contract Term Valued Item instances. - The unit price product. + A Contract Provision Valued Item unit valuation measure. - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + A real number that represents a multiplier used in determining the overall value of the Contract Provision Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Provision Valued Item delivered. The concept of Points allows for assignment of point values for a Contract ProvisionValued Item, such that a monetary amount can be assigned to each point. - The quantity times the unit price for an additional service or product or charge. 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. + Expresses the product of the Contract Provision 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. + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + + + + + + + Human readable rendering of this Contract in a format and representation intended to enhance comprehension and ensure understandability. + + + + + + + + + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + + + + + + + Contract legal text in human renderable form. + + + + + + + + + + + A formal agreement between parties regarding the conduct of business, exchange of information or other matters. + + + + + + + Computable Contract conveyed using a policy rule language (e.g. XACML, DKAL, SecPal). + + + + + + + + Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient. E.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc. @@ -8996,6 +10429,11 @@ P.O. Box number, delivery hints, and similar address information.The program or plan underwriter or payor. + + + Business Identification Number (BIN number) used to identify the routing of eclaims if the insurer themselves don't have a BIN number for all of their business. + + Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force. @@ -9006,9 +10444,14 @@ P.O. Box number, delivery hints, and similar address information.The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health. + + + The id issued to the subscriber. + + - The main (and possibly only) identifier for the coverage - often referred to as a Subscriber Id, Certificate number or Personal Health Number or Case ID. + The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Subscriber Id, Certificate number or Personal Health Number or Case ID. @@ -9021,7 +10464,7 @@ P.O. Box number, delivery hints, and similar address information.Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID. - + Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a specific employer group within a class of employers. May be referred to as a Section or Division ID. @@ -9068,27 +10511,37 @@ P.O. Box number, delivery hints, and similar address information. + + + An absolute uri that is used to identify this element when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + + - The identifier that is used to identify this data element when it is referenced in a Profile, Questionnaire or an instance. + Formal identifier that is used to identify this data element when it is represented in other formats, or referenced in a specification, model, design or an instance. - The identifier that is used to identify this version of the data element when it is referenced in a Profile, Questionnaire or instance. This is an arbitrary value managed by the definition author manually. + The identifier that is used to identify this version of the data element when it is referenced in a StructureDefinition, Questionnaire or instance. This is an arbitrary value managed by the definition author manually. - + - Details of the individual or organization who accepts responsibility for publishing the data element. + The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used. - + - Contact details to assist a user in finding and communicating with the publisher. + The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of data element definitions. - + + + A flag to indicate that this search data elemnt definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + + + The status of the data element. @@ -9098,147 +10551,55 @@ P.O. Box number, delivery hints, and similar address information.The date that the status for this business version of the data element became effective. (I.e. Date the draft was created, date element became active or date element became retired). - + - The term used by humans to refer to the data element. Should ideally be unique within the context in which the data element is expected to be used. + A copyright statement relating to the definition of the data element. Copyright statements are generally legal restrictions on the use and publishing of the details of the definition of the data element. - + - A set of terms from external terminologies that may be used to assist with indexing and searching of data element definitions. + The name of the individual or organization that published the data element. - + + + Contacts to assist a user in finding and communicating with the publisher. + + + Identifies how precise the data element is in its definition. - - - A code that provides the meaning for a data element according to a particular terminology. - - - - - The default/suggested phrasing to use when prompting a human to capture the data element in question form (e.g. In a survey). - - - - - The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form. - - - - - Provides a complete explanation of the meaning of the data element for human readability. - - - - - Comments about the use of the element, including notes about how to use the data properly, exceptions to proper use, etc. - - - - - Explains why this element is needed and why it's been constrained as it has. - - - - - Identifies additional names by which this element might also be known. - - - - - The FHIR data type that is the type for data that corresponds to this data element. - - - - - A sample value for this element demonstrating the type of information that would typically be captured. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Indicates the shortest length that SHALL be supported by conformant instances without truncation. - - - - - Identifies the units of measure in which the data element should be captured or expressed. - - - - - - - Binds to a value set if this element is coded (code, Coding, CodeableConcept). - - - Identifies a concept from an external specification that roughly corresponds to this element. + Identifies a specification (other than a terminology) that the elements that make up the DataElement hav some correspondance with. + + + + + Defines the structure, type, allowed values and other constraining characteristics of the data element. - + The formal description of a single piece of information that can be gathered and reported. - + - If true, then conformant systems may use additional codes or (where the data type permits) text alone to convey concepts not covered by the set of codes identified in the binding. If false, then conformant systems are constrained to the provided codes alone. + The name of an individual to contact regarding the data element. - + - Indicates the degree of conformance expectations associated with this binding. - - - - - Describes the intended use of this particular set of codes. - - - - - Points to the value set that identifies the set of codes to be used. + Contact details for individual (if a name was provided) or the publisher. @@ -9252,14 +10613,14 @@ P.O. Box number, delivery hints, and similar address information. - + - A URI that identifies the specification that this mapping is expressed to. + An Internal id that is used to identify this mapping set when specific mappings are made on a per-element basis. - + - If true, indicates that the official meaning of the data element is exactly equivalent to the mapped element. + An absolute URI that identifies the specification that this mapping is expressed to. @@ -9272,16 +10633,11 @@ P.O. Box number, delivery hints, and similar address information.Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage. - - - Expresses what part of the target specification corresponds to this element. - - - + @@ -9315,44 +10671,14 @@ P.O. Box number, delivery hints, and similar address information. - + Indicates the degree of precision of the data element definition If the element is present, it must have either a @value, an @id, or extensions - - - - - - - - - This data element is still under development. - - - - - This data element is ready for normal use. - - - - - This data element has been deprecated, withdrawn or superseded and should no longer be used. - - - - - - - The lifecycle status of a Resource data element - If the element is present, it must have either a @value, an @id, or extensions - - - - + @@ -9612,7 +10938,7 @@ P.O. Box number, delivery hints, and similar address information.If the element is present, it must have either a @value, an @id, or extensions - + @@ -9641,17 +10967,12 @@ It should be noted that in order to make the identifier unique, the system eleme An example would be a DeviceComponent that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location. - + Indicates current operational state of the device. For example: On, Off, Standby, etc. - - - Describes the physical principle of the measurement. For example: thermal, chemical, acoustical, etc. - - - + Describes the typical color of the representation of observations that have been generated for this DeviceMetric. @@ -9668,7 +10989,7 @@ necessarily the same as the update period. - + Describes the calibrations that have been performed or that are required to be performed. @@ -9677,7 +10998,7 @@ period. - + Describes a measurement, calculation or setting capability of a medical device. @@ -9703,6 +11024,61 @@ period. + + + + + Color for representation - black. + + + + + Color for representation - red. + + + + + Color for representation - green. + + + + + Color for representation - yellow. + + + + + Color for representation - blue. + + + + + Color for representation - magenta. + + + + + Color for representation - cyan. + + + + + Color for representation - white. + + + + + + + Describes the typical color of representation + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + @@ -9808,7 +11184,7 @@ period. - + @@ -9827,35 +11203,37 @@ period. - + Describes the operational status of the DeviceMetric If the element is present, it must have either a @value, an @id, or extensions - + - Represents a request for the use of a device. + Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker. - Represents a request for the use of a device. + Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker. If the element is present, it must have either a @value, an @id, or extensions - + - Body site where the device is to be used. - - + Indicates the site on the subject's body where the device should be used ( i.e. the target site). + + + + The status of the request. @@ -10036,11 +11414,13 @@ period. - + - Body site where the device was used. - - + Indicates the site on the subject's body where the device was used ( i.e. the target site). + + + + The time period over which the device was used. @@ -10090,12 +11470,12 @@ period. - A request for a diagnostic investigation service to be performed. + A record of a request for a diagnostic investigation service to be performed. - A request for a diagnostic investigation service to be performed. + A record of a request for a diagnostic investigation service to be performed. If the element is present, it must have either a @value, an @id, or extensions @@ -10162,7 +11542,7 @@ period. - A request for a diagnostic investigation service to be performed. + A record of a request for a diagnostic investigation service to be performed. @@ -10193,7 +11573,7 @@ period. - A request for a diagnostic investigation service to be performed. + A record of a request for a diagnostic investigation service to be performed. @@ -10210,7 +11590,7 @@ period. - Anatomical location where the request test should be performed. + Anatomical location where the request test should be performed. This is the target site. @@ -10231,6 +11611,21 @@ period. + + + The request has been proposed. + + + + + the request is in preliminary form prior to being sent. + + + + + The request has been planned. + + The request has been placed. @@ -10261,6 +11656,11 @@ period. The work has been complete, the report(s) released, and no further work is planned. + + + the request has been withdrawn. + + The request has been held by originating system/user request. @@ -10367,7 +11767,7 @@ period. The link to the health care event (encounter) when the order was made. - + The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider. @@ -10471,11 +11871,6 @@ period. The report has been modified subsequent to being Final, and is complete and verified by an authorized person. - - - The report has been modified subsequent to being Final, and is complete and verified by an authorized person, and data has been changed. - - The report has been modified subsequent to being Final, and is complete and verified by an authorized person. New content has been added, but existing content hasn't changed. @@ -10524,7 +11919,7 @@ period. - Other identifiers associated with the document, including version independent, source record and workflow related identifiers. + Other identifiers associated with the document manifest, including version independent identifiers. @@ -10562,26 +11957,42 @@ period. The status of this document manifest. - - - Whether this document manifest replaces another. - - Human-readable description of the source document. This is sometimes known as the "title". - - - A code specifying the level of confidentiality of this set of Documents. - - The list of resources that describe the parts of this document reference. Usually, these would be document references, but direct references to binary attachments and images are also allowed. + + + Related identifiers or resources associated with the DocumentManifest. + + + + + + + + + A manifest that defines a set of documents. + + + + + + + Related identifier to this DocumentManifest. If both id and ref are present they shall refer to the same thing. + + + + + Related Resource to this DocumentManifest. If both id and ref are present they shall refer to the same thing. + + @@ -10606,7 +12017,7 @@ period. - Other identifiers associated with the document, including version independent, source record and workflow related identifiers. + Other identifiers associated with the document, including version independent identifiers. @@ -10639,11 +12050,6 @@ period. Identifies the organization or group who is responsible for ongoing maintenance of and access to the document. - - - A reference to a domain or server that manages policies under which the document is accessed and/or made available. - - Which person or organization authenticates that this document is valid. @@ -10741,6 +12147,42 @@ period. The kind of facility where the patient was seen. + + + This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty. + + + + + The Patient Information as known when the document was published. May be a reference to a version specific, or contained. + + + + + Related identifiers or resources associated with the DocumentReference. + + + + + + + + + A reference to a document. + + + + + + + Related identifier to this DocumentReference. If both id and ref are present they shall refer to the same thing. + + + + + Related Resource to this DocumentReference. If both id and ref are present they shall refer to the same thing. + + @@ -10947,6 +12389,11 @@ period. Where a specific encounter should be classified as a part of a specific episode of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as govt reporting, or issue tracking. + + + The referral request that this encounter is satisfies (incoming referral). + + The main practitioner responsible for providing the service. @@ -10967,14 +12414,15 @@ period. Quantity of time the encounter lasted. This excludes the time during leaves of absence. - + Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis. - Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. + Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. +The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure. @@ -10994,7 +12442,7 @@ period. - Department or team providing care. + An organization that is in charge of maintaining the information of this Encounter (e.g., who maintains the report or the master service catalog item, etc.). This MAY be the same as the organization on the Patient record, however it could be different. This MAY not be not the Service Delivery Location's Organization. @@ -11535,134 +12983,6 @@ period. - - - Defines an extension that can be used in resources. - - - - - Defines an extension that can be used in resources. - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - The URL at which this definition is (or will be) published, and which is used to reference this profile in extension urls in operational FHIR systems. - - - - - Formal identifier that is used to identify this profile when it is represented in other formats (e.g. ISO 11179(, or referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI), (if it's not possible to use the literal URI). - - - - - A free text natural language name identifying the extension. - - - - - Defined so that applications can use this name when displaying the value of the extension to the user. - - - - - Details of the individual or organization who accepts responsibility for publishing the extension definition. - - - - - Contact details to assist a user in finding and communicating with the publisher. - - - - - A free text natural language description of the extension and its use. - - - - - A set of terms from external terminologies that may be used to assist with indexing and searching of extension definitions. - - - - - The status of the extension. - - - - - This extension definition was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. - - - - - The date that this version of the extension was published. - - - - - The Scope and Usage that this extension was created to meet. - - - - - An external specification that the content is mapped to. - - - - - Identifies the type of context to which the extension applies. - - - - - Identifies the types of resource or data type elements to which the extension can be applied. - - - - - Definition of the elements that are defined to be in the extension. - - - - - - - - - Defines an extension that can be used in resources. - - - - - - - An Internal id that is used to identify this mapping set when specific mappings are made. - - - - - A URI that identifies the specification that this mapping is expressed to. - - - - - A name for the specification that is being mapped to. - - - - - Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage. - - - - - - Significant health events and conditions for people related to the subject relevant in the context of care for the subject. @@ -11798,12 +13118,12 @@ period. - Describes the intended objective(s) of the care. + Describes the intended objective(s) of patient care, for example, weight loss, restoring an activity of daily living, etc. - Describes the intended objective(s) of the care. + Describes the intended objective(s) of patient care, for example, weight loss, restoring an activity of daily living, etc. If the element is present, it must have either a @value, an @id, or extensions @@ -12421,12 +13741,12 @@ period. - Date and Time the study started. + Date and Time the study started. Timezone Offset From UTC. - The patient for whom the images are of. + The patient imaged in the study. @@ -12466,7 +13786,7 @@ period. - WADO-RS URI where Study is available. + WADO-RS resource where Study is available. @@ -12496,7 +13816,7 @@ period. - Institution-generated description or classification of the Study (component) performed. + Institution-generated description or classification of the Study performed. @@ -12537,7 +13857,7 @@ period. - Sequence that contains attributes from the. + Number of SOP Instances in Series. @@ -12547,7 +13867,7 @@ period. - WADO-RS URI where Series is available. + WADO-RS resource where the Series is available. @@ -12555,14 +13875,19 @@ period. Body part examined. See DICOM Part 16 Annex L for the mapping from DICOM to Snomed. + + + Laterality if bodySite is paired anatomic structure and laterality is not pre-coordinated in bodySite code, map from (0020, 0060). + + - The date when the series was started. + The date and time when the series was started. - A single image taken from a patient. + A single SOP Instance within the series, e.g., an image, or presentation state. @@ -12593,7 +13918,7 @@ period. - The type of the instance. + A human-friendly SOP Class name. @@ -12601,14 +13926,9 @@ period. The description of the instance. - + - WADO-RS url where image is available. - - - - - A FHIR resource with content for this instance. + Content of the instance or a rendering thereof (e.g., a JPEG of an image, or an XML of a structured report). May be represented by inline encoding, or by a URL reference to a WADO-RS service that makes the instance available. Multiple content attachments may be used for alternate representations of the instance. @@ -13470,459 +14790,6 @@ period. - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number. - - - - - The version of the specification on which this instance relies. - - - - - The version of the specification from which the original instance was created. - - - - - The date when the enclosed suite of services were performed or completed. - - - - - Insurer Identifier, typical BIN number (6 digit). - - - - - The provider which is responsible for the bill, claim pre-determination, pre-authorization. - - - - - The organization which is responsible for the bill, claim pre-determination, pre-authorization. - - - - - Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination). - - - - - Immediate (STAT), best effort (NORMAL), deferred (DEFER). - - - - - In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested. - - - - - Person who created the invoice/claim/pre-determination or pre-authorization. - - - - - Facility where the services were provided. - - - - - The party to be reimbursed for the services. - - - - - The referral resource which lists the date, practitioner, reason and other supporting information. - - - - - Ordered list of patient diagnosis for which care is sought. - - - - - List of patient conditions for which care is sought. - - - - - Patient Resource. - - - - - Financial instrument by which payment information for health care. - - - - - Factors which may influence the applicability of coverage. - - - - - Name of school for over-aged dependants. - - - - - Date of an accident which these services are addressing. - - - - - Type of accident: work, auto, etc. - - - - - A list of intervention and exception codes which may influence the adjudication of the claim. - - - - - First tier of goods and services. - - - - - Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - Party to be reimbursed: Subscriber, provider, other. - - - - - The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - Sequence of diagnosis. - - - - - The diagnosis. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line item. - - - - - The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated. - - - - - Reference to the program or plan identification, underwriter or payor. - - - - - The contract number of a business agreement which describes the terms and conditions. - - - - - The relationship of the patient to the subscriber. - - - - - A list of references from the Insurer to which these services pertain. - - - - - The Coverages adjudication details. - - - - - The style (standard) and version of the original material which was converted into this resource. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line number. - - - - - The type of product or service. - - - - - The practitioner who is responsible for the services rendered to the patient. - - - - - Diagnosis applicable for this service or product line. - - - - - If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Institutional Service or Product supplied. - - - - - The date when the enclosed suite of services were performed or completed. - - - - - The number of repetitions of a service or product. - - - - - If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. - - - - - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - - - - - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - - - - - The quantity times the unit price for an additional service or product or charge. 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. - - - - - List of Unique Device Identifiers associated with this line item. - - - - - Physical service site on the patient (limb, tooth, etc). - - - - - A region or surface of the site, eg. limb region or tooth surface(s). - - - - - Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. - - - - - Second tier of goods and services. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line number. - - - - - The type of product or service. - - - - - If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Institutional Service or Product supplied. - - - - - The number of repetitions of a service or product. - - - - - If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. - - - - - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - - - - - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - - - - - The quantity times the unit price for an additional service or product or charge. 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. - - - - - List of Unique Device Identifiers associated with this line item. - - - - - Third tier of goods and services. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line number. - - - - - The type of product or service. - - - - - The fee for an additional service or product or charge. - - - - - The number of repetitions of a service or product. - - - - - The fee for an additional service or product or charge. - - - - - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - - - - - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - - - - - The quantity times the unit price for an additional service or product or charge. 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. - - - - - List of Unique Device Identifiers associated with this line item. - - - - - - A set of information summarized from a list of other resources. @@ -13961,9 +14828,9 @@ period. The date that the list was prepared. - + - Whether items in the list have a meaningful order. + What order applies to the items in the list. @@ -14096,7 +14963,7 @@ period. - The absolute geographic location of the Location, expressed in a KML compatible manner (see notes below for KML). + The absolute geographic location of the Location, expressed in with the WGS84 datum (This is the same co-ordinate system used in KML). @@ -14217,7 +15084,7 @@ period. - + Whether the media is a photo (still image), an audio recording, or a video recording. @@ -14232,11 +15099,6 @@ period. Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers. - - - The date/time when the media was originally recorded. For video and audio, if the length of the recording is not insignificant, this is the start of the recording. - - Who/What this Media is a record of. @@ -14286,7 +15148,7 @@ period. - + @@ -14305,14 +15167,14 @@ period. - + Whether the Media is a photo, video, or audio If the element is present, it must have either a @value, an @id, or extensions - + @@ -15532,7 +16394,7 @@ period. - Indicates the purpose for the namingsystem - what kinds of things does it make unique?. + Indicates the purpose for the namingsystem - what kinds of things does it make unique? @@ -15540,7 +16402,12 @@ period. The descriptive name of this particular identifier type or code system. - + + + The date (and optionally time) when the system was registered or published. + + + Indicates whether the namingsystem is "ready for use" or not. @@ -15575,9 +16442,14 @@ period. Indicates how the system may be identified when referenced in electronic exchange. - + - The person who can be contacted about this system registration entry. + The name of the individual or organization that published the naming system. + + + + + Contacts to assist a user in finding and communicating with the publisher. @@ -15627,50 +16499,20 @@ period. - + - Names of the person who can be contacted. + The name of an individual to contact regarding the naming system. - Identifies the mechanism(s) by which they can be contacted. + Contact details for individual (if a name was provided) or the publisher. - - - - - System has been submitted but not yet approved. - - - - - System is valid for use. - - - - - System should no longer be used. - - - - - - - Indicates whether the namingsystem should be used - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - @@ -15774,9 +16616,14 @@ period. The date and time that this nutrition order was requested. + + + The workflow status of the nutrition order/request. + + - The ability to list substances that may cause allergies or intolerances which should be included in the nutrition order. + A link to a record of allergies or Intolerances which should be included in the nutrition order. @@ -15791,22 +16638,17 @@ period. - Class that defines the components of an oral diet order for the patient. + Diet given orally in contrast to enteral (tube) feeding. - Class that defines the components of a supplement order for the patient. + Oral nutritional products given in order to add further nutritional value to the patient's diet. - Class that defines the components of an enteral formula order for the patient. - - - - - The workflow status of the nutrition order request, e.g., Active, Inactive, Pending, Held, Canceled, Suspended. + Feeding provided through the gastrointestinal tract via a tube, catheter, or stoma that delivers nutrition distal to the oral cavity. @@ -15822,7 +16664,7 @@ period. - Indicates the type of oral diet or diet restrictions that describe what can be consumed orally (i.e., take via the mouth). + The kind of diet or dietary restriction such as fiber restricted diet or diabetic diet. @@ -15830,9 +16672,9 @@ period. The time period and frequency at which the diet should be given. - + - Class that defines the details of any nutrient modifications required for the oral diet. + Class that defines the quantity and type of nutrient modifications required for the oral diet. @@ -15842,19 +16684,19 @@ period. - Identifies the required consistency (e.g., honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient. + The required consistency (e.g., honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient. - Additional instructions or information pertaining to the oral diet. + Free text or additional instructions or information pertaining to the oral diet. - + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. @@ -15863,7 +16705,7 @@ period. - Identifies the type of nutrient that is being modified such as carbohydrate or sodium. + The nutrient that is being modified such as carbohydrate or sodium. @@ -15884,12 +16726,12 @@ period. - Identifies any texture modifications (for solid foods) that should be made, e.g. easy to chew, chopped, ground, and pureed. + Any texture modifications (for solid foods) that should be made, e.g. easy to chew, chopped, ground, and pureed. - Indicates what specific type of food (e.g., meats) the texture modification applies to or may apply to all foods in the diet. + The food type(s) (e.g., meats, all foods) that the texture modification applies to. This could be all foods types. @@ -15905,12 +16747,12 @@ period. - Indicates the type of nutritional supplement product required such as high protein or pediatric clear liquid supplement. + The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement. - The product or brand name of the nutritional supplement product to be provided to the patient. + The product or brand name of the nutritional supplement such as "Acme Protein Shake". @@ -15920,7 +16762,12 @@ period. - The amount of the nutritional supplement product to provide to the patient. + The amount of the nutritional supplement to be given. + + + + + Free text or additional instructions or information pertaining to the oral supplement. @@ -15936,17 +16783,17 @@ period. - Free text formula administration or feeding instructions for cases where the instructions are too complex to code. + Free text formula administration, feeding instructions or additional instructions or information. - Indicates the type of enteral or infant formula requested such as an adult standard formula with fiber or a soy-based infant formula. + The type of enteral or infant formula such as an adult standard formula with fiber or a soy-based infant formula. - The product or brand name of the enteral or infant formula product to be provided to the patient. + The product or brand name of the enteral or infant formula product such as "ACME Adult Standard Formula". @@ -15971,7 +16818,7 @@ period. - A coded concept specifying the route or physiological path of administration into the patient 's gastrointestinal tract for purposes of providing the formula feeding, e.g., nasogastric tube. + The route or physiological path of administration into the patient 's gastrointestinal tract for purposes of providing the formula feeding, e.g., nasogastric tube. @@ -15981,12 +16828,12 @@ period. - Identifies the speed with which the formula is introduced into the subject via a feeding pump, e.g., 60 mL per hour, according to the specified schedule. + The rate of administration of formula via a feeding pump, e.g., 60 mL per hour, according to the specified schedule. - The change in the administration rate over a given time, e.g. increase by 10 mL/hour every 4 hours. + The change in the rate of administration over a given time, e.g. increase by 10 mL/hour every 4 hours. @@ -16000,36 +16847,51 @@ period. + + + The request has been proposed. + + + + + The request is in preliminary form prior to being sent. + + + + + The request has been planned. + + - TODO. + The request has been placed. - TODO. + The request is 'actionable', but not all actions that are implied by it have occurred yet. - + - TODO. + Actions implied by the request have been temporarily halted, but are expected to continue later. May also be called "suspended". - + - TODO. + All actions that are implied by the order have occurred and no continuation is planned (this will rarely be made explicit). - TODO. + The request has been withdrawn and is no longer actionable. - TODO + Codes specifying the state of the request. Describes the lifecycle of the nutrition order. If the element is present, it must have either a @value, an @id, or extensions @@ -16051,7 +16913,7 @@ period. - + Describes what was observed. Sometimes this is called the observation "code". @@ -16062,15 +16924,16 @@ period. - + + + + + - - - - + Provides a reason why the expected value in the element Observation.value[x] is missing. @@ -16119,7 +16982,7 @@ period. Indicates the mechanism used to perform the observation. - + A unique identifier for the simple observation. @@ -16173,12 +17036,12 @@ other observer (for example a relative or EMT), or any observation made about th - The value of the low bound of the reference range. If this is omitted, the low bound of the reference range is assumed to be meaningless. E.g. <2.3. + The value of the low bound of the reference range. If this element is omitted, the low bound of the reference range is assumed to be meaningless. (e.g. reference range is <2.3) If the low.comparator element is missing, it is assumed to be '>'. - The value of the high bound of the reference range. If this is omitted, the high bound of the reference range is assumed to be meaningless. E.g. >5. + The value of the high bound of the reference range. If this element is omitted, the high bound of the reference range is assumed to be meaningless. (e.g. reference range is > 5) If the low.comparator element is missing , it is assumed to be '<'. @@ -16303,6 +17166,11 @@ other observer (for example a relative or EMT), or any observation made about th The observation has been withdrawn following previous Final release. + + + The observation status is unknown. Note that "unknown" is a value of last resort and every attempt should be made to provide a meaningful value other than "unknown". + + @@ -16379,9 +17247,9 @@ other observer (for example a relative or EMT), or any observation made about th - + - The identifier that is used to identify this operation definition when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI). + An absolute url that is used to identify this operation definition when it is referenced in a specification, model, design or an instance (should be globally unique uri). @@ -16389,19 +17257,19 @@ other observer (for example a relative or EMT), or any observation made about th The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. - + A free text natural language name identifying the Profile. - Details of the individual or organization who accepts responsibility for publishing the profile. + The name of the individual or organization that published the operation definition. - + - Contact details to assist a user in finding and communicating with the publisher. + Contacts to assist a user in finding and communicating with the publisher. @@ -16409,12 +17277,12 @@ other observer (for example a relative or EMT), or any observation made about th A free text natural language description of the profile and its use. - + - A set of terms from external terminologies that may be used to assist with indexing and searching of templates. + Explains why this operation definition is needed and why it's been constrained as it has. - + The status of the profile. @@ -16434,7 +17302,7 @@ other observer (for example a relative or EMT), or any observation made about th Whether this is operation or named query. - + The name used to invoke the operation. @@ -16473,6 +17341,27 @@ other observer (for example a relative or EMT), or any observation made about th + + + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). + + + + + + + The name of an individual to contact regarding the operation definition. + + + + + Contact details for individual (if a name was provided) or the publisher. + + + + + + A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction). @@ -16649,14 +17538,14 @@ other observer (for example a relative or EMT), or any observation made about th Indicates whether the issue indicates a variation from successful processing. - + - A code indicating the type of error, warning or information message. + Describes the type of the issue. - Additional description of the issue. + Additional diagnostic information about the issue. Typically, this may be a description of how a value is erroneous, or a stck dump to help trace the issue. @@ -16703,572 +17592,6 @@ other observer (for example a relative or EMT), or any observation made about th - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number. - - - - - The version of the specification on which this instance relies. - - - - - The version of the specification from which the original instance was created. - - - - - The date when the enclosed suite of services were performed or completed. - - - - - Insurer Identifier, typical BIN number (6 digit). - - - - - The provider which is responsible for the bill, claim pre-determination, pre-authorization. - - - - - The organization which is responsible for the bill, claim pre-determination, pre-authorization. - - - - - Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination). - - - - - Immediate (STAT), best effort (NORMAL), deferred (DEFER). - - - - - In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested. - - - - - Person who created the invoice/claim/pre-determination or pre-authorization. - - - - - Facility where the services were provided. - - - - - The party to be reimbursed for the services. - - - - - The referral resource which lists the date, practitioner, reason and other supporting information. - - - - - Ordered list of patient diagnosis for which care is sought. - - - - - List of patient conditions for which care is sought. - - - - - Patient Resource. - - - - - Financial instrument by which payment information for health care. - - - - - Factors which may influence the applicability of coverage. - - - - - Name of school for over-aged dependants. - - - - - Date of an accident which these services are addressing. - - - - - Type of accident: work, auto, etc. - - - - - A list of intervention and exception codes which may influence the adjudication of the claim. - - - - - A list of teeth which would be expected but are not found due to having been previously extracted or for other reasons. - - - - - The high-level details of an Orthodontic Treatment Plan. - - - - - First tier of goods and services. - - - - - Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - Party to be reimbursed: Subscriber, provider, other. - - - - - The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - Sequence of diagnosis. - - - - - The diagnosis. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line item. - - - - - The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated. - - - - - Reference to the program or plan identification, underwriter or payor. - - - - - The contract number of a business agreement which describes the terms and conditions. - - - - - The relationship of the patient to the subscriber. - - - - - A list of references from the Insurer to which these services pertain. - - - - - The Coverages adjudication details. - - - - - The style (standard) and version of the original material which was converted into this resource. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - The code identifying which tooth is missing. - - - - - Missing reason may be: E-extraction, O-other. - - - - - The date of the extraction either known from records or patient reported estimate. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - The intended start date for service. - - - - - The estimated first examination fee. - - - - - The estimated diagnostic fee. - - - - - The estimated initial payment. - - - - - The estimated treatment duration in months. - - - - - The anticipated number of payments. - - - - - The anticipated payment amount. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line number. - - - - - The type of product or service. - - - - - The practitioner who is responsible for the services rendered to the patient. - - - - - Diagnosis applicable for this service or product line. - - - - - If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. - - - - - The date when the enclosed suite of services were performed or completed. - - - - - The number of repetitions of a service or product. - - - - - If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. - - - - - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - - - - - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - - - - - The quantity times the unit price for an addittional service or product or charge. 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. - - - - - List of Unique Device Identifiers associated with this line item. - - - - - Physical service site on the patient (limb, tooth, etc). - - - - - A region or surface of the site, eg. limb region or tooth surface(s). - - - - - Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. - - - - - Second tier of goods and services. - - - - - The materials and placement date of prior fixed prosthesis. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line number. - - - - - The type of product or service. - - - - - If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. - - - - - The number of repetitions of a service or product. - - - - - If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. - - - - - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - - - - - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - - - - - The quantity times the unit price for an addittional service or product or charge. 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. - - - - - List of Unique Device Identifiers associated with this line item. - - - - - Third tier of goods and services. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line number. - - - - - The type of product or service. - - - - - The fee for an addittional service or product or charge. - - - - - The number of repetitions of a service or product. - - - - - The fee for an addittional service or product or charge. - - - - - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - - - - - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - - - - - The quantity times the unit price for an addittional service or product or charge. 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. - - - - - List of Unique Device Identifiers associated with this line item. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - Indicates whether this is the initial placement of a fixed prosthesis. - - - - - Date of the initial placement. - - - - - Material of the prior denture or bridge prosthesis. (Oral). - - - - - - A request to perform an action. @@ -17394,7 +17717,7 @@ other observer (for example a relative or EMT), or any observation made about th - + What this response says about the status of the original order. @@ -17413,7 +17736,7 @@ other observer (for example a relative or EMT), or any observation made about th - + @@ -17455,21 +17778,21 @@ other observer (for example a relative or EMT), or any observation made about th Processing the order was stopped because of some workflow/business logic reason. - + The order has been completed. - + The status of the response to an order If the element is present, it must have either a @value, an @id, or extensions - + @@ -17562,11 +17885,6 @@ other observer (for example a relative or EMT), or any observation made about th Visiting or postal addresses for the contact. - - - Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. - - @@ -17615,12 +17933,12 @@ other observer (for example a relative or EMT), or any observation made about th - Demographics and other administrative information about a person or animal receiving care or other health-related services. + Demographics and other administrative information about an individual or animal receiving care or other health-related services. - Demographics and other administrative information about a person or animal receiving care or other health-related services. + Demographics and other administrative information about an individual or animal receiving care or other health-related services. If the element is present, it must have either a @value, an @id, or extensions @@ -17628,7 +17946,7 @@ other observer (for example a relative or EMT), or any observation made about th - An identifier that applies to this person as a patient. + An identifier for this patient. @@ -17648,7 +17966,7 @@ other observer (for example a relative or EMT), or any observation made about th - The date and time of birth for the individual. + The date of birth for the individual. @@ -17677,7 +17995,7 @@ other observer (for example a relative or EMT), or any observation made about th - Image of the person. + Image of the patient. @@ -17690,7 +18008,7 @@ other observer (for example a relative or EMT), or any observation made about th This element has a value if the patient is an animal. - + Languages which may be used to communicate with the patient about his or her health. @@ -17707,7 +18025,7 @@ other observer (for example a relative or EMT), or any observation made about th - Link to another patient resource that concerns the same actual person. + Link to another patient resource that concerns the same actual patient. @@ -17721,7 +18039,7 @@ other observer (for example a relative or EMT), or any observation made about th - Demographics and other administrative information about a person or animal receiving care or other health-related services. + Demographics and other administrative information about an individual or animal receiving care or other health-related services. @@ -17733,7 +18051,7 @@ other observer (for example a relative or EMT), or any observation made about th - A name associated with the person. + A name associated with the contact person. @@ -17748,7 +18066,7 @@ other observer (for example a relative or EMT), or any observation made about th - Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. + Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes. @@ -17758,7 +18076,7 @@ other observer (for example a relative or EMT), or any observation made about th - The period during which this person or organization is valid to be contacted relating to this patient. + The period during which this contact person or organization is valid to be contacted relating to this patient. @@ -17767,14 +18085,14 @@ other observer (for example a relative or EMT), or any observation made about th - Demographics and other administrative information about a person or animal receiving care or other health-related services. + Demographics and other administrative information about an individual or animal receiving care or other health-related services. - Identifies the high level categorization of the kind of animal. + Identifies the high level taxonomic categorization of the kind of animal. @@ -17791,9 +18109,30 @@ other observer (for example a relative or EMT), or any observation made about th + + + Demographics and other administrative information about an individual or animal receiving care or other health-related services. + + + + + + + The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case. E.g. "en" for English, or "en-US" for American English versus "en-EN" for England English. + + + + + Indicates whether or not the Patient prefers this language (over other languages he masters up a certain level). + + + + + + - Demographics and other administrative information about a person or animal receiving care or other health-related services. + Demographics and other administrative information about an individual or animal receiving care or other health-related services. @@ -18068,78 +18407,6 @@ other observer (for example a relative or EMT), or any observation made about th - - - This resource provides the request and response details for the resource for which the status is to be checked. - - - - - This resource provides the request and response details for the resource for which the status is to be checked. - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - The Response Business Identifier. - - - - - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - - - - - The style (standard) and version of the original material which was converted into this resource. - - - - - The date when this resource was created. - - - - - The Insurer who is target of the request. - - - - - The practitioner who is responsible for the services rendered to the patient. - - - - - The organization which is responsible for the services rendered to the patient. - - - - - Reference of resource to reverse. - - - - - Names of resource types to include. - - - - - Names of resource types to exclude. - - - - - A period of time during which the fulfilling resources would have been created. - - - - - - Demographics and administrative information about a person independent of a specific health-related context. @@ -18200,7 +18467,7 @@ other observer (for example a relative or EMT), or any observation made about th - Link to a resource that converns the same actual person. + Link to a resource that concerns the same actual person. @@ -18214,14 +18481,14 @@ other observer (for example a relative or EMT), or any observation made about th - + The resource to which this actual person is associated. - Level of assurance that this link is actually associated with the referenced record. + Level of assurance that this link is actually associated with the target resource. @@ -18263,469 +18530,6 @@ other observer (for example a relative or EMT), or any observation made about th - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number. - - - - - The version of the specification on which this instance relies. - - - - - The version of the specification from which the original instance was created. - - - - - The date when the enclosed suite of services were performed or completed. - - - - - Insurer Identifier, typical BIN number (6 digit). - - - - - The provider which is responsible for the bill, claim pre-determination, pre-authorization. - - - - - The organization which is responsible for the bill, claim pre-determination, pre-authorization. - - - - - Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination). - - - - - Immediate (STAT), best effort (NORMAL), deferred (DEFER). - - - - - In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested. - - - - - Person who created the invoice/claim/pre-determination or pre-authorization. - - - - - Facility where the services were provided. - - - - - Prescription to support the dispensing of pharmacy services, medications or products. - - - - - Original prescription to support the dispensing of pharmacy services, medications or products. - - - - - The party to be reimbursed for the services. - - - - - The referral resource which lists the date, practitioner, reason and other supporting information. - - - - - Ordered list of patient diagnosis for which care is sought. - - - - - List of patient conditions for which care is sought. - - - - - Patient Resource. - - - - - Financial instrument by which payment information for health care. - - - - - Factors which may influence the applicability of coverage. - - - - - Name of school for over-aged dependants. - - - - - Date of an accident which these services are addressing. - - - - - Type of accident: work, auto, etc. - - - - - A list of intervention and exception codes which may influence the adjudication of the claim. - - - - - First tier of goods and services. - - - - - Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - Party to be reimbursed: Subscriber, provider, other. - - - - - The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - Sequence of diagnosis. - - - - - The diagnosis. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line item. - - - - - The instance number of the Coverage which is the focus for adjudication. The Coverage to against which the claim is to be adjudicated. - - - - - Reference to the program or plan identification, underwriter or payor. - - - - - The contract number of a business agreement which describes the terms and conditions. - - - - - The relationship of the patient to the subscriber. - - - - - A list of references from the Insurer to which these services pertain. - - - - - The Coverages adjudication details. - - - - - The style (standard) and version of the original material which was converted into this resource. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line number. - - - - - The type of product or service. - - - - - The practitioner who is responsible for the services rendered to the patient. - - - - - Diagnosis applicable for this service or product line. - - - - - If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. - - - - - The date when the enclosed suite of services were performed or completed. - - - - - The number of repetitions of a service or product. - - - - - If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. - - - - - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - - - - - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - - - - - The quantity times the unit price for an additional service or product or charge. 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. - - - - - List of Unique Device Identifiers associated with this line item. - - - - - Physical service site on the patient (limb, tooth, etc). - - - - - A region or surface of the site, eg. limb region or tooth surface(s). - - - - - Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. - - - - - Second tier of goods and services. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line number. - - - - - The type of product or service. - - - - - If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. - - - - - The number of repetitions of a service or product. - - - - - If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. - - - - - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - - - - - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - - - - - The quantity times the unit price for an additional service or product or charge. 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. - - - - - List of Unique Device Identifiers associated with this line item. - - - - - Third tier of goods and services. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line number. - - - - - The type of product or service. - - - - - The fee for an additional service or product or charge. - - - - - The number of repetitions of a service or product. - - - - - The fee for an additional service or product or charge. - - - - - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - - - - - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - - - - - The quantity times the unit price for an additional service or product or charge. 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. - - - - - List of Unique Device Identifiers associated with this line item. - - - - - - A person who is directly or indirectly involved in the provisioning of healthcare. @@ -18764,9 +18568,9 @@ other observer (for example a relative or EMT), or any observation made about th Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes. - + - The date and time of birth for the practitioner. + The date of birth for the practitioner. @@ -18774,12 +18578,38 @@ other observer (for example a relative or EMT), or any observation made about th Image of the person. - + - The organization that the practitioner represents. + The list of Roles/Organizations that the Practitioner is associated with. - + + + Qualifications obtained by training and certification. + + + + + A language the practitioner is able to use in patient communication. + + + + + + + + + A person who is directly or indirectly involved in the provisioning of healthcare. + + + + + + + The Organization where the Practitioner performs the roles associated. + + + Roles which this practitioner is authorized to perform for the organization. @@ -18799,14 +18629,9 @@ other observer (for example a relative or EMT), or any observation made about th The location(s) at which this practitioner provides care. - + - Qualifications obtained by training and certification. - - - - - A language the practitioner is able to use in patient communication. + The list of healthcare services that this worker provides for this role's Organization/Location(s). @@ -18867,6 +18692,16 @@ other observer (for example a relative or EMT), or any observation made about th The person on whom the procedure was performed. + + + A code specifying the state of the procedure record. Generally this will be in-progress or completed state. + + + + + A code that classifies the procedure for searching, sorting and display purposes. + + The specific procedure that is performed. Use text if the exact nature of the procedure can't be coded. @@ -18887,19 +18722,26 @@ other observer (for example a relative or EMT), or any observation made about th Limited to 'real' people rather than equipment. - + - The dates over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured. - - + The date(time)/period over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured. + + + + The encounter during which the procedure was performed. - + - What was the outcome of the procedure - did it resolve reasons why the procedure was performed?. + The location where the procedure actually happened. e.g. a newborn at home, a tracheostomy at a restaurant. + + + + + What was the outcome of the procedure - did it resolve reasons why the procedure was performed? @@ -18912,7 +18754,7 @@ other observer (for example a relative or EMT), or any observation made about th Any complications that occurred during the procedure, or in the immediate post-operative period. These are generally tracked separately from the notes, which typically will describe the procedure itself rather than any 'post procedure' issues. - + If the procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or potentially could be more complex in which case the CarePlan resource can be used. @@ -18927,6 +18769,11 @@ other observer (for example a relative or EMT), or any observation made about th Any other notes about the procedure - e.g. the operative notes. + + + A device change during the procedure. + + @@ -18973,6 +18820,27 @@ other observer (for example a relative or EMT), or any observation made about th + + + An action that is performed on a patient. This can be a physical 'thing' like an operation, or less invasive like counseling or hypnotherapy. + + + + + + + The kind of change that happened to the device during the procedure. + + + + + The device that was manipulated (changed) during the procedure. + + + + + + @@ -18998,6 +18866,41 @@ other observer (for example a relative or EMT), or any observation made about th + + + + + The procedure is still occurring. + + + + + The procedure was terminated without completing successfully. + + + + + All actions involved in the procedure have taken place. + + + + + The statement was entered in error and Is not valid. + + + + + + + A code specifying the state of the procedure record + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + A request for a procedure to be performed. May be a proposal or an order. @@ -19026,11 +18929,13 @@ other observer (for example a relative or EMT), or any observation made about th The specific procedure that is ordered. Use text if the exact nature of the procedure can't be coded. - + - The site where the procedure is to be performed. - - + Indicates the site on the subject's body where the procedure should be performed ( i.e. the target site). + + + + The reason why the procedure is proposed or ordered. This procedure request may be motivated by a Condition for instance. @@ -19132,9 +19037,9 @@ other observer (for example a relative or EMT), or any observation made about th The request has been proposed. - + - The request has been planned. + The request is in preliminary form, prior to being requested. @@ -19190,240 +19095,32 @@ other observer (for example a relative or EMT), or any observation made about th - + - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources. - + - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources. If the element is present, it must have either a @value, an @id, or extensions + + + The type of procesing action being requested, for example Reversal, Readjudication, StatusRequest,PendedRequest. + + - The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number. + The ProcessRequest Business Identifier. - The version of the specification on which this instance relies. - - - - - The version of the specification from which the original instance was created. - - - - - The date when the enclosed suite of services were performed or completed. - - - - - Insurer Identifier, typical BIN number (6 digit). - - - - - The provider which is responsible for the bill, claim pre-determination, pre-authorization. - - - - - The organization which is responsible for the bill, claim pre-determination, pre-authorization. - - - - - Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination). - - - - - Immediate (STAT), best effort (NORMAL), deferred (DEFER). - - - - - In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested. - - - - - Person who created the invoice/claim/pre-determination or pre-authorization. - - - - - Facility where the services were provided. - - - - - The party to be reimbursed for the services. - - - - - The referral resource which lists the date, practitioner, reason and other supporting information. - - - - - Ordered list of patient diagnosis for which care is sought. - - - - - List of patient conditions for which care is sought. - - - - - Patient Resource. - - - - - Financial instrument by which payment information for health care. - - - - - Factors which may influence the applicability of coverage. - - - - - Name of school for over-aged dependants. - - - - - Date of an accident which these services are addressing. - - - - - Type of accident: work, auto, etc. - - - - - A list of intervention and exception codes which may influence the adjudication of the claim. - - - - - First tier of goods and services. - - - - - Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - Party to be reimbursed: Subscriber, provider, other. - - - - - The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - Sequence of diagnosis. - - - - - The diagnosis. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line item. - - - - - The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated. - - - - - Reference to the program or plan identification, underwriter or payor. - - - - - The contract number of a business agreement which describes the terms and conditions. - - - - - The relationship of the patient to the subscriber. - - - - - A list of references from the Insurer to which these services pertain. - - - - - The Coverages adjudication details. + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. @@ -19431,366 +19128,218 @@ other observer (for example a relative or EMT), or any observation made about th The style (standard) and version of the original material which was converted into this resource. - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - + - A service line number. + The date when this resource was created. - + - The type of product or service. + The organization which is target of the request. - The practitioner who is responsible for the services rendered to the patient. + The practitioner who is responsible for the action specified in thise request. - + - Diagnosis applicable for this service or product line. + The organization which is responsible for the action speccified in thise request. - + - If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. + Reference of resource which is the target or subject of this action. - + - The date when the enclosed suite of services were performed or completed. + Reference of a prior response to resource which is the target or subject of this action. - + - The number of repetitions of a service or product. + If true remove all history excluding audit. - + - If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. + A reference to supply which authenticates the process. - + - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. + List of top level items to be re-adjudicated, if none specified then the entire submission is re-adjudicated. - + - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. + Names of resource types to include. - + - The quantity times the unit price for an additional service or product or charge. 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. + Names of resource types to exclude. - + - List of Unique Device Identifiers associated with this line item. - - - - - Physical service site on the patient (limb, tooth, etc). - - - - - A region or surface of the site, eg. limb region or tooth surface(s). - - - - - Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. - - - - - Second tier of goods and services. + A period of time during which the fulfilling resources would have been created. - + - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources. - + A service line number. - - - The type of product or service. - - - - - If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. - - - - - The number of repetitions of a service or product. - - - - - If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. - - - - - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - - - - - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - - - - - The quantity times the unit price for an additional service or product or charge. 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. - - - - - List of Unique Device Identifiers associated with this line item. - - - - - Third tier of goods and services. - - - + + + + + Cancel, Reverse or nullify the target resource. + + + + + Check for previously un-read/ not-retrieved resources. + + + + + Re-process the target resource. + + + + + Retrieve the processing status of the target resource. + + + + + - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + List of allowable action which this resource can request + If the element is present, it must have either a @value, an @id, or extensions - - - - - A service line number. - - - - - The type of product or service. - - - - - The fee for an additional service or product or charge. - - - - - The number of repetitions of a service or product. - - - - - The fee for an additional service or product or charge. - - - - - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - - - - - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - - - - - The quantity times the unit price for an additional service or product or charge. 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. - - - - - List of Unique Device Identifiers associated with this line item. - - - + + - + - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + This resource provides processing status, errors and notes from the processing of a resource. - + - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + This resource provides processing status, errors and notes from the processing of a resource. If the element is present, it must have either a @value, an @id, or extensions - - - The URL at which this profile is (or will be) published, and which is used to reference this profile in extension urls and tag values in operational FHIR systems. - - - Formal identifier that is used to identify this profile when it is represented in other formats, or referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI), (if it's not possible to use the literal URI). + The Response Business Identifier. - + - The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually. + Original request resource reference. - + - A free text natural language name identifying the Profile. + Transaction status: error, complete, held. - + - Details of the individual or organization who accepts responsibility for publishing the profile. + A description of the status of the adjudication or processing. - + - Contact details to assist a user in finding and communicating with the publisher. + The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - + - A free text natural language description of the profile and its use. + The style (standard) and version of the original material which was converted into this resource. - + - A set of terms from external terminologies that may be used to assist with indexing and searching of templates. + The date when the enclosed suite of services were performed or completed. - + - The status of the profile. + The organization who produced this adjudicated response. - + - This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + The practitioner who is responsible for the services rendered to the patient. - + - The date that this version of the profile was published. + The organization which is responsible for the services rendered to the patient. - + - The Scope and Usage that this profile was created to meet. + The form to be used for printing the content. - + - The version of the FHIR specification on which this profile is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 0.4.0 for this version. + Suite of processing note or additional requirements is the processing has been held. - + - An external specification that the content is mapped to. - - - - - The Resource or Data type being described. - - - - - The structure that is the base on which this set of constraints is derived from. - - - - - A snapshot view is expressed in a stand alone form that can be used and interpreted without considering the base profile. - - - - - A differential view is expressed relative to the base profile - a statement of differences that it applies. + Processing errors. - + - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + This resource provides processing status, errors and notes from the processing of a resource. - + - An Internal id that is used to identify this mapping set when specific mappings are made. + The note purpose: Print/Display. - + - A URI that identifies the specification that this mapping is expressed to. - - - - - A name for the specification that is being mapped to. - - - - - Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage. - - - - - - - - - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. - - - - - - - Captures constraints on each element within the resource. + The note text. @@ -19799,12 +19348,12 @@ other observer (for example a relative or EMT), or any observation made about th - Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. - Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. If the element is present, it must have either a @value, an @id, or extensions @@ -19812,7 +19361,7 @@ other observer (for example a relative or EMT), or any observation made about th - The Reference(s) that were generated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity. + The Reference(s) that were generated or updated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity. @@ -19842,7 +19391,7 @@ other observer (for example a relative or EMT), or any observation made about th - An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place. An agent can be a person, a piece of software, an inanimate object, an organization, or other entities that may be ascribed responsibility. + An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place. An agent can be a person, an organization, software, or other entities that may be ascribed responsibility. @@ -19850,9 +19399,9 @@ other observer (for example a relative or EMT), or any observation made about th An entity used in this activity. - + - A digital signature on the target Reference(s). The signature should match a Provenance.agent.reference in the provenance resource. The signature is only added to support checking cryptographic integrity of the resource, and not to represent workflow and clinical aspects of the signing process, or to support non-repudiation. + A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated. @@ -19861,26 +19410,28 @@ other observer (for example a relative or EMT), or any observation made about th - Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. - The role that the participant played. + The function of the agent with respect to the activity. - The type of the participant. + The type of participation of the agent. - + - Identity of participant. May be a logical or physical uri and maybe absolute or relative. - - + Identity of participant as a Resource or uri. + + + + Human-readable description of the participant. @@ -19892,7 +19443,7 @@ other observer (for example a relative or EMT), or any observation made about th - Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance. + Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g., Document Completion - has the artifact been legally authenticated), all of which may impact Security, Privacy, and Trust policies. @@ -19909,7 +19460,7 @@ other observer (for example a relative or EMT), or any observation made about th - Identity of participant. May be a logical or physical uri and maybe absolute or relative. + Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative. @@ -19996,7 +19547,12 @@ other observer (for example a relative or EMT), or any observation made about th - Organization responsible for developing and maintaining the questionnaire. + Organization or person responsible for developing and maintaining the questionnaire. + + + + + Contact details to assist a user in finding and communicating with the publisher. @@ -20078,7 +19634,7 @@ other observer (for example a relative or EMT), or any observation made about th - Text of the question as it is shown to the user. + The actual question as shown to the user to prompt them for an answer. @@ -20088,12 +19644,12 @@ other observer (for example a relative or EMT), or any observation made about th - If true, indicates that the group must be present and have required questions within it answered. If false, the group may be skipped when answering the questionnaire. + If true, indicates that the question must be answered and have required groups within it also present. If false, the question and any contained groups may be skipped when answering the questionnaire. - Whether the group may occur multiple times in the instance, containing multiple sets of answers. + If true, the question may have more than one answer. @@ -20157,6 +19713,11 @@ other observer (for example a relative or EMT), or any observation made about th Answer is a long (potentially multi-paragram) free-text entry. + + + Answer is a url (website, FTP site, etc.). + + Answer is a choice from a list of options. @@ -20233,14 +19794,14 @@ other observer (for example a relative or EMT), or any observation made about th Person who received the answers to the questions in the QuestionnaireAnswers and recorded them in the system. - + The date and/or time that this version of the questionnaire answers was authored. - The person who answered the questions about the subject. Only used when this is not the subject him/herself. + The person who answered the questions about the subject. @@ -20312,7 +19873,7 @@ other observer (for example a relative or EMT), or any observation made about th - Text of the question as it is shown to the user. + The actual question as shown to the user to prompt them for an answer. @@ -20338,7 +19899,7 @@ other observer (for example a relative or EMT), or any observation made about th - Single-valued answer to the question. + The answer (or one of the answers) provided by the respondant to the question. @@ -20348,6 +19909,7 @@ other observer (for example a relative or EMT), or any observation made about th + @@ -20387,94 +19949,6 @@ other observer (for example a relative or EMT), or any observation made about th - - - This resource provides the request and line items details for the claim which is to be re-adjudicated. - - - - - This resource provides the request and line items details for the claim which is to be re-adjudicated. - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - The Response Business Identifier. - - - - - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - - - - - The style (standard) and version of the original material which was converted into this resource. - - - - - The date when this resource was created. - - - - - The Insurer who is target of the request. - - - - - The practitioner who is responsible for the services rendered to the patient. - - - - - The organization which is responsible for the services rendered to the patient. - - - - - Reference of resource to reverse. - - - - - Reference of response to resource to reverse. - - - - - A reference to supply which authenticated the process. - - - - - List of top level items to be re-adjudicated, if none specified then the entire submission is re-adjudicated. - - - - - - - - - This resource provides the request and line items details for the claim which is to be re-adjudicated. - - - - - - - A service line number. - - - - - - Used to record and send details about a request for referral service or transfer of a patient to the care of another provider or provider organisation. @@ -20589,7 +20063,7 @@ other observer (for example a relative or EMT), or any observation made about th The referral has been cancelled without being completed. For example it is no longer needed. - + The recipient has declined to accept the referral. @@ -20674,150 +20148,6 @@ other observer (for example a relative or EMT), or any observation made about th - - - This resource provides the request and response details for the request for which all actions are to be reversed or terminated. - - - - - This resource provides the request and response details for the request for which all actions are to be reversed or terminated. - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - The Response Business Identifier. - - - - - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - - - - - The style (standard) and version of the original material which was converted into this resource. - - - - - The date when this resource was created. - - - - - The Insurer who is target of the request. - - - - - The practitioner who is responsible for the services rendered to the patient. - - - - - The organization which is responsible for the services rendered to the patient. - - - - - Reference of resource to reverse. - - - - - Reference of response to resource to reverse. - - - - - Payee information supplied for matching purposes. - - - - - Financial instrument by which payment information for health care. - - - - - If true remove all history excluding audit. - - - - - - - - - This resource provides the request and response details for the request for which all actions are to be reversed or terminated. - - - - - - - Party to be reimbursed: Subscriber, provider, other. - - - - - The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - - - - - This resource provides the request and response details for the request for which all actions are to be reversed or terminated. - - - - - - - A service line item. - - - - - The instance number of the Coverage which is the focus for adjudication, that is the Coverage to which the claim is to be adjudicated against. - - - - - Reference to the program or plan identification, underwriter or payor. - - - - - The contract number of a business agreement which describes the terms and conditions. - - - - - The relationship of the patient to the subscriber. - - - - - - An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome. @@ -20959,11 +20289,6 @@ other observer (for example a relative or EMT), or any observation made about th Comments on the availability to describe any extended information. Such as custom constraints on the slot(s) that may be associated. - - - When this Schedule was created, or last revised. - - @@ -20983,7 +20308,7 @@ other observer (for example a relative or EMT), or any observation made about th - The URL at which this search parameter is (or will be) published, and which is used to reference this profile in conformance statements. + An absolute URL at which this search parameter is (or will be) published, and which is used to reference this profile in conformance statements. @@ -20993,12 +20318,12 @@ other observer (for example a relative or EMT), or any observation made about th - Details of the individual or organization who accepts responsibility for publishing the search parameter. + The name of the individual or organization that published the search parameter. - + - Contact details to assist a user in finding and communicating with the publisher. + Contacts to assist a user in finding and communicating with the publisher. @@ -21006,6 +20331,21 @@ other observer (for example a relative or EMT), or any observation made about th The Scope and Usage that this search parameter was created to meet. + + + The status of this search parameter definition. + + + + + A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + + + + + The date (and optionally time) when the search parameter definition was published. + + The base resource type that this search parameter refers to. @@ -21035,639 +20375,27 @@ other observer (for example a relative or EMT), or any observation made about th - + - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - - - - - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - Identifies the name, action type, time, and disposition of the audited event. - - - - - A person, a hardware device or software process. - - - - - Application systems and processes. - - - - - Specific instances of data or objects that have been accessed. - - - - - - - - - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. + A Search Parameter that defines a named search item that can be used to search/filter on a resource. - - - Identifier for a family of the event. - - - - - Identifier for the category of event. - - - - - Indicator for type of action performed during the event that generated the audit. - - - - - The time when the event occurred on the source. - - - - - Indicates whether the event succeeded or failed. - - - - - A free text description of the outcome of the event. - - - - - - - - - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - - - - - - - Specification of the role(s) the user plays when performing the event. Usually the codes used in this element are local codes defined by the role-based access control security system used in the local context. - - - - - Direct reference to a resource that identifies the participant. - - - - - Unique identifier for the user actively participating in the event. - - - - - Alternative Participant 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. - - - Human-meaningful name for the user. + The name of an individual to contact regarding the search parameter. - + - Indicator that the user is or is not the requestor, or initiator, for the event being audited. - - - - - Type of media involved. Used when the event is about exporting/importing onto media. - - - - - Logical network location for application activity, if the activity has a network location. + Contact details for individual (if a name was provided) or the publisher. - - - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - - - - - - - An identifier for the network access point of the user device for the audit event. - - - - - An identifier for the type of network access point that originated the audit event. - - - - - - - - - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - - - - - - - Logical source location within the healthcare enterprise network. - - - - - Identifier of the source where the event originated. - - - - - Code specifying the type of source where event originated. - - - - - - - - - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - - - - - - - Identifies a specific instance of the participant object. The reference should always be version specific. - - - - - Identifies a specific instance of the participant object. The reference should always be version specific. - - - - - Object type being audited. - - - - - Code representing the functional application role of Participant Object being audited. - - - - - Identifier for the data life-cycle stage for the participant object. - - - - - Denotes policy-defined sensitivity for the Participant Object ID such as VIP, HIV status, mental health status or similar topics. - - - - - An instance-specific descriptor of the Participant Object ID audited, such as a person's name. - - - - - Text that describes the object in more detail. - - - - - The actual query for a query-type participant object. - - - - - Additional Information about the Object. - - - - - - - - - A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage. - - - - - - - Name of the property. - - - - - Property value. - - - - - - - - - - - This object is the patient that is the subject of care related to this event. It is identifiable by patient ID or equivalent. The patient may be either human or animal. - - - - - This is a location identified as related to the event. This is usually the location where the event took place. Note that for shipping, the usual events are arrival at a location or departure from a location. - - - - - This object is any kind of persistent document created as a result of the event. This could be a paper report, film, electronic report, DICOM Study, etc. Issues related to medical records life cycle management are conveyed elsewhere. - - - - - A logical object related to the event. (Deprecated). - - - - - This is any configurable file used to control creation of documents. Examples include the objects maintained by the HL7 Master File transactions, Value Sets, etc. - - - - - A human participant not otherwise identified by some other category. - - - - - (deprecated). - - - - - Typically a licensed person who is providing or performing care related to the event, generally a physician. The key distinction between doctor and practitioner is with regards to their role, not the licensing. The doctor is the human who actually performed the work. The practitioner is the human or organization that is responsible for the work. - - - - - A person or system that is being notified as part of the event. This is relevant in situations where automated systems provide notifications to other parties when an event took place. - - - - - Insurance company, or any other organization who accepts responsibility for paying for the healthcare event. - - - - - A person or active system object involved in the event with a security role. - - - - - A person or system object involved in the event with the authority to modify security roles of other objects. - - - - - A passive object, such as a role table, that is relevant to the event. - - - - - (deprecated) Relevant to certain RBAC security methodologies. - - - - - Any person or organization responsible for providing care. This encompasses all forms of care, licensed or otherwise, and all sorts of teams and care groups. Note, the distinction between practitioners and the doctor that actually provided the care to the patient. - - - - - The source or destination for data transfer, when it does not match some other role. - - - - - A source or destination for data transfer, that acts as an archive, database, or similar role. - - - - - An object that holds schedule information. This could be an appointment book, availability information, etc. - - - - - An organization or person that is the recipient of services. This could be an organization that is buying services for a patient, or a person that is buying services for an animal. - - - - - An order, task, work item, procedure step, or other description of work to be performed. E.g., a particular instance of an MPPS. - - - - - A list of jobs or a system that provides lists of jobs. E.g., an MWL SCP. - - - - - (Deprecated). - - - - - An object that specifies or controls the routing or delivery of items. For example, a distribution list is the routing criteria for mail. The items delivered may be documents, jobs, or other objects. - - - - - The contents of a query. This is used to capture the contents of any kind of query. For security surveillance purposes knowing the queries being made is very important. - - - - - - - Code representing the functional application role of Participant Object being audited - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - - - - - - Person. - - - - - System Object. - - - - - Organization. - - - - - Other. - - - - - - - Code for the participant object type being audited - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - - - - - - Create a new database object, such as Placing an Order. - - - - - Display or print data, such as a Doctor Census. - - - - - Update data, such as Revise Patient Information. - - - - - Delete items, such as a doctor master file record. - - - - - Perform a system or application function such as log-on, program execution or use of an object's method, or perform a query/search operation. - - - - - - - Indicator for type of action performed during the event that generated the audit. - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - - - - - - Origination / Creation. - - - - - Import / Copy from original. - - - - - Amendment. - - - - - Verification. - - - - - Translation. - - - - - Access / Use. - - - - - De-identification. - - - - - Aggregation, summarization, derivation. - - - - - Report. - - - - - Export / Copy to target. - - - - - Disclosure. - - - - - Receipt of disclosure. - - - - - Archiving. - - - - - Logical deletion. - - - - - Permanent erasure / Physical destruction. - - - - - - - Identifier for the data life-cycle stage for the participant object - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - - - - - - Machine Name, including DNS name. - - - - - IP Address. - - - - - Telephone Number. - - - - - Email address. - - - - - URI (User directory, HTTP-PUT, ftp, etc.). - - - - - - - The type of network access point that originated the audit event - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - - - - - - The operation completed successfully (whether with warnings or not). - - - - - The action was not successful due to some kind of catered for error (often equivalent to an HTTP 400 response). - - - - - The action was not successful due to some kind of unexpected error (often equivalent to an HTTP 500 response). - - - - - An error of such magnitude occurred that the system is not longer available for use (i.e. the system died). - - - - - - - Indicates whether the event succeeded or failed - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - A slot of time on a schedule that may be available for booking appointments. @@ -21721,11 +20449,6 @@ other observer (for example a relative or EMT), or any observation made about th Comments on the slot to describe any extended information. Such as custom constraints on the slot. - - - When this slot was created, or last revised. - - @@ -21756,7 +20479,7 @@ other observer (for example a relative or EMT), or any observation made about th - The free/busy status of an appointment + The free/busy status of a slot If the element is present, it must have either a @value, an @id, or extensions @@ -21785,12 +20508,12 @@ other observer (for example a relative or EMT), or any observation made about th - Kind of material that forms the specimen. + The kind of material that forms the specimen. - + - Parent specimen from which the focal specimen was a component. + Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of a another specimen. @@ -21827,27 +20550,6 @@ other observer (for example a relative or EMT), or any observation made about th - - - Sample for analysis. - - - - - - - Whether this relationship is to a parent or to a child. - - - - - The specimen resource that is the target of this relationship. - - - - - - Sample for analysis. @@ -21884,7 +20586,7 @@ other observer (for example a relative or EMT), or any observation made about th - Anatomical location from which the specimen was collected (if subject is a patient). This element is not used for environmental specimens. + Anatomical location from which the specimen was collected (if subject is a patient). This is the target site. This element is not used for environmental specimens. @@ -21962,204 +20664,14 @@ other observer (for example a relative or EMT), or any observation made about th - - - - - The target resource is the parent of the focal specimen resource. - - - - - The target resource is the child of the focal specimen resource. - - - - - - - Type indicating if this is a parent or child relationship - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - - - - This resource provides the request and response details for the resource for which the processing status is to be checked. - - - - - This resource provides the request and response details for the resource for which the processing status is to be checked. - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - The Response Business Identifier. - - - - - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - - - - - The style (standard) and version of the original material which was converted into this resource. - - - - - The date when this resource was created. - - - - - The Insurer who is target of the request. - - - - - The practitioner who is responsible for the services rendered to the patient. - - - - - The organization which is responsible for the services rendered to the patient. - - - - - Reference of resource to reverse. - - - - - Reference of response to resource to reverse. - - - - - - - - - This resource provides processing status, errors and notes from the processing of a resource. - - - - - This resource provides processing status, errors and notes from the processing of a resource. - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - The Response Business Identifier. - - - - - Original request resource reference. - - - - - Transaction status: error, complete, held. - - - - - A description of the status of the adjudication or processing. - - - - - The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources. - - - - - The style (standard) and version of the original material which was converted into this resource. - - - - - The date when the enclosed suite of services were performed or completed. - - - - - The Insurer who produced this adjudicated response. - - - - - The practitioner who is responsible for the services rendered to the patient. - - - - - The organization which is responsible for the services rendered to the patient. - - - - - The form to be used for printing the content. - - - - - Suite of processing note or additional requirements is the processing has been held. - - - - - Processing errors. - - - - - - - - - This resource provides processing status, errors and notes from the processing of a resource. - - - - - - - The note purpose: Print/Display. - - - - - The note text. - - - - - - - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. If the element is present, it must have either a @value, an @id, or extensions @@ -22167,22 +20679,27 @@ other observer (for example a relative or EMT), or any observation made about th - The URL at which this profile is (or will be) published, and which is used to reference this profile in extension urls and tag values in operational FHIR systems. + An absolute URL at which this StructureDefinition is (or will be) published, and which is used to reference this StructureDefinition in extension urls and tag values in operational FHIR systems. - Formal identifier that is used to identify this profile when it is represented in other formats, or referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI), (if it's not possible to use the literal URI). + Formal identifier that is used to identify this StructureDefinition when it is represented in other formats, or referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI), (if it's not possible to use the literal URI). - The identifier that is used to identify this version of the profile when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually. + The identifier that is used to identify this version of the StructureDefinition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the StructureDefinition author manually. - A free text natural language name identifying the Profile. + A free text natural language name identifying the StructureDefinition. + + + + + The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of structure definitions. @@ -22192,17 +20709,27 @@ other observer (for example a relative or EMT), or any observation made about th - Details of the individual or organization who accepts responsibility for publishing the profile. + The name of the individual or organization that published the structure definition. - + - Contact details to assist a user in finding and communicating with the publisher. + Contacts to assist a user in finding and communicating with the publisher. - A free text natural language description of the profile and its use. + A free text natural language description of the StructureDefinition and its use. + + + + + Explains why this structure definition is needed and why it's been constrained as it has. + + + + + A copyright statement relating to the structure definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings. @@ -22210,29 +20737,24 @@ other observer (for example a relative or EMT), or any observation made about th A set of terms from external terminologies that may be used to assist with indexing and searching of templates. - + - The status of the profile. + The status of the StructureDefinition. - This profile was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. + This StructureDefinition was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage. - The date that this version of the profile was published. - - - - - The Scope and Usage that this profile was created to meet. + The date that this version of the StructureDefinition was published. - The version of the FHIR specification on which this profile is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 0.4.0 for this version. + The version of the FHIR specification on which this StructureDefinition is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 0.4.0 for this version. @@ -22245,9 +20767,14 @@ other observer (for example a relative or EMT), or any observation made about th Defines the type of structure that this definition is describing. + + + Whether structure this definition describes is abstract or not - that is, whether an actual exchanged item can ever be of this type. + + - Identifies the type of context to which the extension applies. + If this is an extension, Identifies the context within FHIR resources where the extension can be used. @@ -22257,17 +20784,38 @@ other observer (for example a relative or EMT), or any observation made about th - The structure that is the base on which this set of constraints is derived from. + An absolute URI that is the base structure from which this set of constraints is derived. - A snapshot view is expressed in a stand alone form that can be used and interpreted without considering the base profile. + A snapshot view is expressed in a stand alone form that can be used and interpreted without considering the base StructureDefinition. - A differential view is expressed relative to the base profile - a statement of differences that it applies. + A differential view is expressed relative to the base StructureDefinition - a statement of differences that it applies. + + + + + + + + + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. + + + + + + + The name of an individual to contact regarding the structure definition. + + + + + Contact details for individual (if a name was provided) or the publisher. @@ -22276,7 +20824,7 @@ other observer (for example a relative or EMT), or any observation made about th - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. @@ -22288,7 +20836,7 @@ other observer (for example a relative or EMT), or any observation made about th - A URI that identifies the specification that this mapping is expressed to. + An absolute URI that identifies the specification that this mapping is expressed to. @@ -22307,7 +20855,7 @@ other observer (for example a relative or EMT), or any observation made about th - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. @@ -22323,7 +20871,7 @@ other observer (for example a relative or EMT), or any observation made about th - A Resource Profile - a statement of use of one or more FHIR Resources. It may include constraints on Resources and Data Types, Terminology Binding Statements and Extension Definitions. + A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions, and constraints on resources and data types. @@ -22339,11 +20887,6 @@ other observer (for example a relative or EMT), or any observation made about th - - - An abstract Type. Structure Definitions for abstract types are provided for structural completeness, and to support functions such as code generation. - - A data type - either a primitive or complex structure that defines a set of data elements. These can be used throughout Resource and extension definitions. @@ -22377,44 +20920,49 @@ other observer (for example a relative or EMT), or any observation made about th - + - + - This profile is still under development. + The context is all elements matching a particular resource element path. - + - This profile is ready for normal use. + The context is all nodes matching a particular data type element path (root or repeating element) or all elements referencing a particular primitive data type (expressed as the datatype name). - + - This profile has been deprecated, withdrawn or superseded and should no longer be used. + The context is all nodes whose mapping to a specified reference model corresponds to a particular mapping structure. The context identifies the mapping target. The mapping should clearly identify where such an extension could be used. + + + + + The context is a particular extension from a particular profile. Expressed as uri#name, where uri identifies the profile and #name identifies the extension code. - + - The lifecycle status of a StructureDefinition + How an extension context is interpreted If the element is present, it must have either a @value, an @id, or extensions - + - Todo. + The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action. - Todo. + The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action. If the element is present, it must have either a @value, an @id, or extensions @@ -22422,42 +20970,42 @@ other observer (for example a relative or EMT), or any observation made about th - Todo. + The rules that the server should use to determine when to generate notifications for this subscription. - Todo. + Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting. - Todo. + A description of why this subscription is defined. - Todo. + The status of the subscription, which marks the server state for managing the subscription. - Todo. + A record of the last error that occurred when the server processed a notification. - Todo. + Details where to send notifications when resources are received that meet the criteria. - Todo. + The time for the server to turn the subscription off. - + - Todo. + A tag to add to any resource that matches the criteria, after the subscription is processed. @@ -22466,55 +21014,29 @@ other observer (for example a relative or EMT), or any observation made about th - Todo. + The subscription resource is used to define a push based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined "channel" so that another system is able to take an appropriate action. - Todo. + The type of channel to send notififcations on. - + - Todo. + The uri that describes tha actual end point to send messages to. - ToDo. + The mime type to send the payload in - either application/xml+fhir, or application/json+fhir. If the mime type is blank, then there is no payload in the notification, just a notification. - Usage depends on the channel type. - - - - - - - - - Todo. - - - - - - - Todo. - - - - - Todo. - - - - - Todo. + Additional headers / information to send as part of the notification. @@ -22976,14 +21498,19 @@ other observer (for example a relative or EMT), or any observation made about th - + - The identifier that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique OID, UUID, or URI). + An absolute uri that is used to identify this value set when it is referenced in a specification, model, design or an instance (should be globally unique URI, and an be urn:uuid: or urn:oid:). + + + + + Formal identifier that is used to identify this value set when it is represented in other formats, or referenced in a specification, model, design or an instance. - The identifier that is used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. + Used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the profile author manually and the value should be a timestamp. @@ -22991,6 +21518,11 @@ other observer (for example a relative or EMT), or any observation made about th A free text natural language name describing the value set. + + + The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of value set definitions. + + If this is set to 'true', then no new versions of the content logical definition can be created. Note: Other metadata might still change. @@ -23001,9 +21533,9 @@ other observer (for example a relative or EMT), or any observation made about th The name of the individual or organization that published the value set. - + - Contacts of the publisher to assist a user in finding and communicating with the publisher. + Contacts to assist a user in finding and communicating with the publisher. @@ -23011,12 +21543,17 @@ other observer (for example a relative or EMT), or any observation made about th A free text natural language description of the use of the value set - reason for definition, "the semantic space" to be included in the value set, conditions of use, etc. The description may include a list of expected usages for the value set and can also describe the approach taken to build the value set. - + - A copyright statement relating to the value set and/or its contents. These are generally legal restrictions on the use and publishing of the value set. + Explains why this value set is needed and why it's been constrained as it has. - + + + A copyright statement relating to the value set and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the value set. + + + The status of the value set. @@ -23036,14 +21573,14 @@ other observer (for example a relative or EMT), or any observation made about th The date that the value set status was last changed. - + - If a Stability Date is expanded by evaluating the Content Logical Definition using the current version of all referenced code system(s) and value sets as of the Stability Date. + If a Locked Date is defined, then the Content Logical Definition must be evaluated using the current version of all referenced code system(s) and value sets as of the Locked Date. - When value set defines its own codes. + A definition of an code system, inlined into the value set. @@ -23060,6 +21597,27 @@ other observer (for example a relative or EMT), or any observation made about th + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + + + The name of an individual to contact regarding the value set. + + + + + Contact details for individual (if a name was provided) or the publisher. + + + + + + A value set specifies a set of codes drawn from one or more code systems. @@ -23069,7 +21627,7 @@ other observer (for example a relative or EMT), or any observation made about th - URI to identify the code system. + An absolute URI that is used to reference this code system, including in [Coding]{datatypes.html#Coding}.system. @@ -23167,7 +21725,7 @@ other observer (for example a relative or EMT), or any observation made about th - Includes the contents of the referenced value set as a part of the contents of this value set. + Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri. @@ -23193,7 +21751,7 @@ other observer (for example a relative or EMT), or any observation made about th - The code system from which the selected codes come from. + An absolute URI which is the code system from which the selected codes come from. @@ -23274,7 +21832,7 @@ other observer (for example a relative or EMT), or any observation made about th - + An identifier that uniquely identifies this expansion of the valueset. Systems may re-use the same identifier as long as the expansion and the definition remain the same, but are not required to do so. @@ -23284,6 +21842,11 @@ other observer (for example a relative or EMT), or any observation made about th The time at which the expansion was produced by the expanding system. + + + A Parameter that controlled the expansion process. These paameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion. + + The codes that are contained in the value set expansion. @@ -23293,6 +21856,33 @@ other observer (for example a relative or EMT), or any observation made about th + + + A value set specifies a set of codes drawn from one or more code systems. + + + + + + + The name of the parameter. + + + + + The value of the parameter. + + + + + + + + + + + + A value set specifies a set of codes drawn from one or more code systems. @@ -23302,7 +21892,7 @@ other observer (for example a relative or EMT), or any observation made about th - The system in which the code for this item in the expansion is defined. + An absolute URI which is the code system in which the code for this item in the expansion is defined. @@ -23334,461 +21924,48 @@ other observer (for example a relative or EMT), or any observation made about th - + + + + + The specified property of the code equals the provided value. + + + + + Includes all concept ids that have a transitive is-a relationship with the concept Id provided as the value, including the provided concept itself. + + + + + The specified property of the code does not have an is-a relationship with the provided value. + + + + + The specified property of the code matches the regex specified in the provided value. + + + + + The specified property of the code is in the set of codes or concepts specified in the provided value (comma separated list). + + + + + The specified property of the code is not in the set of codes or concepts specified in the provided value (comma separated list). + + + + + - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. + The kind of operation to perform as a part of a property based filter If the element is present, it must have either a @value, an @id, or extensions - - - - - The business identifier for the instance: invoice number, claim number, pre-determination or pre-authorization number. - - - - - The version of the specification on which this instance relies. - - - - - The version of the specification from which the original instance was created. - - - - - The date when the enclosed suite of services were performed or completed. - - - - - Insurer Identifier, typical BIN number (6 digit). - - - - - The provider which is responsible for the bill, claim pre-determination, pre-authorization. - - - - - The organization which is responsible for the bill, claim pre-determination, pre-authorization. - - - - - Complete (Bill or Claim), Proposed (Pre-Authorization), Exploratory (Pre-determination). - - - - - Immediate (STAT), best effort (NORMAL), deferred (DEFER). - - - - - In the case of a Pre-Determination/Pre-Authorization the provider may request that funds in the amount of the expected Benefit be reserved ('Patient' or 'Provider') to pay for the Benefits determined on the subsequent claim(s). 'None' explicitly indicates no funds reserving is requested. - - - - - Person who created the invoice/claim/pre-determination or pre-authorization. - - - - - Facility where the services were provided. - - - - - Prescription to support the dispensing of glasses or contact lenses. - - - - - The party to be reimbursed for the services. - - - - - The referral resource which lists the date, practitioner, reason and other supporting information. - - - - - Ordered list of patient diagnosis for which care is sought. - - - - - List of patient conditions for which care is sought. - - - - - Patient Resource. - - - - - Financial instrument by which payment information for health care. - - - - - Factors which may influence the applicability of coverage. - - - - - Name of school for over-aged dependants. - - - - - Date of an accident which these services are addressing. - - - - - Type of accident: work, auto, etc. - - - - - A list of intervention and exception codes which may influence the adjudication of the claim. - - - - - First tier of goods and services. - - - - - Code to indicate that Xrays, images, emails, documents, models or attachments are being sent in support of this submission. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - Party to be reimbursed: Subscriber, provider, other. - - - - - The provider who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - The organization who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - The person other than the subscriber who is to be reimbursed for the claim (the party to whom any benefit is assigned). - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - Sequence of diagnosis. - - - - - The diagnosis. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line item. - - - - - The instance number of the Coverage which is the focus for adjudication. The Coverage against which the claim is to be adjudicated. - - - - - Reference to the program or plan identification, underwriter or payor. - - - - - The contract number of a business agreement which describes the terms and conditions. - - - - - The relationship of the patient to the subscriber. - - - - - A list of references from the Insurer to which these services pertain. - - - - - The Coverages adjudication details. - - - - - The style (standard) and version of the original material which was converted into this resource. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line number. - - - - - The type of product or service. - - - - - The practitioner who is responsible for the services rendered to the patient. - - - - - Diagnosis applicable for this service or product line. - - - - - If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. - - - - - The date when the enclosed suite of services were performed or completed. - - - - - The number of repetitions of a service or product. - - - - - If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. - - - - - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - - - - - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - - - - - The quantity times the unit price for an additional service or product or charge. 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. - - - - - List of Unique Device Identifiers associated with this line item. - - - - - Physical service site on the patient (limb, tooth, etc). - - - - - A region or surface of the site, eg. limb region or tooth surface(s). - - - - - Item typification or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. - - - - - Second tier of goods and services. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line number. - - - - - The type of product or service. - - - - - If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied. - - - - - The number of repetitions of a service or product. - - - - - If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group. - - - - - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - - - - - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - - - - - The quantity times the unit price for an additional service or product or charge. 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. - - - - - List of Unique Device Identifiers associated with this line item. - - - - - Third tier of goods and services. - - - - - - - - - A provider issued list of services and products provided, or to be provided, to a patient which is provided to an insurer for payment recovery. - - - - - - - A service line number. - - - - - The type of product or service. - - - - - The fee for an additional service or product or charge. - - - - - The number of repetitions of a service or product. - - - - - The fee for an additional service or product or charge. - - - - - A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. - - - - - An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point. - - - - - The quantity times the unit price for an additional service or product or charge. 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. - - - - - List of Unique Device Identifiers associated with this line item. - - - + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/goal.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/goal.sch index 3bbcd42d0ea..9bd2d81c972 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/goal.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/goal.sch @@ -1,43 +1,63 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Goal - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/group.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/group.sch index d7393cef2bc..1d57d37ca9b 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/group.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/group.sch @@ -1,87 +1,98 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Group - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: Can only have members if group is "actual" - Inv-4: Can't have more members associated with the group than the value specified for "quantity" + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + grp-4: Can't have more members associated with the group than the value specified for "quantity" + grp-1: Can only have members if group is "actual" - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range - - Inv-3: Quantity values cannot have a comparator when used in a Range - Inv-2: If present, low SHALL have a lower value than high + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + grp-3: Member resource types SHALL agree with group type - - Inv-3: Member resource types SHALL agree with group type + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/healthcareservice.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/healthcareservice.sch index fa0eb66ccb0..01f479fe17e 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/healthcareservice.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/healthcareservice.sch @@ -1,172 +1,150 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + HealthcareService - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cpt-2: A system is required if a value is provided. - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: A system is required if a value is provided. + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-2: Only one coding in a set can be chosen directly by the user - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-2: Only one coding in a set can be chosen directly by the user - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-2: Only one coding in a set can be chosen directly by the user - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/imagingobjectselection.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/imagingobjectselection.sch index 5892283deb1..567a8e95ecc 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/imagingobjectselection.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/imagingobjectselection.sch @@ -1,49 +1,63 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + ImagingObjectSelection - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL at least provide retrieve URL or retrieve AE Title + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/imagingstudy.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/imagingstudy.sch index b5d9b75daea..e5273a3cb43 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/imagingstudy.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/imagingstudy.sch @@ -1,70 +1,87 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + ImagingStudy - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - + + att-1: It the Attachment has data, it SHALL have a contentType + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/immunization.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/immunization.sch index 45718bbcdd4..95073e82415 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/immunization.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/immunization.sch @@ -1,133 +1,136 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Immunization - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + imm-2: If immunization was administered (wasNotGiven=false) then explanation.reasonNotGiven SHALL be absent. + imm-1: If immunization was not administred (wasNotGiven=true) then there SHALL be no reaction nor explanation.reason present - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-3: If a code for the units is present, the system SHALL also be present + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-2: Only one coding in a set can be chosen directly by the user - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/immunizationrecommendation.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/immunizationrecommendation.sch index 07e250bcf9f..59ce145b403 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/immunizationrecommendation.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/immunizationrecommendation.sch @@ -1,76 +1,87 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + ImmunizationRecommendation - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/list.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/list.sch index e82daa0b7b2..5880492b9fa 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/list.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/list.sch @@ -1,77 +1,94 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + List - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: The deleted flag can only be used if the mode of the list is "changes" - Inv-1: A list can only have an emptyReason if it is empty + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + lst-2: The deleted flag can only be used if the mode of the list is "changes" + lst-1: A list can only have an emptyReason if it is empty - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - + + cod-1: If a valueSet is provided, a system URI Is required + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/location.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/location.sch index 0f0f80922f4..675a7557991 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/location.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/location.sch @@ -1,70 +1,84 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Location - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: A system is required if a value is provided. + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cpt-2: A system is required if a value is provided. - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/media.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/media.sch index 65e276e1406..b2982523951 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/media.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/media.sch @@ -1,70 +1,84 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Media - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: Frames can only be used for a photo - Inv-2: Width can only be used for a photo or video - Inv-1: Height can only be used for a photo or video - Inv-4: Length can only be used for an audio or a video + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + mda-1: Height can only be used for a photo or video + mda-2: Width can only be used for a photo or video + mda-4: Length can only be used for an audio or a video + mda-3: Frames can only be used for a photo - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: It the Attachment has data, it SHALL have a contentType + + att-1: It the Attachment has data, it SHALL have a contentType - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medication.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medication.sch index 8b99e2a7f6b..ba62b002b5e 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medication.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medication.sch @@ -1,79 +1,90 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Medication - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: numerator and denominator SHALL both be present, or both be absent + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationadministration.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationadministration.sch index f82544c0729..2583cb0bf83 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationadministration.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationadministration.sch @@ -1,133 +1,129 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + MedicationAdministration - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Reason not given is only permitted if wasNotGiven is true + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + mad-2: Reason not given is only permitted if wasNotGiven is true - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + mad-3: Reason given is only permitted if wasNotGiven is false - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have at least one of dosage.quantity and dosage.rate + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + mad-1: SHALL have at least one of dosage.quantity and dosage.rate - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: numerator and denominator SHALL both be present, or both be absent - - - Inv-3: If a code for the units is present, the system SHALL also be present - - - Inv-3: If a code for the units is present, the system SHALL also be present - - - Inv-1: numerator and denominator SHALL both be present, or both be absent - - - Inv-3: If a code for the units is present, the system SHALL also be present - - - Inv-3: If a code for the units is present, the system SHALL also be present - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationdispense.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationdispense.sch index ebab5cc96e5..27a8eaec33a 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationdispense.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationdispense.sch @@ -1,179 +1,185 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + MedicationDispense - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + mdd-1: whenHandedOver cannot be before whenPrepared - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: whenHandedOver cannot be before whenPrepared + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration - - Inv-1: There can only be a repeat element if there is none or one event + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + tim-4: duration SHALL be a non-negative value - - Inv-3: At most, only one of count or end can be present - Inv-2: Either frequency or when SHALL be present, but not both + + tim-5: period SHALL be a non-negative value - - Inv-4: duration SHALL be a positive value + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-2: Only one coding in a set can be chosen directly by the user + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: numerator and denominator SHALL both be present, or both be absent + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: numerator and denominator SHALL both be present, or both be absent + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-3: If a code for the units is present, the system SHALL also be present + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationprescription.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationprescription.sch index 35fa5a32137..84fe5f3ecea 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationprescription.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationprescription.sch @@ -1,173 +1,182 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + MedicationPrescription - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: There can only be a repeat element if there is none or one event + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-3: At most, only one of count or end can be present - Inv-2: Either frequency or when SHALL be present, but not both + + tim-4: duration SHALL be a non-negative value - - Inv-4: duration SHALL be a positive value + + tim-5: period SHALL be a non-negative value - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range - - Inv-2: Only one coding in a set can be chosen directly by the user + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present - - Inv-1: numerator and denominator SHALL both be present, or both be absent + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present - - Inv-1: numerator and denominator SHALL both be present, or both be absent + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationstatement.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationstatement.sch index 017af48ee70..9bd18568670 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationstatement.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/medicationstatement.sch @@ -1,131 +1,154 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + MedicationStatement - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: Reason not given is only permitted if wasNotGiven is true + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + mst-1: Reason not given is only permitted if wasNotGiven is true - - Inv-1: If present, start SHALL have a lower value than end + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + mst-2: Reason for use is only permitted if wasNotGiven is false - - Inv-1: There can only be a repeat element if there is none or one event + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: At most, only one of count or end can be present - Inv-2: Either frequency or when SHALL be present, but not both + + mst-2: Reason for use is only permitted if wasNotGiven is false - - Inv-4: duration SHALL be a positive value + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + tim-4: duration SHALL be a non-negative value - - Inv-1: SHALL have a local reference if the resource is provided inline + + tim-5: period SHALL be a non-negative value - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: numerator and denominator SHALL both be present, or both be absent + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present - - Inv-1: numerator and denominator SHALL both be present, or both be absent + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present - + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/messageheader.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/messageheader.sch index 44a1a317851..24f24c9d09c 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/messageheader.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/messageheader.sch @@ -1,73 +1,87 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + MessageHeader - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: A system is required if a value is provided. + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + cpt-2: A system is required if a value is provided. - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/namingsystem.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/namingsystem.sch index cb97ca6330b..19eafd0aa1d 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/namingsystem.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/namingsystem.sch @@ -1,60 +1,74 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + NamingSystem - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: Can only have replacedBy if namingsystem is retired - Inv-2: Can't have more than one preferred identifier for a type - Inv-1: Root systems cannot have uuid or sid identifiers + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + nsd-2: Can't have more than one preferred identifier for a type + nsd-3: Can only have replacedBy if namingsystem is retired + nsd-1: Root systems cannot have uuid or sid identifiers - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-2: A system is required if a value is provided. + + cpt-2: A system is required if a value is provided. - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/nutritionorder.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/nutritionorder.sch index 727bda80b38..716b6b35c1f 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/nutritionorder.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/nutritionorder.sch @@ -1,204 +1,213 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + NutritionOrder - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + nor-1: Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: Nutrition Order SHALL contain either Oral Diet , Supplement, or Enteral Formula class + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: There can only be a repeat element if there is none or one event + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: At most, only one of count or end can be present - Inv-2: Either frequency or when SHALL be present, but not both + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration - - Inv-4: duration SHALL be a positive value + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + tim-4: duration SHALL be a non-negative value - - Inv-2: Only one coding in a set can be chosen directly by the user + + tim-5: period SHALL be a non-negative value - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-3: Quantity values cannot have a comparator when used in a Range - Inv-2: If present, low SHALL have a lower value than high + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-3: If a code for the units is present, the system SHALL also be present + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + tim-4: duration SHALL be a non-negative value - - Inv-1: SHALL have a local reference if the resource is provided inline + + tim-5: period SHALL be a non-negative value - - Inv-2: Only one coding in a set can be chosen directly by the user + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration - - Inv-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + tim-4: duration SHALL be a non-negative value - - Inv-3: If a code for the units is present, the system SHALL also be present + + tim-5: period SHALL be a non-negative value - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present - - Inv-2: Only one coding in a set can be chosen directly by the user + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: numerator and denominator SHALL both be present, or both be absent - - - Inv-3: If a code for the units is present, the system SHALL also be present - - - Inv-3: If a code for the units is present, the system SHALL also be present - - - Inv-3: If a code for the units is present, the system SHALL also be present - - - Inv-3: If a code for the units is present, the system SHALL also be present - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/observation.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/observation.sch index e086a3b4c61..5c910e269c9 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/observation.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/observation.sch @@ -1,152 +1,182 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Observation - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + obs-6: Shall only be present if Observation.value[x] is not present - - Inv-3: If a code for the units is present, the system SHALL also be present + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: It the Attachment has data, it SHALL have a contentType + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: numerator and denominator SHALL both be present, or both be absent + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If present, start SHALL have a lower value than end + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-4: Shall only be present if Observation.value[x] is not present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-2: Only one coding in a set can be chosen directly by the user + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + att-1: It the Attachment has data, it SHALL have a contentType - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-3: Must have at least a low or a high (and no comparators) or text + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-3: If a code for the units is present, the system SHALL also be present + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-3: If a code for the units is present, the system SHALL also be present + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + obs-3: Must have at least a low or a high or text - - Inv-1: SHALL have a local reference if the resource is provided inline + + obs-4: Low range comparators can only be '>' or '>=' or empty - - Inv-3: Quantity values cannot have a comparator when used in a Range - Inv-2: If present, low SHALL have a lower value than high + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + obs-5: High range comparators can only be '<' or '<=' or empty - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - + + cod-1: If a valueSet is provided, a system URI Is required + + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range + + + qty-3: If a code for the units is present, the system SHALL also be present + + + qty-3: If a code for the units is present, the system SHALL also be present + + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/opensearch.xsd b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/opensearch.xsd deleted file mode 100644 index 2578731a915..00000000000 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/opensearch.xsd +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - Used by a server to inform the client of the total number of search - matches (not including including resources) - - - diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/opensearchscore.xsd b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/opensearchscore.xsd deleted file mode 100644 index 5565a595794..00000000000 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/opensearchscore.xsd +++ /dev/null @@ -1,22 +0,0 @@ - - - - - -Contains a string indicating a relative assessment of relevance for a particular search result with respect to the search query. - -Decimal values less than 0 should be considered equal to 0. - -Decimal values greater than 1 should be considered equal to 1. - -Unparseable or empty values can be ignored by the client. - -Restrictions: The value must contain a decimal representation of a real number between 0 and 1, inclusive. -Requirements: This element may appear zero or one time. -The score element is used to indicate a relative assessment of relevance for a particular search result with respect to the search query. - - - - - diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/operationdefinition.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/operationdefinition.sch index 2e9fbf7f774..9258737c458 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/operationdefinition.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/operationdefinition.sch @@ -1,55 +1,69 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + OperationDefinition - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: A system is required if a value is provided. + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cpt-2: A system is required if a value is provided. - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: Either a type must be provided, or parts + + opd-1: Either a type must be provided, or parts - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/operationoutcome.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/operationoutcome.sch index 9b2645d9503..de2808b6475 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/operationoutcome.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/operationoutcome.sch @@ -1,37 +1,57 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + OperationOutcome - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/order.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/order.sch index 2bf8a556b91..f578cd70f61 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/order.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/order.sch @@ -1,89 +1,106 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Order - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: Provide a code or a schedule, but not both + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ord-1: Provide a code or a schedule, but not both - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: There can only be a repeat element if there is none or one event + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-3: At most, only one of count or end can be present - Inv-2: Either frequency or when SHALL be present, but not both + + tim-4: duration SHALL be a non-negative value - - Inv-4: duration SHALL be a positive value + + tim-5: period SHALL be a non-negative value - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/orderresponse.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/orderresponse.sch index 47258015e49..bd937a5dd0f 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/orderresponse.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/orderresponse.sch @@ -1,58 +1,75 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + OrderResponse - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/organization.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/organization.sch index fcbbf33ce70..e87bd824c6b 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/organization.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/organization.sch @@ -1,91 +1,105 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Organization - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: The organization SHALL at least have a name or an id, and possibly more than one + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + org-1: The organization SHALL at least have a name or an id, and possibly more than one - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-3: The telecom of an organization can never be of use 'home' + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: A system is required if a value is provided. + + org-3: The telecom of an organization can never be of use 'home' - - Inv-1: If present, start SHALL have a lower value than end + + cpt-2: A system is required if a value is provided. - - Inv-2: An address of an organization can never be of use 'home' + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + org-2: An address of an organization can never be of use 'home' - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-2: A system is required if a value is provided. + + cpt-2: A system is required if a value is provided. - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/other.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/other.sch index ae390d80384..99b4f30cec1 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/other.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/other.sch @@ -1,52 +1,69 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Other - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/patient.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/patient.sch index 6abf4df417c..9e0ea0a9659 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/patient.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/patient.sch @@ -1,136 +1,138 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Patient - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-2: A system is required if a value is provided. + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + cpt-2: A system is required if a value is provided. - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: It the Attachment has data, it SHALL have a contentType + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL at least contain a contact's details or a reference to an organization + + att-1: It the Attachment has data, it SHALL have a contentType - - Inv-2: Only one coding in a set can be chosen directly by the user + + pat-1: SHALL at least contain a contact's details or a reference to an organization - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-2: A system is required if a value is provided. + + cpt-2: A system is required if a value is provided. - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/paymentnotice.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/paymentnotice.sch index bbc24196e97..032d4d238ac 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/paymentnotice.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/paymentnotice.sch @@ -1,70 +1,81 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + PaymentNotice - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/paymentreconciliation.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/paymentreconciliation.sch index d6854ec084e..71bd17cf7d8 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/paymentreconciliation.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/paymentreconciliation.sch @@ -1,100 +1,105 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + PaymentReconciliation - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present - - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/person.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/person.sch index 52ea606ae8a..345d2578f7c 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/person.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/person.sch @@ -1,58 +1,78 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Person - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-2: A system is required if a value is provided. + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + cpt-2: A system is required if a value is provided. - - Inv-1: It the Attachment has data, it SHALL have a contentType + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + att-1: It the Attachment has data, it SHALL have a contentType - + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/practitioner.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/practitioner.sch index a78bc5041b8..95cc90d69be 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/practitioner.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/practitioner.sch @@ -1,109 +1,120 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Practitioner - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-2: A system is required if a value is provided. + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + cpt-2: A system is required if a value is provided. - - Inv-1: It the Attachment has data, it SHALL have a contentType + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + att-1: It the Attachment has data, it SHALL have a contentType - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/procedure.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/procedure.sch index f290c770281..c9bb8d97c1b 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/procedure.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/procedure.sch @@ -1,100 +1,135 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Procedure - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - + + cod-1: If a valueSet is provided, a system URI Is required + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/procedurerequest.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/procedurerequest.sch index c927ab7b0a8..d6b55987fbe 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/procedurerequest.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/procedurerequest.sch @@ -1,101 +1,115 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + ProcedureRequest - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: There can only be a repeat element if there is none or one event + + tim-3: Either frequency or when can exist, not both + tim-1: if there's a duration, there needs to be duration units + tim-2: if there's a period, there needs to be duration units + tim-6: If there's a periodMax, there must be a period + tim-7: If there's a durationMax, there must be a duration - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-3: At most, only one of count or end can be present - Inv-2: Either frequency or when SHALL be present, but not both + + tim-4: duration SHALL be a non-negative value - - Inv-4: duration SHALL be a positive value + + tim-5: period SHALL be a non-negative value - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/processrequest.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/processrequest.sch new file mode 100644 index 00000000000..d70826db4cc --- /dev/null +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/processrequest.sch @@ -0,0 +1,81 @@ + + + + + + + Global + + global-1: All FHIR elements must have a @value or children + + + + ProcessRequest + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + per-1: If present, start SHALL have a lower value than end + + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/processresponse.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/processresponse.sch new file mode 100644 index 00000000000..f7237cbc993 --- /dev/null +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/processresponse.sch @@ -0,0 +1,87 @@ + + + + + + + Global + + global-1: All FHIR elements must have a @value or children + + + + ProcessResponse + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ref-1: SHALL have a local reference if the resource is provided inline + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/provenance.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/provenance.sch index de144a24d7d..da044e1440d 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/provenance.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/provenance.sch @@ -1,67 +1,84 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Provenance - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/questionnaire.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/questionnaire.sch index 6a26fc6dffb..0d6f94aa7d3 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/questionnaire.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/questionnaire.sch @@ -1,58 +1,78 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Questionnaire - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: The link ids for groups and questions must be unique within the questionnaire + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + que-2: The link ids for groups and questions must be unique within the questionnaire - - Inv-1: Groups may either contain questions or groups but not both + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + cpt-2: A system is required if a value is provided. - - Inv-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + que-1: Groups may either contain questions or groups but not both - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - + + cod-1: If a valueSet is provided, a system URI Is required + + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/questionnaireanswers.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/questionnaireanswers.sch index e330bb85bd5..4eb1b81472c 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/questionnaireanswers.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/questionnaireanswers.sch @@ -1,73 +1,90 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + QuestionnaireAnswers - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: Groups may either contain questions or groups but not both + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: It the Attachment has data, it SHALL have a contentType + + qan-1: Groups may either contain questions or groups but not both - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + att-1: It the Attachment has data, it SHALL have a contentType - - Inv-3: If a code for the units is present, the system SHALL also be present + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/referralrequest.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/referralrequest.sch index 97f02ec51cd..57a8e031037 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/referralrequest.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/referralrequest.sch @@ -1,100 +1,105 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + ReferralRequest - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: If present, start SHALL have a lower value than end - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/relatedperson.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/relatedperson.sch index 9fad7a3b5f1..7c782d331f0 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/relatedperson.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/relatedperson.sch @@ -1,67 +1,84 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + RelatedPerson - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: A system is required if a value is provided. + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + cpt-2: A system is required if a value is provided. - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: It the Attachment has data, it SHALL have a contentType + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + att-1: It the Attachment has data, it SHALL have a contentType - + + per-1: If present, start SHALL have a lower value than end + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/riskassessment.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/riskassessment.sch index 74628fd396f..940b7565f02 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/riskassessment.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/riskassessment.sch @@ -1,105 +1,116 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + RiskAssessment - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Must be <= 100 + + ras-2: Must be <= 100 - - Inv-1: low and high must be percentages, if present + + ras-1: low and high must be percentages, if present - - Inv-3: Quantity values cannot have a comparator when used in a Range - Inv-2: If present, low SHALL have a lower value than high + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + rng-2: If present, low SHALL have a lower value than high + rng-3: Quantity values cannot have a comparator when used in a Range - - Inv-3: Quantity values cannot have a comparator when used in a Range - Inv-2: If present, low SHALL have a lower value than high + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/schedule.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/schedule.sch index d534dc4e33a..5cd44214d1a 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/schedule.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/schedule.sch @@ -1,52 +1,69 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Schedule - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - + + per-1: If present, start SHALL have a lower value than end + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/searchparameter.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/searchparameter.sch index 66f9fe0da77..44d3f2aa994 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/searchparameter.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/searchparameter.sch @@ -1,37 +1,57 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + SearchParameter - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: A system is required if a value is provided. + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/slot.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/slot.sch index 1d723157a46..a38b46c8091 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/slot.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/slot.sch @@ -1,49 +1,66 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Slot - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/specimen.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/specimen.sch index 2b707adc0b1..849a9dc3650 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/specimen.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/specimen.sch @@ -1,130 +1,135 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Specimen - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-3: If a code for the units is present, the system SHALL also be present + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-3: If a code for the units is present, the system SHALL also be present + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required - - - Inv-1: SHALL have a local reference if the resource is provided inline - - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/structuredefinition.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/structuredefinition.sch new file mode 100644 index 00000000000..abb6995f1f9 --- /dev/null +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/structuredefinition.sch @@ -0,0 +1,154 @@ + + + + + + + Global + + global-1: All FHIR elements must have a @value or children + + + + StructureDefinition + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative + + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + cod-1: If a valueSet is provided, a system URI Is required + + + sdf-5: If the type is 'extension' then the structure must have context information + sdf-4: A structure must have a base unless it’s type is 'abstract' + sdf-7: If the type is Resource or Type, the url has to start with "http://hl7.org/fhir/StructureDefinition/" and the tail must match the name + sdf-6: A structure must have either a differential, or a snapshot (or both) + sdf-8: In any snapshot or differential, all the elements except the first have to have a path that starts with the path of the first + "." + + + per-1: If present, start SHALL have a lower value than end + + + ref-1: SHALL have a local reference if the resource is provided inline + + + ccc-2: Only one coding in a set can be chosen directly by the user + + + cod-1: If a valueSet is provided, a system URI Is required + + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + cod-1: If a valueSet is provided, a system URI Is required + + + sdf-2: Must have at a name or a uri (or both) + + + sdf-1: Element paths must be unique - or not (LM) + sdf-3: If a structure is a snapshot, then each element definition must have a formal definition, and cardinalities + + + eld-13: Types must be unique by the combination of code and profile + eld-14: Constraints must be unique by key + eld-11: Binding can only be present for coded elements, string, and uri + eld-8: Pattern and value are mutually exclusive + eld-15: Constraint names must be unique. + eld-16: default value and meaningWhenMissing are mutually exclusive + eld-2: Min <= Max + eld-7: Pattern may only be specified if there is one type + eld-6: Fixed value may only be specified if there is one type + eld-5: Either a namereference or a fixed value (but not both) is permitted + + + cod-1: If a valueSet is provided, a system URI Is required + + + eld-1: If there are no discriminators, there must be a definition + + + eld-3: Max SHALL be a number or "*" + + + eld-4: Aggregation may only be specified if one of the allowed types for the element is a resource + + + eld-9: Example value sets are always extensible + eld-10: provide either a reference or a description (or both) + + + eld-12: uri SHALL start with http:// or https:// + + + ref-1: SHALL have a local reference if the resource is provided inline + + + eld-13: Types must be unique by the combination of code and profile + eld-14: Constraints must be unique by key + eld-11: Binding can only be present for coded elements, string, and uri + eld-8: Pattern and value are mutually exclusive + eld-15: Constraint names must be unique. + eld-16: default value and meaningWhenMissing are mutually exclusive + eld-2: Min <= Max + eld-7: Pattern may only be specified if there is one type + eld-6: Fixed value may only be specified if there is one type + eld-5: Either a namereference or a fixed value (but not both) is permitted + + + cod-1: If a valueSet is provided, a system URI Is required + + + eld-1: If there are no discriminators, there must be a definition + + + eld-3: Max SHALL be a number or "*" + + + eld-4: Aggregation may only be specified if one of the allowed types for the element is a resource + + + eld-9: Example value sets are always extensible + eld-10: provide either a reference or a description (or both) + + + eld-12: uri SHALL start with http:// or https:// + + + ref-1: SHALL have a local reference if the resource is provided inline + + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/subscription.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/subscription.sch index 9e264c6df21..bd60f720cf8 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/subscription.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/subscription.sch @@ -1,37 +1,60 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Subscription - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: A system is required if a value is provided. + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - + + cpt-2: A system is required if a value is provided. + + + per-1: If present, start SHALL have a lower value than end + + + cod-1: If a valueSet is provided, a system URI Is required + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/substance.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/substance.sch index e0fcb03e867..dafe65d4dbe 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/substance.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/substance.sch @@ -1,61 +1,78 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Substance - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-3: If a code for the units is present, the system SHALL also be present + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: numerator and denominator SHALL both be present, or both be absent + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-3: If a code for the units is present, the system SHALL also be present + + rat-1: numerator and denominator SHALL both be present, or both be absent. If both are absent, there SHALL be some extension present - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + qty-3: If a code for the units is present, the system SHALL also be present - + + ref-1: SHALL have a local reference if the resource is provided inline + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/supply.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/supply.sch index 6d65449d6db..87b5a336c20 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/supply.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/supply.sch @@ -1,88 +1,99 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + Supply - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: Only one coding in a set can be chosen directly by the user + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If present, start SHALL have a lower value than end + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If present, start SHALL have a lower value than end + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline - - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/supportingdocumentation.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/supportingdocumentation.sch index 658aa750901..bff7b228aea 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/supportingdocumentation.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/supportingdocumentation.sch @@ -1,76 +1,90 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + SupportingDocumentation - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: It the Attachment has data, it SHALL have a contentType + + att-1: It the Attachment has data, it SHALL have a contentType - + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/tombstone.xsd b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/tombstone.xsd deleted file mode 100644 index 8c144525143..00000000000 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/tombstone.xsd +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/valueset.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/valueset.sch index 1232ae78608..00626bae815 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/valueset.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/valueset.sch @@ -1,66 +1,89 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + ValueSet - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: A value set with only one import SHALL also have an include and/or an exclude unless the value set defines its own codes - Inv-7: A defined code system (if present) SHALL have a different identifier to the value set itself - Inv-5: Value set SHALL contain either a define, a compose, or an expansion element + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-2: A system is required if a value is provided. + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + vsd-7: A defined code system (if present) SHALL have a different identifier to the value set itself + vsd-5: Value set SHALL contain either a define, a compose, or an expansion element + vsd-2: A value set with only one import SHALL also have an include and/or an exclude unless the value set defines its own codes - - Inv-3: Within a code system definition, all the codes SHALL be unique - Inv-8: Codes must be unique + + per-1: If present, start SHALL have a lower value than end - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: A value set composition SHALL have an include or an import + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cpt-2: A system is required if a value is provided. - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-10: Must have a system if a code is present - Inv-6: SHALL have a code or a display - Inv-9: Must have a code if not abstract + + vsd-8: Codes must be unique + vsd-3: Within a code system definition, all the codes SHALL be unique - + + cod-1: If a valueSet is provided, a system URI Is required + + + vsd-1: A value set composition SHALL have an include or an import + + + vsd-9: Must have a code if not abstract + vsd-6: SHALL have a code or a display + vsd-10: Must have a system if a code is present + + diff --git a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/visionprescription.sch b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/visionprescription.sch index 0cb44d3cef2..97dbaf6d3e1 100644 --- a/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/visionprescription.sch +++ b/hapi-fhir-structures-dstu2/src/main/resources/ca/uhn/fhir/model/dstu2/schema/visionprescription.sch @@ -1,67 +1,81 @@ - + + + Global + + global-1: All FHIR elements must have a @value or children + + VisionPrescription - - Inv-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource - Inv-2: If the resource is contained in another resource, it SHALL not contain nested Resources - Inv-1: If the resource is contained in another resource, it SHALL not contain any narrative + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - Inv-2: The narrative SHALL have some non-whitespace content - Inv-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + dom-4: If a resource is contained in another resource, it SHALL not have a meta.versionId or a meta.lastUpdated + dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource + dom-2: If the resource is contained in another resource, it SHALL not contain nested Resources + dom-1: If the resource is contained in another resource, it SHALL not contain any narrative - - Inv-1: SHALL have a local reference if the resource is provided inline + + txt-2: The narrative SHALL have some non-whitespace content + txt-1: The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes + txt-3: The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes - - Inv-1: If a valueSet is provided, a system URI Is required + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If present, start SHALL have a lower value than end + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: SHALL have a local reference if the resource is provided inline + + per-1: If present, start SHALL have a lower value than end - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-2: Only one coding in a set can be chosen directly by the user + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + ccc-2: Only one coding in a set can be chosen directly by the user - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-1: If a valueSet is provided, a system URI Is required + + ref-1: SHALL have a local reference if the resource is provided inline - - Inv-1: SHALL have a local reference if the resource is provided inline + + cod-1: If a valueSet is provided, a system URI Is required - - Inv-3: If a code for the units is present, the system SHALL also be present + + qty-3: If a code for the units is present, the system SHALL also be present - + diff --git a/hapi-fhir-structures-dstu2/src/test/java/ca/uhn/fhir/validation/ResourceValidatorTest.java b/hapi-fhir-structures-dstu2/src/test/java/ca/uhn/fhir/validation/ResourceValidatorTest.java index e95587dfcbb..c3d7d2c4f00 100644 --- a/hapi-fhir-structures-dstu2/src/test/java/ca/uhn/fhir/validation/ResourceValidatorTest.java +++ b/hapi-fhir-structures-dstu2/src/test/java/ca/uhn/fhir/validation/ResourceValidatorTest.java @@ -102,7 +102,7 @@ public class ResourceValidatorTest { } catch (ValidationFailureException e) { String encoded = ourCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(e.getOperationOutcome()); ourLog.info(encoded); - assertThat(encoded, containsString("Inv-3: At most, only one of count or end can be present")); + assertThat(encoded, containsString("Invalid content was found starting with element 'end'")); } } @@ -124,7 +124,7 @@ public class ResourceValidatorTest { OperationOutcome operationOutcome = (OperationOutcome) validationResult.getOperationOutcome(); ourLog.info(ourCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(operationOutcome)); assertEquals(1, operationOutcome.getIssue().size()); - assertThat(operationOutcome.getIssueFirstRep().getDetails(), containsString("Inv-2: A system is required if a value is provided.")); + assertThat(operationOutcome.getIssueFirstRep().getDetails(), containsString("A system is required if a value is provided.")); p.getTelecomFirstRep().setSystem(ContactPointSystemEnum.EMAIL); validationResult = val.validateWithResult(p); @@ -170,7 +170,7 @@ public class ResourceValidatorTest { OperationOutcome operationOutcome = (OperationOutcome) validationResult.getOperationOutcome(); String encoded = ourCtx.newXmlParser().setPrettyPrint(true).encodeResourceToString(operationOutcome); ourLog.info(encoded); - assertThat(encoded, containsString("Inv-3: At most, only one of count or end can be present")); + assertThat(encoded, containsString("Invalid content was found starting with element 'end'")); } private FhirValidator createFhirValidator() { diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderStructuresMojo.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderStructuresMojo.java index 8bea8eee1a5..ae64c8ee9c3 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderStructuresMojo.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderStructuresMojo.java @@ -227,8 +227,7 @@ public class TinderStructuresMojo extends AbstractMojo { String dtOutputDir = "target/generated-sources/tinder/ca/uhn/fhir/model/dev/composite"; ResourceGeneratorUsingSpreadsheet rp = new ResourceGeneratorUsingSpreadsheet("dstu2", "."); - rp.setBaseResourceNames(Arrays.asList( "auditevent" - + rp.setBaseResourceNames(Arrays.asList( "composition", "list" // //, "contract" // "valueset", "organization", "location" // , "observation", "conformance" diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/model/Child.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/model/Child.java index 9ed8955497c..b565d81f08e 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/model/Child.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/model/Child.java @@ -107,7 +107,7 @@ public abstract class Child extends BaseElement { if ("Any".equals(next)) { next = "IResource"; } - retVal.add(next); + retVal.add(Resource.correctName(next)); // retVal.add(next + getTypeSuffix()); } return retVal; diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/model/Resource.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/model/Resource.java index bd04cf1252d..1b53906c08c 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/model/Resource.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/model/Resource.java @@ -5,11 +5,19 @@ public class Resource extends BaseRootType { @Override public void setElementName(String theName) { super.setElementName(theName); + String name = correctName(theName); + setDeclaringClassNameComplete(name); + } + + public static String correctName(String theName) { String name = theName; if ("List".equals(name)) { name="ListResource"; } - setDeclaringClassNameComplete(name); + if (name.endsWith(".List")) { + name = name + "Resource"; + } + return name; } } diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/model/SearchParameter.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/model/SearchParameter.java index 7aa4ad84941..b91e2aa668a 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/model/SearchParameter.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/model/SearchParameter.java @@ -89,7 +89,11 @@ public class SearchParameter { if (myTargetTypes == null) { return Collections.emptyList(); } - return myTargetTypes; + ArrayList retVal = new ArrayList(); + for (String i : myTargetTypes) { + retVal.add(Resource.correctName(i)); + } + return retVal; } public String getType() { diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/parser/BaseStructureParser.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/parser/BaseStructureParser.java index 27a7a761345..501e10f3db1 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/parser/BaseStructureParser.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/parser/BaseStructureParser.java @@ -209,19 +209,21 @@ public abstract class BaseStructureParser { } private String doScanForImportNamesAndReturnFqn(String theNextType) throws MojoFailureException { - if ("Any".equals(theNextType)) { + String nextType = Resource.correctName(theNextType); + + if ("Any".equals(nextType)) { return (IResource.class.getCanonicalName()); } - if ("ExtensionDt".equals(theNextType)) { + if ("ExtensionDt".equals(nextType)) { return (ExtensionDt.class.getCanonicalName()); } // if ("ResourceReferenceDt".equals(theNextType)) { // return "ca.uhn.fhir.model." + myVersion + ".composite." + ResourceReferenceDt.class.getSimpleName(); // } - if ("ResourceDt".equals(theNextType)) { + if ("ResourceDt".equals(nextType)) { return IResource.class.getCanonicalName(); } - if ("Binary".equals(theNextType)) { + if ("Binary".equals(nextType)) { return "ca.uhn.fhir.model." + myVersion + ".resource." + Binary.class.getSimpleName(); } // if ("BoundCodeableConceptDt".equals(theNextType)) { @@ -230,55 +232,55 @@ public abstract class BaseStructureParser { // QuantityCompararatorEnum // QuantityComparatorEnum - if (myLocallyDefinedClassNames.containsKey(theNextType)) { - return (theNextType); + if (myLocallyDefinedClassNames.containsKey(nextType)) { + return nextType; } else { try { - String type = myPackageBase + ".composite." + theNextType; + String type = myPackageBase + ".composite." + nextType; Class.forName(type); return (type); } catch (ClassNotFoundException e) { try { - String type = "ca.uhn.fhir.model." + myVersion + ".composite." + theNextType; + String type = "ca.uhn.fhir.model." + myVersion + ".composite." + nextType; Class.forName(type); return (type); } catch (ClassNotFoundException e5) { try { - String type = "ca.uhn.fhir.model." + myVersion + ".resource." + theNextType; + String type = "ca.uhn.fhir.model." + myVersion + ".resource." + nextType; Class.forName(type); return (type); } catch (ClassNotFoundException e1) { try { - String type = "ca.uhn.fhir.model.primitive." + theNextType; + String type = "ca.uhn.fhir.model.primitive." + nextType; Class.forName(type); return (type); } catch (ClassNotFoundException e2) { try { - String type = myPackageBase + ".valueset." + theNextType; + String type = myPackageBase + ".valueset." + nextType; Class.forName(type); return (type); } catch (ClassNotFoundException e3) { try { - String type = "ca.uhn.fhir.model.api." + theNextType; + String type = "ca.uhn.fhir.model.api." + nextType; Class.forName(type); return (type); } catch (ClassNotFoundException e4) { try { - String type = "ca.uhn.fhir.model." + myVersion + ".valueset." + theNextType; + String type = "ca.uhn.fhir.model." + myVersion + ".valueset." + nextType; Class.forName(type); return (type); } catch (ClassNotFoundException e6) { - String fileName = myBaseDir + "/src/main/java/" + myPackageBase.replace('.', '/') + "/composite/" + theNextType + ".java"; + String fileName = myBaseDir + "/src/main/java/" + myPackageBase.replace('.', '/') + "/composite/" + nextType + ".java"; File file = new File(fileName); if (file.exists()) { - return myPackageBase + ".composite." + theNextType; + return myPackageBase + ".composite." + nextType; } - fileName = myBaseDir + "/src/main/java/ca/uhn/fhir/model/primitive/" + theNextType + ".java"; + fileName = myBaseDir + "/src/main/java/ca/uhn/fhir/model/primitive/" + nextType + ".java"; file = new File(fileName); if (file.exists()) { - return "ca.uhn.fhir.model.primitive." + theNextType; + return "ca.uhn.fhir.model.primitive." + nextType; } - throw new MojoFailureException("Unknown type: " + theNextType + " - Have locally defined names: " + new TreeSet(myLocallyDefinedClassNames.keySet())); + throw new MojoFailureException("Unknown type: " + nextType + " - Have locally defined names: " + new TreeSet(myLocallyDefinedClassNames.keySet())); } } } @@ -391,13 +393,6 @@ public abstract class BaseStructureParser { myExtensions = theExts; } - private String translateClassName(String theName) { - if ("List".equals(theName)) { - return "ListResource"; - } - return theName; - } - private void write(BaseRootType theResource, File theFile, String thePackageBase) throws IOException, MojoFailureException { FileWriter w = new FileWriter(theFile, false); @@ -405,6 +400,7 @@ public abstract class BaseStructureParser { ArrayList imports = new ArrayList(); for (String next : myImports) { + next = Resource.correctName(next); if (next.contains(".")) { imports.add(next); } else { @@ -498,7 +494,7 @@ public abstract class BaseStructureParser { // File f = new File(theOutputDirectory, (next.getDeclaringClassNameComplete()) /*+ getFilenameSuffix()*/ + // ".java"); - String elementName = translateClassName(next.getElementName()); + String elementName = Resource.correctName(next.getElementName()); File f = new File(theOutputDirectory, elementName + getFilenameSuffix() + ".java"); try { write(next, f, thePackageBase); diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/parser/DatatypeGeneratorUsingSpreadsheet.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/parser/DatatypeGeneratorUsingSpreadsheet.java index 829703f9ddf..2ffc66d4d85 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/parser/DatatypeGeneratorUsingSpreadsheet.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/parser/DatatypeGeneratorUsingSpreadsheet.java @@ -108,6 +108,7 @@ public class DatatypeGeneratorUsingSpreadsheet extends BaseStructureSpreadsheetP retVal.add(("/dt/" + version + "/elementdefinition.xml")); retVal.add(("/dt/" + version + "/reference.xml")); retVal.add(("/dt/" + version + "/timing.xml")); + retVal.add(("/dt/" + version + "/signature.xml")); } return retVal; diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/util/SyncUtil.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/util/SyncUtil.java new file mode 100644 index 00000000000..902aa638bf3 --- /dev/null +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/util/SyncUtil.java @@ -0,0 +1,34 @@ +package ca.uhn.fhir.tinder.util; + +import java.io.File; +import java.io.FileNotFoundException; +import java.io.FileReader; +import java.io.FileWriter; + +import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.model.dstu2.composite.NarrativeDt; +import ca.uhn.fhir.model.dstu2.resource.BaseResource; +import ca.uhn.fhir.model.dstu2.resource.Bundle; +import ca.uhn.fhir.model.dstu2.resource.Bundle.Entry; + +public class SyncUtil { +private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(SyncUtil.class); + public static void main(String[] args) throws Exception { + FhirContext ctx = FhirContext.forDstu2(); + + String fileName = "src/main/resources/vs/dstu2/all-valuesets-bundle.xml"; + FileReader fr = new FileReader(fileName); + Bundle b = ctx.newXmlParser().parseResource(Bundle.class, fr); + for (Entry nextEntry : b.getEntry()) { + BaseResource nextRes = (BaseResource) nextEntry.getResource(); + nextRes.setText(new NarrativeDt()); + } + + FileWriter fw = new FileWriter(new File(fileName), false); + ctx.newXmlParser().encodeResourceToWriter(b, fw); + fw.close(); + + ourLog.info("Fixed {} valuesets", b.getEntry().size()); + } + +} diff --git a/hapi-tinder-plugin/src/main/resources/res/dstu2/account-spreadsheet.xml b/hapi-tinder-plugin/src/main/resources/res/dstu2/account-spreadsheet.xml index 0fb1e34d61c..287be4c49ae 100644 --- a/hapi-tinder-plugin/src/main/resources/res/dstu2/account-spreadsheet.xml +++ b/hapi-tinder-plugin/src/main/resources/res/dstu2/account-spreadsheet.xml @@ -5665,9 +5665,9 @@ - + - + diff --git a/hapi-tinder-plugin/src/main/resources/res/dstu2/alert-spreadsheet.xml b/hapi-tinder-plugin/src/main/resources/res/dstu2/alert-spreadsheet.xml index e6794c896f1..af388af2bde 100644 --- a/hapi-tinder-plugin/src/main/resources/res/dstu2/alert-spreadsheet.xml +++ b/hapi-tinder-plugin/src/main/resources/res/dstu2/alert-spreadsheet.xml @@ -20,11 +20,11 @@ Macintosh HD:Users:cnanjo:repository:fhir:trunk:build:source:alert:InvariantsInvariants - 1815 - 20115 + 10425 + 2677500 - 6 + 1 False False @@ -963,7 +963,8 @@ Alert - + Barriers to Care DomainResource - Alert.subjectAlert.patient 1..1600 600 + 1 @@ -3616,8 +3618,7 @@ 0 - 7 - 13 + 2 False @@ -4388,21 +4389,21 @@ subject reference - Alert.subject + Alert.patient The identity of a subject to list alerts for patient reference - Alert.subject + Alert.patient The identity of a subject to list alerts for - + author + reference - - + Alert.author @@ -4620,7 +4621,8 @@ 0 - 0 + 3 + 3 False @@ -5757,9 +5759,9 @@ - + - +
-4150 - 1 @@ -6188,21 +6189,26 @@ ss:Name="_FilterDatabase"/> - - - - + General + Example of alert + example + alert-example.xml - + Y - + QICore Alert - - - - + Example of QICore Alert + qicore + alert-qicore-example.xml + alert-qicore @@ -6571,7 +6577,8 @@ 0 - 0 + 2 + 6 False @@ -6591,11 +6598,16 @@ "xml,csv,tool" - R2C6:R40C6 + R2C6,R4C6:R40C6 List "Profiles!A2:A40" + + R3C6 + List + Profiles!R2C1:R20C1 + diff --git a/hapi-tinder-plugin/src/main/resources/res/dstu2/allergyintolerance-spreadsheet.xml b/hapi-tinder-plugin/src/main/resources/res/dstu2/allergyintolerance-spreadsheet.xml index 6fb48b017d1..ff645f2815f 100644 --- a/hapi-tinder-plugin/src/main/resources/res/dstu2/allergyintolerance-spreadsheet.xml +++ b/hapi-tinder-plugin/src/main/resources/res/dstu2/allergyintolerance-spreadsheet.xml @@ -7,20 +7,20 @@ xmlns:html="http://www.w3.org/TR/REC-html40"> Grahame - Claude Nanjo + Grahame 2012-03-19T11:12:07Z - 2015-02-28T06:43:57Z + 2015-03-21T19:33:55Z 14.00 - 4425 - 26445 + 10425 + 26775 0 0 - 6 + 1 False False @@ -834,9 +834,9 @@ + ss:RefersTo="='Data Elements'!R1C1:R101C24" ss:Hidden="1"/> -
@@ -1094,7 +1094,7 @@ - AllergyIntolerance.subjectAllergyIntolerance.patient Patient @@ -1128,6 +1128,41 @@ + + AllergyIntolerance.reporter + Source; Informant + 0..1 + + Reference(Patient | RelatedPerson | Practitioner) + + Y + + who.source + + + + + Source of the information about the allergy + The source of the information about the allergy that is recorded + + The recorder takes repsonsibility for the content, but can reference the source from where they got it + + + + + + + + AllergyIntolerance.substance @@ -3717,10 +3752,11 @@ 600 600 + 1 - 1 + 2 1 1 0 @@ -3733,11 +3769,11 @@ 2 + 1 0 - 2 - 8 + 7 False @@ -3745,7 +3781,7 @@ 0 - R2C22:R100C22 + R2C22:R101C22 List "left,right,up,down,[xpixels];[ypixels]" @@ -3753,21 +3789,21 @@ Info - R2C19:R100C21 + R2C19:R101C21 List "N/A" - R2C8:R100C9 + R2C8:R101C9 List "Bindings!A2..A30" - R3C6:R100C7 + R3C6:R101C7 List "Y,N" @@ -3779,14 +3815,14 @@ "DomainResource,Type,Resource,Structure" - R3C5:R100C5 + R3C5:R101C5 List "*,Reference(A|B),boolean,string,code,id,oid,uuid,integer,decimal,date,dateTime,time,instant,uri,base64Binary,CodeableConcept,Coding,Identifier,Period,Timing,Range,Quantity,Age,Distance,Duration,Count,Money,Ratio,HumanName,Address,ContactPoint,SampledData" - R2C3:R100C3 + R2C3:R101C3 List "0..1,1..1,0..*,1..*" @@ -3797,101 +3833,277 @@ Invariantids - - R2C14:R100C14 + R10C14:R101C14 - (R[1048574]C1="")<>(R[1048574]C[16358]="") + (R[-2]C1="")<>(R[-2]C[16358]="") - R2C1:R100C24 + R10C1:R101C24 - R[1048574]C3="0..0" + R[-2]C3="0..0" - AND(R[1048574]C<>"",R[1048574]C1="") + AND(R[-2]C<>"",R[-2]C1="") - R2C1:R100C1 + R11C1:R101C1 - AND(R[1048574]C<>"",R[1048573]C="") + AND(R[-2]C<>"",R[-3]C="") + + + + + R3C3:R7C3,R10C3:R101C3,R10C15:R101C15 + + (R[-2]C1="")<>(R[-2]C[16380]="") + + + + + R10C10:R101C10,R10C13:R101C13 + + AND(SEARCH("|",R[-2]C5)<>0,R[-2]C[16366]<>"") + + + + + R10C11:R101C11,R10C13:R101C13 + + AND(R[-2]C[16364]<>"",NOT(EXACT(LEFT(R[-2]C5,1),LOWER(LEFT(R[-2]C5,1))))) + + + + + R10C11:R101C12 + + AND(R[-2]C11<>"",R[-2]C12<>"") + + + + + R10C14:R101C15 + + AND(R[-2]C14<>"",R[-2]C14=R[-2]C15) + + + + + R12C19:R101C20 + + AND(R[-4]C1<>"",ISERR(SEARCH("N/A",R2C[16348])),R[-4]C[16348]="") + + + + + R10C22:R101C22 + + AND(R[-2]C[16342]<>"",LEFT(R[-2]C5,1)<>"@",LEFT(R[-1]C1,LEN(R[-2]C1)+1)<>(R[-2]C1&"."),LEFT(R[-1]C1,LEN(R[-2]C1)+2)<>("!"&R[-2]C1&".")) + + + + + R10C1:R101C24 + + LEFT(R[-2]C1,1)="!" + + + + + R2C14:R7C14 + + (#REF!="")<>(#REF!="") + + + + + R8C14:R9C14 + + (R[-3]C1="")<>(R[-3]C[16358]="") + + + + + R2C1:R7C24 + + #REF!="0..0" + + + + AND(#REF!<>"",#REF!="") + + + + + R8C1:R9C24 + + R[-3]C3="0..0" + + + + AND(R[-3]C<>"",R[-3]C1="") + + + + + R2C1:R7C1 + + AND(#REF!<>"",R[1048574]C="") + + + + + R8C1:R9C1 + + AND(R[-3]C<>"",R[-4]C="") + + + + + R10C1 + + AND(R[-2]C<>"",R[-4]C="") R2C23,R2C3:R2C4,R2C6:R2C13 - R[1048574]C[16380]<>"" + #REF!<>"" - R3C3:R100C3,R2C15:R100C15 + R8C3:R9C3,R8C15:R9C15 - (R[1048574]C1="")<>(R[1048574]C[16380]="") + (R[-3]C1="")<>(R[-3]C[16380]="") - R2C10:R100C10,R2C13:R100C13 + R2C15:R7C15 - AND(SEARCH("|",R[1048574]C5)<>0,R[1048574]C[16366]<>"") + (#REF!="")<>(#REF!="") - R2C11:R100C11,R2C13:R100C13 + R2C10:R7C10,R2C13:R7C13 - AND(R[1048574]C[16364]<>"",NOT(EXACT(LEFT(R[1048574]C5,1),LOWER(LEFT(R[1048574]C5,1))))) + AND(SEARCH("|",#REF!)<>0,#REF!<>"") - R2C11:R100C12 + R8C10:R9C10,R8C13:R9C13 - AND(R[1048574]C11<>"",R[1048574]C12<>"") + AND(SEARCH("|",R[-3]C5)<>0,R[-3]C[16366]<>"") - R2C14:R100C15 + R2C11:R7C11,R2C13:R7C13 - AND(R[1048574]C14<>"",R[1048574]C14=R[1048574]C15) + AND(#REF!<>"",NOT(EXACT(LEFT(#REF!,1),LOWER(LEFT(#REF!,1))))) + + + + + R8C11:R9C11,R8C13:R9C13 + + AND(R[-3]C[16364]<>"",NOT(EXACT(LEFT(R[-3]C5,1),LOWER(LEFT(R[-3]C5,1))))) + + + + + R2C11:R7C12 + + AND(#REF!<>"",#REF!<>"") + + + + + R8C11:R9C12 + + AND(R[-3]C11<>"",R[-3]C12<>"") + + + + + R2C14:R7C15 + + AND(#REF!<>"",#REF!=#REF!) + + + + + R8C14:R9C15 + + AND(R[-3]C14<>"",R[-3]C14=R[-3]C15) R2C19:R2C20 - R[1048574]C[16348]="" + #REF!="" - R3C19:R100C20 + R3C19:R7C20 - AND(R[1048572]C1<>"",ISERR(SEARCH("N/A",R2C[16348])),R[1048572]C[16348]="") + AND(R[1048573]C1<>"",ISERR(SEARCH("N/A",R2C[16348])),R[1048573]C[16348]="") - R2C22:R100C22 + R8C19:R11C20 - AND(R[1048574]C[16342]<>"",LEFT(R[1048574]C5,1)<>"@",LEFT(R[-1]C1,LEN(R[1048574]C1)+1)<>(R[1048574]C1&"."),LEFT(R[-1]C1,LEN(R[1048574]C1)+2)<>("!"&R[1048574]C1&".")) + AND(R[-5]C1<>"",ISERR(SEARCH("N/A",R2C[16348])),R[-5]C[16348]="") + + + + + R2C22:R7C22 + + AND(#REF!<>"",LEFT(#REF!,1)<>"@",LEFT(R[-1]C1,LEN(#REF!)+1)<>(#REF!&"."),LEFT(R[-1]C1,LEN(#REF!)+2)<>("!"&#REF!&".")) - R2C1:R100C24 + R8C22 - LEFT(R[1048574]C1,1)="!" + AND(R[-3]C[16342]<>"",LEFT(R[-3]C5,1)<>"@",LEFT(R[-2]C1,LEN(R[-3]C1)+1)<>(R[-3]C1&"."),LEFT(R[-2]C1,LEN(R[-3]C1)+2)<>("!"&R[-3]C1&".")) + + + + + R9C22 + + AND(R[-3]C[16342]<>"",LEFT(R[-3]C5,1)<>"@",LEFT(R[-1]C1,LEN(R[-3]C1)+1)<>(R[-3]C1&"."),LEFT(R[-1]C1,LEN(R[-3]C1)+2)<>("!"&R[-3]C1&".")) + + + + + R2C1:R7C24 + + LEFT(#REF!,1)="!" + + + + + R8C1:R9C24 + + LEFT(R[-3]C1,1)="!" @@ -4415,7 +4627,8 @@ 0 - 0 + 29 + 3 False @@ -4425,7 +4638,7 @@ R2C4:R50C4 List - 'Data Elements'!R2C1:R100C1 + 'Data Elements'!R2C1:R101C1 R2C3:R50C3 @@ -4469,7 +4682,7 @@ -
@@ -4596,25 +4809,18 @@ AllergyIntolerance.recorder - - subject - reference - - AllergyIntolerance.subject - - patient reference - AllergyIntolerance.subject + AllergyIntolerance.patient - + reporter + reference - - + AllergyIntolerance.reporter @@ -4734,7 +4940,8 @@ 0 - 0 + 17 + 3 False @@ -4742,7 +4949,7 @@ 0 - R2C2:R30C2 + R2C2:R29C2 List "number,date,string,token,reference,composite,quantity" @@ -4750,58 +4957,212 @@ - R2C1:R30C5 + R18C1:R29C5 - AND(R[1048574]C1="",R[1048574]C<>"") + AND(R[-2]C1="",R[-2]C<>"") - R2C1:R30C1 + R19C1:R29C1 - AND(R[1048573]C="",R[1048574]C<>"") + AND(R[-3]C="",R[-2]C<>"") - R2C2:R30C2 + R18C2:R29C2 - AND(R[1048574]C1<>"",R[1048574]C[16382]="") + AND(R[-2]C1<>"",R[-2]C[16382]="") - R2C3:R30C3 + R18C3:R29C3 - AND(R[1048574]C1<>"reference",R[1048574]C[16380]<>"") + AND(R[-2]C1<>"reference",R[-2]C[16380]<>"") - R2C4:R30C4 + R18C4:R29C4 - AND(R[1048574]C2="reference",R[1048574]C3="",R[1048574]C[16378]="") + AND(R[-2]C2="reference",R[-2]C3="",R[-2]C[16378]="") - R2C4:R30C4 + R18C4:R29C4 - AND(R[1048574]C2="reference",R[1048574]C3<>"",R[1048574]C[16378]="") + AND(R[-2]C2="reference",R[-2]C3<>"",R[-2]C[16378]="") - R2C5:R30C5 + R18C5:R29C5 - AND(R[1048574]C1<>"",R[1048574]C[16376]="",R[1048574]C4="") + AND(R[-2]C1<>"",R[-2]C[16376]="",R[-2]C4="") - R2C1:R30C5 + R18C1:R29C5 - LEFT(R[1048574]C1,1)="!" + LEFT(R[-2]C1,1)="!" + + + + + R2C1:R15C5,R17C4 + + AND(R[1048573]C1="",R[1048573]C<>"") + + + + + R16C1:R16C5,R17C2 + + AND(R[-1]C1="",R[-1]C<>"") + + + + + R17C1,R17C3,R17C5 + + AND(#REF!="",#REF!<>"") + + + + + R2C1:R15C1 + + AND(R[1048572]C="",R[1048573]C<>"") + + + + + R16C1 + + AND(R[-2]C="",R[-1]C<>"") + + + + + R18C1 + + AND(#REF!="",R[-2]C<>"") + + + + + R17C1 + + AND(R[-2]C="",#REF!<>"") + + + + + R2C2:R15C2 + + AND(R[1048573]C1<>"",R[1048573]C[16382]="") + + + + + R16C2:R17C2 + + AND(R[-1]C1<>"",R[-1]C[16382]="") + + + + + R2C3:R15C3 + + AND(R[1048573]C1<>"reference",R[1048573]C[16380]<>"") + + + + + R16C3 + + AND(R[-1]C1<>"reference",R[-1]C[16380]<>"") + + + + + R17C3 + + AND(#REF!<>"reference",#REF!<>"") + + + + + R2C4:R15C4,R17C4 + + AND(R[1048573]C2="reference",R[1048573]C3="",R[1048573]C[16378]="") + + + + + R16C4 + + AND(R[-1]C2="reference",R[-1]C3="",R[-1]C[16378]="") + + + + + R2C4:R15C4,R17C4 + + AND(R[1048573]C2="reference",R[1048573]C3<>"",R[1048573]C[16378]="") + + + + + R16C4 + + AND(R[-1]C2="reference",R[-1]C3<>"",R[-1]C[16378]="") + + + + + R2C5:R15C5 + + AND(R[1048573]C1<>"",R[1048573]C[16376]="",R[1048573]C4="") + + + + + R16C5 + + AND(R[-1]C1<>"",R[-1]C[16376]="",R[-1]C4="") + + + + + R17C5 + + AND(#REF!<>"",#REF!="",#REF!="") + + + + + R2C1:R15C5,R17C4 + + LEFT(R[1048573]C1,1)="!" + + + + + R16C1:R16C5,R17C2 + + LEFT(R[-1]C1,1)="!" + + + + + R17C1,R17C3,R17C5 + + LEFT(#REF!,1)="!" @@ -5871,9 +6232,9 @@ - + - +
150 - 1 - 1 + 16 1 1 0 @@ -6171,6 +6531,7 @@ 2 + 1 0 @@ -6287,12 +6648,12 @@ y - + QICore AllergyIntolerance - - - - + Example of QICore AllergyIntolerance + qicore + allergyintolerance-qicore-example.xml + allergyintolerance-qicore @@ -6647,6 +7008,7 @@ 0 + 3 0 @@ -6667,48 +7029,88 @@ "xml,csv,tool" - R2C6:R40C6 + R2C6:R3C6,R5C6:R40C6 List "Profiles!A2:A40" + + R4C6 + List + Profiles!R2C1:R20C1 + - R2C1:R40C7 + R2C1:R3C7,R5C1:R40C7,R4C7 AND(R[1048574]C1="",R[1048574]C<>"") - R2C1:R40C1 + R2C1:R3C1,R5C1:R40C1 AND(R[1048574]C<>"",R[1048573]C="") - R2C3:R40C3,R2C5:R40C5 + R2C3:R3C3,R2C5:R3C5,R5C5:R40C5,R5C3:R40C3 AND(R[1048574]C1<>"",R[1048574]C[16380]="") - R2C1:R40C7 + R2C1:R3C7,R5C1:R40C7,R4C7 LEFT(R[1048574]C1,1)="!" - R2C4:R40C4 + R2C4:R3C4,R5C4:R40C4 AND(R[1048574]C1<>"",OR(R[1048574]C2="",R[1048574]C2="xml"),R[1048574]C[16378]="") + + R4C1:R4C6 + + AND(R[-3]C1="",R[-3]C<>"") + + + + + R4C1 + + AND(R[-3]C<>"",R[1048572]C="") + + + + + R4C3,R4C5 + + AND(R[-3]C1<>"",R[-3]C[16378]="") + + + + + R4C1:R4C6 + + LEFT(R[-3]C1,1)="!" + + + + + R4C4 + + AND(R[-3]C1<>"",OR(R[-3]C2="",R[-3]C2="xml"),R[-3]C[16375]="") + + + diff --git a/hapi-tinder-plugin/src/main/resources/res/dstu2/appointment-spreadsheet.xml b/hapi-tinder-plugin/src/main/resources/res/dstu2/appointment-spreadsheet.xml index 3844525b692..17e67ea12ab 100644 --- a/hapi-tinder-plugin/src/main/resources/res/dstu2/appointment-spreadsheet.xml +++ b/hapi-tinder-plugin/src/main/resources/res/dstu2/appointment-spreadsheet.xml @@ -9,18 +9,19 @@ Grahame Brian Postlethwaite 2012-03-19T11:12:07Z - 2014-12-07T11:49:40Z + 2015-03-17T01:03:27Z 15.00 - 11660 - 21600 + 8496 + 14724 0 0 1 + 1 False False @@ -291,22 +292,30 @@ - - - - - - - + + - - - - - - + + - - @@ -543,10 +536,26 @@ + + + - - - + + - - - + + - - - - @@ -712,10 +706,25 @@ + + + - - - - - - - - + - + - + - + - - + - - + - - - - + - + - - - + - - - - - - - - - - - - + - - - - - - - - + + - - + + + - + - - - + - - - - - + - + - + - - - - - - - - - - + - + - - - - + - - - @@ -732,10 +717,25 @@ + + + - - - - - - - - - - + - + - + - + - - - + - - + - - - - + - + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + FHIR Resource-authoring Spreadsheet + + + This spreadsheet is used to support the definition of resources or data types (structures). A complete set of instructions on the various tabs, columns and rules associated with populating this spreadsheet can be found here: + + + http://wiki.hl7.org?title=FHIR_Spreadsheet_Authoring + +
+ + +
+