From what I understand the issue is with the dots in minimized predicates.
Turtle is a flavor of RDF. Among other things it uses , ; . to parse the text
It look like you parsed a json file to make it turtle.
Do you made your ontology ?
fhir:Patient.name is not valid ttl
<http://hl7.org/fhir/Patient.name> is valid
You must add more prefixes like : @prefix patient: <http://hl7.org/fhir/Patient.>.
with this patient:name is valid turtle.
This may be wrong (the prefix may not be valid ?) :
You must add more prefixes like :
@prefix patient: <http://hl7.org/fhir/Patient.>.
with thispatient:nameis valid turtle.