예제 #1
0
        protected override Profile LoadProfile()
        {
            ProfileBuilder builder = new ProfileBuilder();

            //profile.Add(ProfileFactory.MetaTypesProfile());
            //profile.Add(ProfileFactory.DataTypesProfile());
            builder.Add(StructureFactory.PrimitiveTypes());
            //profile.LoadXMLValueSets("Data\\valuesets.xml");
            //profile.LoadXmlFile("Data\\type-HumanName.profile.xml");
            //profile.LoadXmlFile("Data\\type-Identifier.profile.xml");
            builder.LoadXmlFile("Data\\type-ResourceReference.profile.xml");

            builder.LoadXmlFile("Data\\profile.profile.xml");
            return(builder.ToProfile());
        }
예제 #2
0
        protected override Profile LoadProfile()
        {
            ProfileBuilder builder = new ProfileBuilder();

            //profile.Add(ProfileFactory.MetaTypesProfile());
            //profile.Add(ProfileFactory.DataTypesProfile());
            builder.Add(StructureFactory.PrimitiveTypes());
            builder.Add(StructureFactory.NonFhirNamespaces());
            builder.LoadXMLValueSets("Data\\valuesets.xml");
            builder.LoadXmlFile("Data\\type-Extension.profile.xml");
            builder.LoadXmlFile("Data\\type-HumanName.profile.xml");
            builder.LoadXmlFile("Data\\type-Identifier.profile.xml");
            builder.LoadXmlFile("Data\\type-Narrative.profile.xml");
            builder.LoadXmlFile("Data\\patient.profile.xml");

            return(builder.ToProfile());
        }