cqm-models 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.eslintrc.json +1 -1
- data/.travis.yml +1 -0
- data/app/assets/javascripts/AdverseEvent.js +1 -0
- data/app/assets/javascripts/AllergyIntolerance.js +1 -0
- data/app/assets/javascripts/AssessmentPerformed.js +2 -1
- data/app/assets/javascripts/AssessmentRecommended.js +1 -0
- data/app/assets/javascripts/CareGoal.js +2 -1
- data/app/assets/javascripts/CommunicationFromPatientToProvider.js +1 -0
- data/app/assets/javascripts/CommunicationFromProviderToPatient.js +1 -0
- data/app/assets/javascripts/CommunicationFromProviderToProvider.js +1 -0
- data/app/assets/javascripts/Component.js +2 -1
- data/app/assets/javascripts/DeviceApplied.js +1 -0
- data/app/assets/javascripts/DeviceOrder.js +1 -0
- data/app/assets/javascripts/DeviceRecommended.js +1 -0
- data/app/assets/javascripts/Diagnosis.js +1 -0
- data/app/assets/javascripts/DiagnosticStudyOrder.js +1 -0
- data/app/assets/javascripts/DiagnosticStudyPerformed.js +2 -1
- data/app/assets/javascripts/DiagnosticStudyRecommended.js +1 -0
- data/app/assets/javascripts/EncounterOrder.js +1 -0
- data/app/assets/javascripts/EncounterPerformed.js +1 -0
- data/app/assets/javascripts/EncounterRecommended.js +1 -0
- data/app/assets/javascripts/FacilityLocation.js +1 -0
- data/app/assets/javascripts/FamilyHistory.js +1 -0
- data/app/assets/javascripts/Id.js +1 -0
- data/app/assets/javascripts/ImmunizationAdministered.js +1 -0
- data/app/assets/javascripts/ImmunizationOrder.js +1 -0
- data/app/assets/javascripts/InterventionOrder.js +1 -0
- data/app/assets/javascripts/InterventionPerformed.js +2 -1
- data/app/assets/javascripts/InterventionRecommended.js +1 -0
- data/app/assets/javascripts/LaboratoryTestOrder.js +1 -0
- data/app/assets/javascripts/LaboratoryTestPerformed.js +2 -1
- data/app/assets/javascripts/LaboratoryTestRecommended.js +1 -0
- data/app/assets/javascripts/Measure.js +2 -0
- data/app/assets/javascripts/MedicationActive.js +1 -0
- data/app/assets/javascripts/MedicationAdministered.js +1 -0
- data/app/assets/javascripts/MedicationDischarge.js +1 -0
- data/app/assets/javascripts/MedicationDispensed.js +1 -0
- data/app/assets/javascripts/MedicationOrder.js +1 -0
- data/app/assets/javascripts/Participation.js +1 -0
- data/app/assets/javascripts/PatientCareExperience.js +1 -0
- data/app/assets/javascripts/PatientCharacteristic.js +1 -0
- data/app/assets/javascripts/PatientCharacteristicBirthdate.js +1 -0
- data/app/assets/javascripts/PatientCharacteristicClinicalTrialParticipant.js +1 -0
- data/app/assets/javascripts/PatientCharacteristicEthnicity.js +1 -0
- data/app/assets/javascripts/PatientCharacteristicExpired.js +1 -0
- data/app/assets/javascripts/PatientCharacteristicPayer.js +1 -0
- data/app/assets/javascripts/PatientCharacteristicRace.js +1 -0
- data/app/assets/javascripts/PatientCharacteristicSex.js +1 -0
- data/app/assets/javascripts/PhysicalExamOrder.js +1 -0
- data/app/assets/javascripts/PhysicalExamPerformed.js +2 -1
- data/app/assets/javascripts/PhysicalExamRecommended.js +1 -0
- data/app/assets/javascripts/ProcedureOrder.js +1 -0
- data/app/assets/javascripts/ProcedurePerformed.js +2 -1
- data/app/assets/javascripts/ProcedureRecommended.js +1 -0
- data/app/assets/javascripts/ProviderCareExperience.js +1 -0
- data/app/assets/javascripts/ProviderCharacteristic.js +1 -0
- data/app/assets/javascripts/Ratio.js +1 -0
- data/app/assets/javascripts/ResultComponent.js +1 -0
- data/app/assets/javascripts/SubstanceAdministered.js +1 -0
- data/app/assets/javascripts/SubstanceOrder.js +1 -0
- data/app/assets/javascripts/SubstanceRecommended.js +1 -0
- data/app/assets/javascripts/Symptom.js +1 -0
- data/app/assets/javascripts/basetypes/Any.js +50 -0
- data/app/models/qdm/tacoma/measure.rb +2 -0
- data/cqm-models.gemspec +2 -2
- data/dist/index.js +687 -574
- data/lib/generate_models.rb +2 -2
- data/package.json +2 -2
- data/templates/mongoose_template.js.erb +1 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5733809db5163fce86600f334ec039a4e23e1143
|
4
|
+
data.tar.gz: 04aee8cbbffe9662f5975055d7f099c619a2a1c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03b1d7f5efe070d2003d4e8d207173a533877d2e2e4caea6af7e1f764fcaa0b3cdcdd1f6617a907aa1e2800de70e1229cd32d6654b18af8c105f1200f043b585
|
7
|
+
data.tar.gz: dd875d71609c1202a3344e534fd72e18518547825aefa53014f0bd63461912099e916a46bddbdb460d899fd98ba26fbcb44d85308e37301c6e6a4b51b032bb16
|
data/.eslintrc.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"extends": "airbnb-base",
|
3
3
|
"rules": {
|
4
4
|
"max-len": ["error", {"code": 200, "ignoreComments": true}],
|
5
|
-
"no-unused-vars": ["error", { "varsIgnorePattern": "Code|Quantity|Interval|Integer|Array|Float|Time|Number|Date|Mixed" }],
|
5
|
+
"no-unused-vars": ["error", { "varsIgnorePattern": "Code|Quantity|Interval|Integer|Array|Float|Time|Number|Date|Mixed|Any" }],
|
6
6
|
"camelcase": "off",
|
7
7
|
"comma-dangle": ["error", {
|
8
8
|
"arrays": "always-multiline",
|
data/.travis.yml
CHANGED
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -15,7 +16,7 @@ const AssessmentPerformedSchema = DataElementSchema({
|
|
15
16
|
negationRationale: Code,
|
16
17
|
reason: Code,
|
17
18
|
method: Code,
|
18
|
-
result:
|
19
|
+
result: Any,
|
19
20
|
components: [],
|
20
21
|
relatedTo: [String],
|
21
22
|
hqmfOid: { type: String, default: '2.16.840.1.113883.10.20.28.3.117' },
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -13,7 +14,7 @@ const [Number, String] = [
|
|
13
14
|
const CareGoalSchema = DataElementSchema({
|
14
15
|
relevantPeriod: Interval,
|
15
16
|
relatedTo: [String],
|
16
|
-
targetOutcome:
|
17
|
+
targetOutcome: Any,
|
17
18
|
hqmfOid: { type: String, default: '2.16.840.1.113883.10.20.28.3.7' },
|
18
19
|
category: { type: String, default: 'care_goal' },
|
19
20
|
qdmVersion: { type: String, default: '5.3' },
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -12,7 +13,7 @@ const [Number, String] = [
|
|
12
13
|
|
13
14
|
const ComponentSchema = DataElementSchema({
|
14
15
|
code: Code,
|
15
|
-
result:
|
16
|
+
result: Any,
|
16
17
|
qdmVersion: { type: String, default: '5.3' },
|
17
18
|
_type: { type: String, default: 'Component' },
|
18
19
|
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -14,7 +15,7 @@ const DiagnosticStudyPerformedSchema = DataElementSchema({
|
|
14
15
|
authorDatetime: DateTime,
|
15
16
|
relevantPeriod: Interval,
|
16
17
|
reason: Code,
|
17
|
-
result:
|
18
|
+
result: Any,
|
18
19
|
resultDatetime: DateTime,
|
19
20
|
status: Code,
|
20
21
|
method: Code,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -14,7 +15,7 @@ const InterventionPerformedSchema = DataElementSchema({
|
|
14
15
|
authorDatetime: DateTime,
|
15
16
|
relevantPeriod: Interval,
|
16
17
|
reason: Code,
|
17
|
-
result:
|
18
|
+
result: Any,
|
18
19
|
status: Code,
|
19
20
|
negationRationale: Code,
|
20
21
|
hqmfOid: { type: String, default: '2.16.840.1.113883.10.20.28.3.36' },
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -15,7 +16,7 @@ const LaboratoryTestPerformedSchema = DataElementSchema({
|
|
15
16
|
relevantPeriod: Interval,
|
16
17
|
status: Code,
|
17
18
|
method: Code,
|
18
|
-
result:
|
19
|
+
result: Any,
|
19
20
|
resultDatetime: DateTime,
|
20
21
|
reason: Code,
|
21
22
|
referenceRange: Interval,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -52,6 +52,8 @@ const MeasureSchema = mongoose.Schema(
|
|
52
52
|
populations: [Mixed],
|
53
53
|
populations_cql_map: Mixed,
|
54
54
|
observations: [Mixed],
|
55
|
+
// TODO: Depending on how we restructure the Measure/Population object, may be deleted in the future
|
56
|
+
population_ids: Mixed,
|
55
57
|
|
56
58
|
value_sets: [{ type: ObjectId, ref: 'ValueSet' }],
|
57
59
|
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -15,7 +16,7 @@ const PhysicalExamPerformedSchema = DataElementSchema({
|
|
15
16
|
relevantPeriod: Interval,
|
16
17
|
reason: Code,
|
17
18
|
method: Code,
|
18
|
-
result:
|
19
|
+
result: Any,
|
19
20
|
anatomicalLocationSite: Code,
|
20
21
|
negationRationale: Code,
|
21
22
|
components: [],
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -15,7 +16,7 @@ const ProcedurePerformedSchema = DataElementSchema({
|
|
15
16
|
relevantPeriod: Interval,
|
16
17
|
reason: Code,
|
17
18
|
method: Code,
|
18
|
-
result:
|
19
|
+
result: Any,
|
19
20
|
status: Code,
|
20
21
|
anatomicalApproachSite: Code,
|
21
22
|
anatomicalLocationSite: Code,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|
@@ -4,6 +4,7 @@ const Code = require('./basetypes/Code');
|
|
4
4
|
const Interval = require('./basetypes/Interval');
|
5
5
|
const Quantity = require('./basetypes/Quantity');
|
6
6
|
const DateTime = require('./basetypes/DateTime');
|
7
|
+
const Any = require('./basetypes/Any');
|
7
8
|
|
8
9
|
const [Number, String] = [
|
9
10
|
mongoose.Schema.Types.Number,
|