Package org.hl7.fhir.dstu2.utils
Class NarrativeGenerator
java.lang.Object
org.hl7.fhir.dstu2.utils.NarrativeGenerator
- All Implemented Interfaces:
INarrativeGenerator
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdisplayContactPoint(ContactPoint contact)static StringdisplayHumanName(HumanName name)static StringdisplayPeriod(Period p)voidgenerate(ConceptMap cm)voidgenerate(Conformance conf)voidvoidgenerate(OperationDefinition opd)voidgenerate(OperationOutcome op)This generate is optimised for the build tool in that it tracks the source extension.voidThis generate is optimised for the FHIR build process itself in as much as it generates hyperlinks in the narrative that are only going to be correct for the purposes of the build.voidorg.hl7.fhir.utilities.xhtml.XhtmlNodegenerateDocumentNarrative(Bundle feed)getNarrative(Element er)booleanisPretty()voidsetPretty(boolean pretty)setTooCostlyNote(String tooCostlyNote)
-
Constructor Details
-
NarrativeGenerator
-
-
Method Details
-
getTooCostlyNote
-
setTooCostlyNote
-
generate
public void generate(DomainResource r) throws EOperationOutcome, org.hl7.fhir.exceptions.FHIRException, IOException- Throws:
EOperationOutcomeorg.hl7.fhir.exceptions.FHIRExceptionIOException
-
generate
- Throws:
IOException
-
displayPeriod
-
displayHumanName
-
displayContactPoint
-
generate
-
getNarrative
-
generate
This generate is optimised for the FHIR build process itself in as much as it generates hyperlinks in the narrative that are only going to be correct for the purposes of the build. This is to be reviewed in the future.- Parameters:
vs-codeSystems-- Throws:
Exception
-
generate
-
generate
This generate is optimised for the build tool in that it tracks the source extension. But it can be used for any other use.- Parameters:
vs-codeSystems-- Throws:
org.hl7.fhir.exceptions.DefinitionExceptionException
-
generate
public void generate(OperationDefinition opd) throws EOperationOutcome, org.hl7.fhir.exceptions.FHIRException, IOException- Throws:
EOperationOutcomeorg.hl7.fhir.exceptions.FHIRExceptionIOException
-
generate
-
generateDocumentNarrative
-
isPretty
-
setPretty
-