Arek
11/30/2025, 2:51 AMid: medplum-example-profiles
canonical: https://medplum.com/profiles/example-fsh-profiles
version: 1.0.0
name: MedplumExampleProfiles
title: "Medplum Example FSH Profiles"
description: "Example FHIR profiles for Medplum using FSH"
fhirVersion: 4.0.1
copyrightYear: 2024+
releaseLabel: STU1
status: active
Unfortunately my output files have no snapshot field. I can upload it successfully by importing json and doing
const res = await medplum.createResource(fsh);
but when I try to validate against it by adding
resourceType: 'Patient',
meta: {
profile: ['https://medplum.com/profiles/example-fsh-profiles/StructureDefinition/my-patient']
},
to create patient resource I am getting this error
"Failed to create patient: Error: No snapshot defined for StructureDefinition 'MyPatient'". I also tried to use this jar https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar to generate snapshots. What's the proper way of creating a profile that I can use to validate my patients?lazybaer
12/01/2025, 3:47 PMnathan-watkins-unityai
12/01/2025, 4:23 PM--snapshot to the sushi command https://fshschool.org/docs/sushi/running/#--snapshotlazybaer
12/01/2025, 5:18 PMArek
12/02/2025, 3:17 AMnathan-watkins-unityai
12/02/2025, 3:39 PM