feature: FHIR R4 Inbound Facade

This commit is contained in:
voltsrage
2026-06-21 13:53:38 +08:00
parent 9f96f54007
commit a43db52813
42 changed files with 2873 additions and 3 deletions
@@ -250,6 +250,52 @@ namespace VigilCareClinicalAPI.Migrations
});
});
modelBuilder.Entity("ExternalResourceIdentifier", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uuid")
.HasColumnName("id")
.HasDefaultValueSql("gen_random_uuid()");
b.Property<DateTimeOffset>("CreatedAt")
.ValueGeneratedOnAdd()
.HasColumnType("timestamp with time zone")
.HasColumnName("created_at")
.HasDefaultValueSql("NOW()");
b.Property<Guid>("InternalId")
.HasColumnType("uuid")
.HasColumnName("internal_id");
b.Property<string>("ResourceType")
.IsRequired()
.HasMaxLength(20)
.HasColumnType("character varying(20)")
.HasColumnName("resource_type");
b.Property<string>("System")
.IsRequired()
.HasMaxLength(500)
.HasColumnType("character varying(500)")
.HasColumnName("system");
b.Property<string>("Value")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("character varying(200)")
.HasColumnName("value");
b.HasKey("Id");
b.HasIndex("ResourceType", "InternalId");
b.HasIndex("ResourceType", "System", "Value")
.IsUnique();
b.ToTable("external_resource_identifiers", (string)null);
});
modelBuilder.Entity("GcsScore", b =>
{
b.Property<Guid>("Id")