Skip to content

Commit

Permalink
Changed .map to .fml to avoid warnings in IG publisher output.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeaduncan committed Sep 29, 2023
1 parent 108e10d commit ec0b548
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions tools/maps.http
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ PUT {{host}}/StructureMap/IMMZ-C-QRToLM HTTP/1.1
Accept: application/fhir+json;fhirVersion=4.0
Content-Type: text/fhir-mapping

< ../input/maps/IMMZ-C-QRToLM.map
< ../input/maps/IMMZ-C-QRToLM.fml

### Test Transform of QR to LM
### after running sushi
POST {{host}}/StructureMap/$transform?source=http://fhir.org/guides/who/smart-immunization/StructureMap/IMMZCQRToLM
Accept: application/fhir+json;fhirVersion=4.0
Content-Type: application/fhir+json;fhirVersion=4.0

< ../fsh-generated/resources/QuestionnaireResponse-Example.IMMZ.C.QuestionnaireResponse.1.json
< ../output/QuestionnaireResponse-Example.IMMZ.C.QuestionnaireResponse.1.json

### POST Logical Model
PUT {{host}}/StructureDefinition/IMMZCRegisterClient HTTP/1.1
Accept: application/fhir+json;fhirVersion=4.0
Content-Type: application/fhir+json;fhirVersion=4.0

< ../fsh-generated/resources/StructureDefinition-IMMZCRegisterClient.json
< ../output/StructureDefinition-IMMZCRegisterClient.json

### Get structure def
GET {{host}}/StructureDefinition/IMMZCRegisterClient HTTP/1.1
Expand All @@ -31,14 +31,14 @@ PUT {{host}}/ConceptMap/IMMZ.C.SexToAdministrativeGender HTTP/1.1
Accept: application/fhir+json;fhirVersion=4.0
Content-Type: application/fhir+json;fhirVersion=4.0

< ../fsh-generated/resources/ConceptMap-IMMZ.C.SexToAdministrativeGender.json
< ../output/ConceptMap-IMMZ.C.SexToAdministrativeGender.json

### Post the StructureMap with transform included
PUT {{host}}/StructureMap/IMMZ-C-LMToPatient HTTP/1.1
Accept: application/fhir+json;fhirVersion=4.0
Content-Type: text/fhir-mapping

< ../input/maps/IMMZ-C-LMToPatient.map
< ../input/maps/IMMZ-C-LMToPatient.fml

### Test Transform of LM to Patient
POST {{host}}/StructureMap/$transform?source=http://fhir.org/guides/who/smart-immunization/StructureMap/IMMZCLMToPatient
Expand All @@ -52,7 +52,7 @@ PUT {{host}}/StructureMap/IMMZ-C-QRToPatient HTTP/1.1
Accept: application/fhir+json;fhirVersion=4.0
Content-Type: text/fhir-mapping

< ../input/maps/IMMZ-C-QRToPatient.map
< ../input/maps/IMMZ-C-QRToPatient.fml

### Test Transform of QR to Patient
### after running sushi
Expand Down

0 comments on commit ec0b548

Please sign in to comment.