Skip to content

id:"Base" not present in 4.0.1 #10

@ericprud

Description

@ericprud

Base is the (a?) top-level abstract StructureDefinition from which all Resources are derived. There's a declaration for it in 4.6, but not in 4.0.

for d in FHIR-definitions-{4.0.1,4.6.0-2da64a0}; do
    for p in profiles-{resources,types}.json; do
        jq --arg FILE $d/$p '
          .entry[].resource |
          select(.id=="base" or .id=="Base") |
          [$FILE, .id, .resourceType] |
          join(" -- ")
        ' $d/$p ;
    done ;
done
"FHIR-definitions-4.0.1/profiles-resources.json -- base -- CapabilityStatement"
"FHIR-definitions-4.6.0-2da64a0/profiles-resources.json -- base -- CapabilityStatement"
"FHIR-definitions-4.6.0-2da64a0/profiles-types.json -- Base -- StructureDefinition"

Note that base(all lower case) is a CapabilityStatement, not a StructureDefinition.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions