Esempio n. 1
0
        public void ShapedDatasetSchemaExtractor_Encounter_Ok()
        {
            var fields = ShapedDatasetSchemaExtractor.Extract <Encounter>();

            Assert.NotEmpty(fields);
            Assert.Contains(fields, f => f.Name == "personId" && f.Type == LeafType.String);
            Assert.Contains(fields, f => f.Name == "location" && f.Type == LeafType.String);
        }
Esempio n. 2
0
        public void ShapedDatasetSchemaExtractor_Observation_Ok()
        {
            var fields = ShapedDatasetSchemaExtractor.Extract <Observation>();

            Assert.NotEmpty(fields);
            Assert.Contains(fields, f => f.Name == "personId" && f.Type == LeafType.String);
            Assert.Contains(fields, f => f.Name == "effectiveDate" && f.Type == LeafType.DateTime);
        }
Esempio n. 3
0
 MedicationAdministrationContract()
 {
     Shape  = Shape.MedicationRequest;
     Fields = ShapedDatasetSchemaExtractor.Extract <MedicationAdministration>();
 }
Esempio n. 4
0
 AllergyContract()
 {
     Shape  = Shape.Allergy;
     Fields = ShapedDatasetSchemaExtractor.Extract <Allergy>();
 }
Esempio n. 5
0
 ImmunizationContract()
 {
     Shape  = Shape.Immunization;
     Fields = ShapedDatasetSchemaExtractor.Extract <Immunization>();
 }
Esempio n. 6
0
 ProcedureContract()
 {
     Shape  = Shape.Procedure;
     Fields = ShapedDatasetSchemaExtractor.Extract <Procedure>();
 }
Esempio n. 7
0
 ConditionContract()
 {
     Shape  = Shape.Condition;
     Fields = ShapedDatasetSchemaExtractor.Extract <Condition>();
 }
Esempio n. 8
0
 DemographicContract()
 {
     Shape  = Shape.Demographic;
     Fields = ShapedDatasetSchemaExtractor.Extract <PatientDemographic>();
 }
Esempio n. 9
0
 EncounterContract()
 {
     Shape  = Shape.Encounter;
     Fields = ShapedDatasetSchemaExtractor.Extract <Encounter>();
 }
Esempio n. 10
0
 ObservationContract()
 {
     Shape  = Shape.Observation;
     Fields = ShapedDatasetSchemaExtractor.Extract <Observation>();
 }
Esempio n. 11
0
 ConceptDatasetContract()
 {
     Shape  = Shape.Concept;
     Fields = ShapedDatasetSchemaExtractor.Extract <ConceptDataset>();
 }