+
Skip to content

Ensure StructureMap.status is Included in JSON Conversion of SM #333

Open
@sharon2719

Description

@sharon2719

Problem

Currently, the JSON conversion of a StructureMap does not include the status field. This field should be populated based on the PublicationStatus from FHIR R4, ensuring it correctly reflects whether the structure map is draft or active.

Expected Behavior

  • When converting a StructureMap to JSON, the status field should be included.

  • The status should be derived from PublicationStatus (draft or active).

  • The JSON output should always contain a valid status value.

Solution

Update the JSON conversion logic to extract PublicationStatus and map it to StructureMap.status.

Ensure the field is always present in the JSON output.

Add a test case to verify that status is correctly assigned during conversion.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载