Package org.hl7.fhir.dstu2.utils
Class NarrativeGenerator
java.lang.Object
org.hl7.fhir.dstu2.utils.NarrativeGenerator
- All Implemented Interfaces:
INarrativeGenerator
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
displayContactPoint
(ContactPoint contact) static String
displayHumanName
(HumanName name) static String
void
generate
(ConceptMap cm) void
generate
(Conformance conf) void
void
void
This generate is optimised for the build tool in that it tracks the source extension.void
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.void
org.hl7.fhir.utilities.xhtml.XhtmlNode
getNarrative
(Element er) boolean
isPretty()
void
setPretty
(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:
EOperationOutcome
org.hl7.fhir.exceptions.FHIRException
IOException
-
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.DefinitionException
Exception
-
generate
public void generate(OperationDefinition opd) throws EOperationOutcome, org.hl7.fhir.exceptions.FHIRException, IOException - Throws:
EOperationOutcome
org.hl7.fhir.exceptions.FHIRException
IOException
-
generate
-
generateDocumentNarrative
-
isPretty
-
setPretty
-