diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_40_50.java index b9f5a75b4..b834ab658 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_40_50.java @@ -11,14 +11,21 @@ import org.hl7.fhir.exceptions.FHIRException; public class BaseAdvisor_40_50 extends BaseAdvisor50 { private static final List TestScriptIgnoredUrls = Arrays.asList("http://hl7.org/fhir/5.0/StructureDefinition/extension-TestScript.scope"); + private boolean produceIllegalParameters = false; public BaseAdvisor_40_50() { + } public BaseAdvisor_40_50(Boolean failFast) { this.failFast = failFast; } - + + public BaseAdvisor_40_50(Boolean failFast, Boolean produceIllegalParameters) { + this.failFast = failFast; + this.produceIllegalParameters = produceIllegalParameters; + } + @Override public boolean ignoreExtension(@Nonnull String path, @@ -30,4 +37,7 @@ public class BaseAdvisor_40_50 extends BaseAdvisor50

Generated Narrative: ImplementationGuide

Resource ImplementationGuide "example"

url: http://hl7.org/fhir/us/daf

version: 0

name: Data Access Framework (DAF)

status: draft

experimental: false

date: 2015-01-01

publisher: ONC / HL7 Joint project

contact: ONC: http://www.healthit.gov, HL7: http://hl7.org/fhir

description: The Data Access Framework (DAF) Initiative leverages the HL7 FHIR standards to standardize access to Meaningful Use Stage 2 structured information both within the organization and from external organizations

jurisdiction: United States of America (unknown#US)

copyright: Published by ONC under the standard FHIR license (CC0)

packageId: hl7.fhir.us.daf

license: CC0-1.0

fhirVersion: 5.0.0

DependsOns

-Uri
*http://hl7.org/fhir/ImplementationGuide/uscore

Globals

-TypeProfile
*Patienthttp://hl7.org/fhir/us/core/StructureDefinition/patient

definition

Groupings

-NameDescription
*testBase package (not broken up into multiple packages)

Resources

-ReferenceNameDescriptionProfile
*Patient/testTest ExampleA test example to show how an implementation guide workshttp://hl7.org/fhir/us/core/StructureDefinition/patient

page

name: patient-example.html

title: Example Patient Page

generation: html

Pages

-NameTitleGeneration
*list.htmlValue Set Pagehtml

Parameters

-CodeValue
*Apply Metadata Value (Details: http://hl7.org/fhir/guide-parameter-code code apply = 'Apply Metadata Value', stated as 'null')version

manifest

rendering: http://hl7.org/fhir/us/daf

Resources

-ReferenceProfileRelativePath
*Patient/testhttp://hl7.org/fhir/us/core/StructureDefinition/patientpatient-test.html#patient-test

Pages

-NameTitleAnchor
*patient-test.htmlTest Patient Examplepatient-test, tx, uml

image: fhir.png

other: fhir.css

" + }, + "url": "http://hl7.org/fhir/us/daf", + "version": "0", + "name": "Data Access Framework (DAF)", + "status": "draft", + "experimental": false, + "date": "2015-01-01", + "publisher": "ONC / HL7 Joint project", + "contact": [ + { + "name": "ONC", + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + }, + { + "name": "HL7", + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The Data Access Framework (DAF) Initiative leverages the HL7 FHIR standards to standardize access to Meaningful Use Stage 2 structured information both within the organization and from external organizations", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Published by ONC under the standard FHIR license (CC0)", + "packageId": "hl7.fhir.us.daf", + "license": "CC0-1.0", + "fhirVersion": [ + "5.0.0" + ], + "dependsOn": [ + { + "uri": "http://hl7.org/fhir/ImplementationGuide/uscore" + } + ], + "global": [ + { + "type": "Patient", + "profile": "http://hl7.org/fhir/us/core/StructureDefinition/patient" + } + ], + "definition": { + "grouping": [ + { + "name": "test", + "description": "Base package (not broken up into multiple packages)" + } + ], + "resource": [ + { + "reference": { + "reference": "Patient/test" + }, + "name": "Test Example", + "description": "A test example to show how an implementation guide works", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/patient" + ] + } + ], + "page": { + "name": "patient-example.html", + "title": "Example Patient Page", + "generation": "html", + "page": [ + { + "name": "list.html", + "title": "Value Set Page", + "generation": "html" + } + ] + }, + "parameter": [ + { + "code": { + "system": "http://hl7.org/fhir/guide-parameter-code", + "code": "apply" + }, + "value": "version" + }, + { + "code" : { + "system": "http://hl7.org/fhir/guide-parameter-code", + "code": "copyrightyear" + }, + "value": "2020+" + } + ] + }, + "manifest": { + "rendering": "http://hl7.org/fhir/us/daf", + "resource": [ + { + "reference": { + "reference": "Patient/test" + }, + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/patient" + ], + "relativePath": "patient-test.html#patient-test" + } + ], + "page": [ + { + "name": "patient-test.html", + "title": "Test Patient Example", + "anchor": [ + "patient-test", + "tx", + "uml" + ] + } + ], + "image": [ + "fhir.png" + ], + "other": [ + "fhir.css" + ] + } +} \ No newline at end of file